8,756
edits
(added query of helmets with their light radius, as of patch) |
m (join on with joinkey) |
||
Line 13: | Line 13: | ||
{{name}} helmets provide a light with radius (Tier of helmet + 1). | {{name}} helmets provide a light with radius (Tier of helmet + 1). | ||
==Light Radius For All Helmets== | ==Light Radius For All Helmets== | ||
{{#cargo_query:table=ItemsTable=IT,GeneralData=GD|join on=IT. | {{#cargo_query:table=ItemsTable=IT,GeneralData=GD|join on=IT.JoinKey=GD.JoinKey|fields=CONCAT('{{((}}favilink{{!}}', PlainName, '{{))}}')=Item, FLOOR(1 + Tier)= Light Radius|where=GD.ParentObject WITHIN 'BaseHelmet' AND GD._pageNamespace = '0'|order by = Light Radius}} | ||
If the object already has a light source, like [[miner's helmet]], the larger radius will overwrite the smaller one. In this case, the miner's helmet already provides 6 radius light so a lanterned mod will not do anything in this case. | If the object already has a light source, like [[miner's helmet]], the larger radius will overwrite the smaller one. In this case, the miner's helmet already provides 6 radius light so a lanterned mod will not do anything in this case. | ||
{{Mod Navbox}} | {{Mod Navbox}} |