Lanterned: Difference between revisions

1,176 bytes added ,  19:26, 3 May 2022
m
no edit summary
No edit summary
mNo edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Mod
{{Mod
|title     ={{qud text|&ylant&Ye&Wr&Yn&yed|notxml}}
| title             = {{qud text|&ylant&Ye&Wr&Yn&yed|notxml}}
|type       =Helmet
| type               = Helmet, Exoskeleton
|id         =ModLanterned
| id                 = ModLanterned
|rarity     =U
| rarity             = U
|mintier    =1
| tinkerable        = yes
|tinkerable =yes
| canautotinker      = no
|tinkertier =2
| tinkertier         = 2
|value     =1.2
| complexity        = 1
|desc       =&CLanterned: This item provides light.
| value             = 1.2
| powerloadsensitive = no
| empsensitive      = no
| realitydistortion  = no
| desc               = &CLanterned: This item provides light.
| restriction        = Must not already be a light source
}}
}}
{{name}} helmets provide a light with radius (Tier of helmet + 1).
{{name|caps}} helmets and exoskeletons provide a [[light source]] with radius equal to the tier of the item + 1.{{Code Reference|class=ModLanterned|name=ModLanterned}}
 
This mod can be applied only to items which do not already act as a light source. For example, the {{favilink|miner's helmet}} cannot be lanterned.<ref name="ModLanterned" />
 
== Eligible Equipment ==
{{#cargo_query:
  | tables = Modability=M,GeneralData=GD,ItemsTable=IT,PhysicalProperties=PP
  | join on = M.JoinKey=GD.JoinKey,M.JoinKey=IT.JoinKey,M.JoinKey=PP.JoinKey
  | fields = CONCAT('{{(}}favilink id{{!}}', M.ObjectID, '{{!}}prefix:&ylant&Ye&Wr&Yn&yed{{)}}') = Item,
            GD.Tier,
            CONCAT('{{(}}qud text{{!}}&W', FLOOR(1 + Tier), '{{)}}') = Light Radius
  | where = PP.LightRadius IS NULL AND (M.SupportedMods HOLDS 'HelmetMods' OR M.SupportedMods HOLDS 'ExoskeletonMods')
  | order by = GD.Tier DESC, GD.PlainName
  | format = table
}}
 
{{references|2.0.201.114}}
{{Mod Navbox}}
2,158

edits