Prototype/NightVisionEquipment: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
(0.18.12: color_lookup)
Line 9: Line 9:
{{Prototype property|energy_input|[[Types/Energy|Energy]]}}
{{Prototype property|energy_input|[[Types/Energy|Energy]]}}


{{Prototype property|tint|[[Types/Color|Color]]}}
{{Prototype property|color_lookup|[[Types/table|table]] (array)}}


{{Prototype property|desaturation_params|[[Types/EffectParams|EffectParams]]}}
First array member must be a [[Types/double|double]], second array member must be a [[Types/FileName|FileName]] or "identity". The file pointed to by the filename must be a sprite of size 16x16.


{{Prototype property|light_params|[[Types/EffectParams|EffectParams]]}}
== Optional properties ==
== Optional properties ==


{{Prototype property|darkness_to_turn_on|[[Types/float|float]]|0.5|optional=true}}
{{Prototype property|darkness_to_turn_on|[[Types/float|float]]|0.5|optional=true}}
Must be >= 0 and <= 1.
Must be >= 0 and <= 1.

Revision as of 15:51, 11 March 2020

Template:Prototype parent Used by nightvision.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/Equipment.

Template:Prototype property

Template:Prototype property

First array member must be a double, second array member must be a FileName or "identity". The file pointed to by the filename must be a sprite of size 16x16.

Optional properties

Template:Prototype property Must be >= 0 and <= 1.