Actions

Editing Active Vent

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 4: Line 4:
 
[[Category:Atmospherics]]
 
[[Category:Atmospherics]]
 
{{Itembox
 
{{Itembox
| name = Kit (Active Vent)
+
| name       = Kit (Active Vent)
| image = [[File:ItemActiveVent.png]]
+
| image       = [[File:ItemActiveVent.png]]
| prefabhash = -842048328
+
| createdwith = [[Hydraulic Pipe Bender]]
| prefabname = ItemActiveVent
+
| cost        = {{Icon|Iron|5}}{{Icon|Copper|5}}{{Icon|Gold|1}}{{Icon|Energy|500}}
| stacks = 5
+
| stacks      = {{Icon|Active Vent|5}}
| slot_class = SlotClass.None
+
| paintable  = Yes
| sorting_class = SortingClass.Kits
+
| hashid      = -842048328
| recipe_machine1 = Hydraulic Pipe Bender
 
| recipe_cost1 = 5g [[Iron]], 1g [[Gold]], 5g [[Copper]]
 
| constructs = [[Active Vent]]
 
 
}}
 
}}
 
{{Structurebox
 
{{Structurebox
| name = Active Vent
+
| name             = Active Vent
| image = [[File:StructureActiveVent.png]]
+
| power_usage      = {{Icon|Energy|100}} (100 W)
| prefab_hash = -1129453144
+
| image           = [[File:StructureActiveVent.png]]
| prefab_name = StructureActiveVent
+
| paintable        = Yes
| power_usage = 100W
+
| placed_with_item = [[Kit (Active Vent)]]
| placed_on_grid = Small Grid
+
| placed_on_grid   = Small Grid
| decon_with_tool1 = [[Hand Drill]]
+
| decon_with_tool1 = [[Hand Drill]]
| placed_with_item = [[Kit (Active Vent)]]
+
| item_rec1       = [[Kit (Active Vent)]]
| item_rec1 = [[Kit (Active Vent)]]
 
 
}}
 
}}
  
Line 86: Line 82:
 
  | 1 || "Inward" mode (Moves gas from the surrounding atmosphere to the connected pipe network.)
 
  | 1 || "Inward" mode (Moves gas from the surrounding atmosphere to the connected pipe network.)
 
  |}
 
  |}
{{Data Parameters|
+
 
{{Data Parameters/row|Power|Boolean|w=0|Can be read to return if the device is correctly powered or not, set via the power system, return 1 if powered and 0 if not|multiple=2|0|Off|1|On}}
+
{{Data Parameters}}
{{Data Parameters/row|Open|Integer|1 if device is open, otherwise 0}}
+
{| class="wikitable"
{{Data Parameters/row|Mode|Integer|The mode of the Active Vent.|multiple=2|0|Outward|1|Inward}}
+
|-
{{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|PressureExternal|Float|<div>"Outward" mode: Maximum pressure of the surrounding atmosphere. The default value is 101.325 (kPa)<br>
+
|-
"Inward" mode": Minimum pressure of the surrounding atmosphere. The default value is 0 (kPa)</div>}}
+
| Open            || Boolean  || Does not function.
{{Data Parameters/row|PressureInternal|Float|<div>"Outward" mode: Minimum pipe network pressure. The default value is 0 (kPa).<br>
+
|-
"Inward" mode: Maximum pipe network pressure. The default value is 50662.5 (kPa).</div>}}
+
| Mode             || Integer   || Set the Active Vent mode. (See [[#Mode_Values|Mode Values]])
{{Data Parameters/row|Lock|Boolean|Disable manual operation of the Active Vent.|multiple=2|0|Unlocked|1|Locked}}
+
|-
{{Data Parameters/row|Setting|Integer|A variable setting that can be read or written.}}
+
| PressureExternal || Float     || "Outward" mode: Maximum pressure of the surrounding atmosphere. The default value is 101.325 (kPa).<br>"Inward" mode: Minimum pressure of the surrounding atmosphere. The default value is 0 (kPa).
{{Data Parameters/row|Maximum|Integer|w=0|Maximum setting of the device}}
+
|-
{{Data Parameters/row|Ratio|Float|w=0|Context specific value depending on device, 0 to 1 based ratio|0.0 to 1.0}}
+
| PressureInternal || Float     || "Outward" mode: Minimum pipe network pressure. The default value is 0 (kPa).<br>"Inward" mode: Maximum pipe network pressure. The default value is 50662.5 (kPa).
{{Data Parameters/row|On|Boolean|The current state of the Active Vent.|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   || Lock the Active Vent when set to 1. Manual operation is not possible while locked.
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
+
|-
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
+
| Setting         || Float    || Does not function.
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer.}}
+
|-
}}
+
| On               || Boolean   || Turn on the Active Vent when set to 1.
 +
|}
  
 
'''Note''': The value of "PressureExternal" and "PressureInternal" will be reset to the default when changing modes.
 
'''Note''': The value of "PressureExternal" and "PressureInternal" will be reset to the default when changing modes.
  
 
'''Note''': If turned on, the vent will still consume energy when the target pressure is reached.
 
'''Note''': If turned on, the vent will still consume energy when the target pressure is reached.
 +
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name      !! Data Type !! Description
 +
|-
 +
| Power            || Boolean  || Returns whether the Active Vent is receiving power and is turned on. (0 for no, 1 for yes)
 +
|-
 +
| Open            || Boolean  || Returns whether the Active Vent is open. (0 for no, 1 for yes) (Untested)
 +
|-
 +
| Mode            || Integer  || Returns the current mode of the Active Vent. (See [[#Mode_Values|Mode Values]])
 +
|-
 +
| Error            || Boolean  || Returns whether the Active Vent is currently flashing an error. (0 for no, 1 for yes)
 +
|-
 +
| PressureExternal || Float    || Returns the desired external pressure of the Active Vent.
 +
|-
 +
| PressureInternal || Float    || Returns the desired internal pressure of the Active vent. (Untested)
 +
|-
 +
| Lock            || Boolean  || Returns whether the Active Vent is locked. (0 for no, 1 for yes)
 +
|-
 +
| Setting          || Float    || Returns a range from 0.0 to 100.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent.
 +
|-
 +
| Maximum          || Integer  || Returns 100. (Assumption) Returns the maximum throughput percentage of the Active Vent.
 +
|-
 +
| Ratio            || Float    || Returns a range from 0.0 to 1.0. (Assumption) Returns the percentage amount of pumping throughput of the Active Vent.
 +
|-
 +
| On              || Boolean  || Returns whether the Active Vent is set to on. (0 for no, 1 for yes)
 +
|-
 +
| RequiredPower    || Integer  || Returns the current amount of power needed for the Active Vent.
 +
|}
 
</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)