Actions

Difference between revisions of "Kit (Lights)"

From Unofficial Stationeers Wiki

m (Change link to Data Network Colors)
m (LED: fixed data type of PrefabHash Diode Slide: fixed data type of PrefabHash)
 
(16 intermediate revisions by 9 users not shown)
Line 10: Line 10:
 
}}
 
}}
 
{{Structurebox
 
{{Structurebox
  | name = Wall Light
+
  | name             = Wall Lights
  | image     = [[File:{{#setmainimage:ItemWallLight.png}}]]
+
  | prefab_hash     = See table in description
  | placement  = Small Grid, On Frames
+
| power_usage      = 50W
  | powerusage = 50W
+
| placed_with_item = [[Kit (Lights)]]
 +
  | placed_on_grid  = Small Grid, On Frames
 +
  | decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Lights)]]
 
}}
 
}}
 
{{Structurebox
 
{{Structurebox
  | name       = LED
+
  | name             = LED
  | image       = [[File:{{#setmainimage:ItemLED.png}}]]
+
  | image           = [[File:LED.png]]
  | placement  = Small Grid, On Frames
+
| prefab_hash      = 1944485013
  | powerusage = 25W
+
| power_usage      = 25W
 +
| placed_with_item = [[Kit (Lights)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
| decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Lights)]]
 +
}}
 +
{{Structurebox
 +
| name            = Diode Slide
 +
| prefab_hash      = 576516101
 +
| power_usage      = 25W
 +
| placed_with_item = [[Kit (Lights)]]
 +
  | placed_on_grid  = Small Grid, On Frames
 +
  | decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Lights)]]
 
}}
 
}}
 
__TOC__
 
__TOC__
== Description == <!--T:1-->
 
Light kits are used for illuminating your base. The LED variant consumes half the power of the default larger wall light.
 
  
== Colors ==
+
= <big>Description</big> = <!--T:1-->
When installed as an LED, the light's color can be changed. For available colors, see [[Logic_Colors|Data Network Colors]].
+
Light kits are used for illuminating your base. The LED variant consumes half the power of the default larger wall light though is not as bright. It's color can also be changed with logic, making for a great status indicator within logic circuits.
 +
 
 +
= <big>Wall Light</big> (Regular, Long, Long Wide, Long Angled, Battery, Round, Round Angled, Small Round) =
 +
= PrefabHash Values =
 +
{| class="wikitable"
 +
|-
 +
! Light Type !! PrefabHash
 +
|-
 +
| Regular || -1860064656
 +
|-
 +
| Long || 797794350
 +
|-
 +
| Long Wide || 555215790
 +
|-
 +
| Long Angled || 1847265835
 +
|-
 +
| Battery Powered || -1306415132
 +
|-
 +
| Round || 1514476632
 +
|-
 +
| Round Angled || 1592905386
 +
|-
 +
| Small Round || 1436121888
 +
|}
 +
 
 +
{{Data Network Header}}
 +
{{Data Parameters}}
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| On || Boolean || Turns the Light on, when set to 1. Turns it off, when set to 0.
 +
|-
 +
| Lock || Boolean || Locks the Light when set to 1. Unlocks it, when set to 0. When locked, Light cannot be turned on\off by player.
 +
|}
 +
 
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| On || Boolean || Returns whether the Light is turned on. (0 for no, 1 for yes)
 +
|-
 +
| Lock || Boolean || Returns whether the Light is locked. (0 for no, 1 for yes)
 +
|-
 +
| RequiredPower || Integer || Returns the current amount of power required by the Light, in watts.
 +
|-
 +
| PrefabHash || Integer || Returns the Hash value for the selected light type. (See info panels on the right)
 +
|-
 +
| Power || Boolean || Returns whether the Light is turned on and receives power. (0 for no, 1 for yes)
 +
|}
 +
 
 +
= <big>LED</big> =
 +
{{Data Network Header}}
 +
{{Data Parameters}}
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| On || Boolean || Turns the Light on, when set to 1. Turns it off, when set to 0.
 +
|-
 +
| Lock || Boolean || Locks the Light when set to 1. Unlocks it, when set to 0. When locked, Light cannot be turned on\off by player.
 +
|-
 +
| Color || Integer || Sets the color of the LED Light. (See [[Data Network Colors]])
 +
|}
 +
 
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| On || Boolean || Returns whether the Light is turned on. (0 for no, 1 for yes)
 +
|-
 +
| Lock || Boolean || Returns whether the Light is locked. (0 for no, 1 for yes)
 +
|-
 +
| Color || Integer || Returns the color setting of the LED Light. (See [[Data Network Colors]])
 +
|-
 +
| RequiredPower || Integer || Returns the current amount of power required by the Light, in watts.
 +
|-
 +
| PrefabHash || Integer ||
 +
|-
 +
| Power || Boolean || Returns whether the Light is turned on and receives power. (0 for no, 1 for yes)
 +
|}
 +
 
 +
= <big>Diode Slide</big> =
 +
{{Data Network Header}}
 +
{{Data Parameters}}
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| On || Boolean || Turns the Diode Slide on, when set to 1. Turns it off, when set to 0.
 +
|-
 +
| Lock || Boolean || Locks the Diode Slide when set to 1. Unlocks it, when set to 0. When locked, Light cannot be turned on\off by player.
 +
|-
 +
| Setting || Boolean || Sets the color of the Diode Slide. (0 - red, 1 - green)
 +
|}
 +
 
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| On || Boolean || Returns whether the Diode Slide is turned on. (0 for no, 1 for yes)
 +
|-
 +
| Lock || Boolean || Returns whether the Diode Slide is locked. (0 for no, 1 for yes)
 +
|-
 +
| Setting || Boolean || Returns the "Setting" value of the Diode Slide.
 +
|-
 +
| RequiredPower || Integer || Returns the current amount of power required by the Diode Slide , in watts.
 +
|-
 +
| PrefabHash || Integer ||
 +
|-
 +
| Power || Boolean || Returns whether the Diode Slide is turned on and receives power. (0 for no, 1 for yes)
 +
|}
  
== Known Bugs ==
+
= Builds =
Prior to version 0.1.1082.5494, white LEDs may turn blue on server restart -- presumably related to blue being the first (0-indexed) color. One workaround is to set them to gray, which seems to prevent the issue while keeping the appearance of white lights. Alternatively, an always-on batch writer will override them from defaulting to blue.
 
  
 +
* [[Auto Night Lights]]
  
 
</translate>
 
</translate>

Latest revision as of 06:54, 10 December 2023


Kit (Lights)
ItemWallLight.png
Constructing Options Wall Light, LED
Properties
Stacks Yes
Recipe
Created With Autolathe, Electronics Printer, Fabricator
Cost 1g Iron, 2g Copper, 1g Silicon* *autolathe only
Wall Lights
Operation
Power Usage 50W
Prefab Hash See table in description
Construction
Placed with Kit (Lights)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Lights)
LED
LED.png
Operation
Power Usage 25W
Prefab Hash 1944485013
Construction
Placed with Kit (Lights)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Lights)
Diode Slide
Operation
Power Usage 25W
Prefab Hash 576516101
Construction
Placed with Kit (Lights)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Lights)

Description[edit]

Light kits are used for illuminating your base. The LED variant consumes half the power of the default larger wall light though is not as bright. It's color can also be changed with logic, making for a great status indicator within logic circuits.

Wall Light (Regular, Long, Long Wide, Long Angled, Battery, Round, Round Angled, Small Round)[edit]

PrefabHash Values[edit]

Light Type PrefabHash
Regular -1860064656
Long 797794350
Long Wide 555215790
Long Angled 1847265835
Battery Powered -1306415132
Round 1514476632
Round Angled 1592905386
Small Round 1436121888

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


Parameter Name Data Type Description
On Boolean Turns the Light on, when set to 1. Turns it off, when set to 0.
Lock Boolean Locks the Light when set to 1. Unlocks it, when set to 0. When locked, Light cannot be turned on\off by player.

Data Outputs[edit]

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
On Boolean Returns whether the Light is turned on. (0 for no, 1 for yes)
Lock Boolean Returns whether the Light is locked. (0 for no, 1 for yes)
RequiredPower Integer Returns the current amount of power required by the Light, in watts.
PrefabHash Integer Returns the Hash value for the selected light type. (See info panels on the right)
Power Boolean Returns whether the Light is turned on and receives power. (0 for no, 1 for yes)

LED[edit]

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


Parameter Name Data Type Description
On Boolean Turns the Light on, when set to 1. Turns it off, when set to 0.
Lock Boolean Locks the Light when set to 1. Unlocks it, when set to 0. When locked, Light cannot be turned on\off by player.
Color Integer Sets the color of the LED Light. (See Data Network Colors)

Data Outputs[edit]

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
On Boolean Returns whether the Light is turned on. (0 for no, 1 for yes)
Lock Boolean Returns whether the Light is locked. (0 for no, 1 for yes)
Color Integer Returns the color setting of the LED Light. (See Data Network Colors)
RequiredPower Integer Returns the current amount of power required by the Light, in watts.
PrefabHash Integer
Power Boolean Returns whether the Light is turned on and receives power. (0 for no, 1 for yes)

Diode Slide[edit]

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


Parameter Name Data Type Description
On Boolean Turns the Diode Slide on, when set to 1. Turns it off, when set to 0.
Lock Boolean Locks the Diode Slide when set to 1. Unlocks it, when set to 0. When locked, Light cannot be turned on\off by player.
Setting Boolean Sets the color of the Diode Slide. (0 - red, 1 - green)

Data Outputs[edit]

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
On Boolean Returns whether the Diode Slide is turned on. (0 for no, 1 for yes)
Lock Boolean Returns whether the Diode Slide is locked. (0 for no, 1 for yes)
Setting Boolean Returns the "Setting" value of the Diode Slide.
RequiredPower Integer Returns the current amount of power required by the Diode Slide , in watts.
PrefabHash Integer
Power Boolean Returns whether the Diode Slide is turned on and receives power. (0 for no, 1 for yes)

Builds[edit]