Actions

Editing Weather Station

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
 
<!--T:1-->
 
<!--T:1-->
 
{{Itembox
 
{{Itembox
| name = Kit (Weather Station)
+
| name       = Kit (Weather Station)
| image = [[File:ItemKitWeatherStation.png]]
+
| createdwith = [[Electronics Printer]], [[Fabricator]]
| prefabhash = 337505889
+
| cost        = 8g [[Iron]], 3g [[Gold]], 5g [[Copper]], 3g [[Steel]]
| prefabname = ItemKitWeatherStation
+
| stacks      = 1
| stacks = 1
 
| slot_class = SlotClass.None
 
| sorting_class = SortingClass.Default
 
| recipe_machine1 = Electronics Printer
 
| recipe_cost1 = 8g [[Iron]], 3g [[Gold]], 5g [[Copper]], 3g [[Steel]]
 
| constructs = [[Weather Station]]
 
 
}}
 
}}
 
{{Structurebox
 
{{Structurebox
| name = Weather Station
+
| name             = Weather Station
| image = [[File:Weather_Station.jpg]]
+
| power_usage      = 10W
| prefab_hash = 1997212478
+
| placed_with_item = [[Kit (Weather Station)]]
| prefab_name = StructureWeatherStation
+
| placed_on_grid   = Small Grid
| power_usage = 10W
+
| decon_with_tool1 = [[Hand Drill]]
| placed_on_grid = Small Grid
+
| item_rec1       = [[Kit (Weather Station)]]
| decon_with_tool1 = [[Hand Drill]]
 
| placed_with_item = [[Kit (Weather Station)]]
 
| item_rec1 = [[Kit (Weather Station)]]
 
| decon_with_tool2 = [[Angle Grinder]]
 
| const_with_tool1 = [[Welding Torch]]
 
| const_with_item1 = 3 x [[Plastic Sheets]]
 
| item_rec2 = 3 x [[Plastic Sheets]]
 
 
}}
 
}}
  
Line 36: Line 23:
  
 
It will not do anything when placed indoors, but will not flash an error, instead lighting up green in all cases.
 
It will not do anything when placed indoors, but will not flash an error, instead lighting up green in all cases.
 
Even if not powered, the small Wind turbine on its top will be able to spin. So even without power, it can warn you. (The logic output will not work if not powered!)
 
  
 
{{Data Network Header}}
 
{{Data Network Header}}
Line 54: Line 39:
 
|}
 
|}
  
{{Data Parameters|
+
{{Data Parameters}}
{{Data Parameters/row|Power|Boolean|w=0|Can be read to return if the Weather Station is correctly powered or not, set via the power system, return 1 if powered and 0 if not|multiple=2|0|Unpowered|1|Powered}}
+
{| class="wikitable"
{{Data Parameters/row|Mode|Integer|w=0|The mode of the Weather Station.|multiple=3|0|NoStorm|1|StormIncoming|2|InStorm}}
+
|-
{{Data Parameters/row|Error|Boolean|w=0|1 if device is in error state, otherwise 0|multiple=2|0|<p></p>|1|Error}}
+
! Parameter Name !! Data Type !! Description
{{Data Parameters/row|Activate|Integer|1 if device is activated (usually means running), otherwise 0}}
+
|-
{{Data Parameters/row|Lock|Boolean|Disable manual operation of the Weather Station.|multiple=2|0|Unlocked|1|Locked}}
+
| Mode || Integer || Does not function
{{Data Parameters/row|On|Boolean|The current state of the Weather Station.|multiple=2|0|Off|1|On}}
+
|-
{{Data Parameters/row|RequiredPower|Integer|w=0|Idle operating power quantity, does not necessarily include extra demand power}}
+
| Lock || Boolean || Locks the Weather Station, when set to 1. Unlocks it, when set to 0.
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
+
|-
{{Data Parameters/row|NextWeatherEventTime|Integer|w=0|Returns in seconds when the next weather event is inbound.}}
+
| Activate || Boolean || Currently unused.
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
+
|-
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer.}}
+
| On || Boolean || Turns the Weather Station on, when set to 1. Turns it off, when set to 0.
}}
+
|}
 +
 
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Power || Boolean || Returns whether the Weather Station is receiving power and is turned on. (0 for no, 1 for yes)
 +
|-
 +
| Activate || Boolean || Currently unused.
 +
|-
 +
| Mode || Integer || Returns the setting of the current mode of the Weather Station. (See [[#Mode_Values|Mode Values]])
 +
|-
 +
| NextWeatherEventTime || Float || Returns the time in seconds until a storm that is incoming starts, otherwise returns 0
 +
|-
 +
| Error || Boolean || Returns whether the Weather Station is currently flashing an error. (0 for no, 1 for yes, currently unused)
 +
|-
 +
| Lock || Boolean || Returns whether the Weather Station is locked. (0 for no, 1 for yes)
 +
|-
 +
| On || Boolean || Returns whether the Weather Station is set to on. (0 for no, 1 for yes)
 +
|-
 +
| RequiredPower || Integer || Returns the current amount of power needed for the Weather Station.
 +
|}
 
</translate>
 
</translate>

Please note that all contributions to Unofficial Stationeers Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Unofficial Stationeers Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)