Actions

Difference between revisions of "Flashing Light"

From Unofficial Stationeers Wiki

m (Change "Drill" link to "Hand Drill")
(Add logic properties)
Line 7: Line 7:
 
}}
 
}}
 
{{Structurebox
 
{{Structurebox
  | name     = Flashing Light
+
  | name       = Flashing Light
  | dectool   = [[Hand Drill]]
+
  | dectool   = [[Hand Drill]]
  | placement = Small Grid
+
  | placement = Small Grid
 +
| powerusage = 50W
 
}}
 
}}
 
== 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.
 +
 +
== Logic Properties ==
 +
These are all logic properties of this device.
 +
 +
=== Logic Parameters ===
 +
These are all parameters, that can be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! 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.
 +
|}
 +
 +
=== Logic Outputs ===
 +
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]]. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! 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>
 
</translate>

Revision as of 10:32, 7 April 2018


Flashing Light
Properties
Stacks Yes (5)
Flashing Light
Construction
Placed with {{{placed_with_item}}}
Placed on {{{placed_on_grid}}}

Description

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

Logic Properties

These are all logic properties of this device.

Logic 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.

Logic 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.