8,290
edits
m (add lanterned prefix) |
(Better query now that we have Modability table) |
||
Line 13: | Line 13: | ||
|complexity = 1 | |complexity = 1 | ||
}} | }} | ||
{{name}} helmets provide a [[light source]] with radius equal to the tier of the | {{name|caps}} helmets and exoskeletons provide a [[light source]] with radius equal to the tier of the item + 1. | ||
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. | |||
==Light Radius for | ==Light Radius for Lanterned Items== | ||
The following items are eligible for the lanterned mod. | |||
{{#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 | |||
}} | |||
{{Mod Navbox}} | {{Mod Navbox}} |