Light: Difference between revisions

From Desynced Wiki
mNo edit summary
m (Bot Change GameData for Recipe Cargo)
Line 4: Line 4:
The register takes in a value to change its color.  To set the intensity, the integer value of the value is used to determine intensity.  The default intensity is 10, and the range of possible intensity values is between 1 and 20. Behaviors can be used to set the register to make animated lights.
The register takes in a value to change its color.  To set the intensity, the integer value of the value is used to determine intensity.  The default intensity is 10, and the range of possible intensity values is between 1 and 20. Behaviors can be used to set the register to make animated lights.


{{:GameData:Recipe:{{PAGENAME}}}}
{{Recipe cargo|{{PAGENAME}}}}
{{TechUnlock|{{PAGENAME}}}}
{{TechUnlock|{{PAGENAME}}}}
{{Category
{{Category

Revision as of 20:44, 9 September 2023

Light
     
     Illuminates the immediate area. Brightness and color can be changed via a register
Lua ID c_light
Size Small


The Light is a Small Component that is decorative. It normally emits a white light at medium intensity. It has a register that allows customization of the light emitted.

The register takes in a value to change its color. To set the intensity, the integer value of the value is used to determine intensity. The default intensity is 10, and the range of possible intensity values is between 1 and 20. Behaviors can be used to set the register to make animated lights.


Recipe
Crystal Chunk Metal Bar Light
Crystal Chunk 1 Metal Bar 1 Arrow Right Light
Produced by
Assembler Time
1 seconds



Required Technology
Basic Power Basic Power



Required Technology
Basic Power Basic Power