Prototype/NightVisionEquipment

From Official Factorio Wiki
Jump to: navigation, search

Prototype definitions » PrototypeBase » Prototype/Equipment » Prototype/NightVisionEquipment


Used by nightvision.


Prototype/NightVisionEquipment — night-vision-equipment
desaturation_params::EffectParams
energy_input::Energy
light_params::EffectParams
tint::Color
darkness_to_turn_on::float (optional)
Inherited from Prototype/Equipment
categories::table of string
energy_source::EnergySource
shape::EquipmentShape
sprite::Sprite
ability_icon::Sprite (optional)
background_color::Color (optional)
take_result::string (optional)
Inherited from PrototypeBase
name::string
type::string
localised_description::LocalisedString (optional)
localised_name::LocalisedString (optional)
order::Order (optional)

Mandatory properties

This prototype inherits all the properties from Prototype/Equipment.

energy_input

Type: Energy

tint

Type: Color

desaturation_params

Type: EffectParams

light_params

Type: EffectParams

Optional properties

darkness_to_turn_on

Type: float
Default: 0.5
Must be >= 0 and <= 1.