Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Flashing Light: Difference between revisions

From Stationeers Wiki
m Change Logic to Data Network
Update to use the new Structurebox syntax
Line 7: Line 7:
}}
}}
{{Structurebox
{{Structurebox
  | name       = Flashing Light
  | name             = Flashing Light
  | dectool    = [[Hand Drill]]
  | power_usage      = 50W
  | placement  = Small Grid
| placed_with_item = [[Flashing Light (Item)]]
  | powerusage = 50W
  | placed_on_grid  = Small Grid
  | decon_with_tool1 = [[Hand Drill]]
| item_rec1        = [[Flashing Light (Item)]]
}}
}}
== Description ==
== Description ==
The '''Flashing Light''' is a light that rotates, when turned on and powered. It's default color is yellow.
The '''Flashing Light''' is a light that rotates, when turned on and powered. It's default color is yellow.

Revision as of 21:40, 6 July 2018

<languages/> <translate>

Flashing Light
Properties
Stacks Yes (5)
Flashing Light
Operation
Power Usage 50W
Construction
Placed with Flashing Light (Item)
Placed on Small Grid
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Flashing Light (Item)


Description

The Flashing Light is a light that rotates, when turned on and powered. It's default color is yellow.

Data Network Properties

These are all Data Network properties of this device.

Data Parameters

These are all parameters, that can be written to with a Logic Writer or a Batch Writer. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Lock Boolean Locks the Flashing Light, when set to 1. Unlocks it, when set to 0.
On Boolean Turns the Flashing Light on, when set to 1. Unlocks it, when set to 0.

Data Outputs

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

Output Name Data Type Description
Power Boolean Returns whether the Flashing Light is receiving power and is turned on. (0 for no, 1 for yes)
Lock Boolean Returns whether the Flashing Light is locked. (0 for no, 1 for yes)
On Boolean Returns whether the Flashing Light is turned on. (0 for no, 1 for yes)
RequiredPower Integer Returns the currently required power of the Flashing Light, in Watts.

</translate>