Difference between revisions of "Template:Game Object Data"

From Space Engineers Wiki
Jump to: navigation, search
m (Added icon)
m (Property links)
Line 1: Line 1:
 
{{Under Construction}}
 
{{Under Construction}}
 
Template for displaying raw CubeBlock data as defined in the ''CubeBlocks_*.sbc'' files.
 
Template for displaying raw CubeBlock data as defined in the ''CubeBlocks_*.sbc'' files.
<onlyinclude>
+
 
{| class="wikitable"
+
<onlyinclude>{| class="wikitable"
 
|-
 
|-
 
! Property !! Value !! Note
 
! Property !! Value !! Note
 
|-
 
|-
| TypeId || [[TypeId::{{{TypeId}}}]]
+
| [[Property:TypeId|TypeId]]
 +
| [[TypeId::{{{TypeId}}}]]
 
|-
 
|-
| SubtypeId || [[SubtypeId::{{{SubtypeId}}}]]
+
| [[Property:SubtypeId|SubtypeId]]
 +
| [[SubtypeId::{{{SubtypeId}}}]]
 
|-
 
|-
| Icon || [[Icon::{{{Icon}}}]] {{Icon|{{{Icon|No Image}}}}} || Upload "&lt;BlockName&gt; Icon.png" if missing
+
| [[Property:Icon|Icon]]
 +
| [[Icon::{{{Icon}}}]] {{Icon|{{{Icon|No Image}}}}}
 +
| Upload "&lt;BlockName&gt; Icon.png" if missing
 
|-
 
|-
| CubeSize || [[CubeSize::{{{CubeSize}}}]] || Large or Small
+
| [[Property:CubeSize|CubeSize]]
 +
| [[CubeSize::{{{CubeSize}}}]]
 +
| Large or Small
 
|-
 
|-
| Size || [[Size::{{{Size}}}]] || X,Y,Z {{{CubeSize}}} blocks
+
| [[Property:Size|Size]]
 +
| [[Size::{{{Size}}}]]
 +
| X,Y,Z {{{CubeSize}}} blocks
 
|-
 
|-
| ''Volume'' || ''[[Volume::{{#expr:
+
| [[Property:Volume|''Volume'']]
 +
| ''[[Volume::{{#expr:
 
  {{#explode:{{{Size|0,0,0}}}|,|0}} *
 
  {{#explode:{{{Size|0,0,0}}}|,|0}} *
 
  {{#explode:{{{Size|0,0,0}}}|,|1}} *
 
  {{#explode:{{{Size|0,0,0}}}|,|1}} *
 
  {{#explode:{{{Size|0,0,0}}}|,|2}} *
 
  {{#explode:{{{Size|0,0,0}}}|,|2}} *
 
  {{#ifeq: {{{CubeSize|}}} | Large | 15.625 | 0.125}}
 
  {{#ifeq: {{{CubeSize|}}} | Large | 15.625 | 0.125}}
}}]]'' || m<sup>3</sup>, computed.
+
}}]]''
 +
| m<sup>3</sup>, computed.
 
|-
 
|-
 
| Components
 
| Components
Line 48: Line 58:
 
| Order is reversed in the source files
 
| Order is reversed in the source files
 
|-
 
|-
| CriticalComponent || [[CriticalComponent::{{{CriticalComponent}}}]] || Listed as ''Subtype'', match with its index in ''Components''.<br> Block is not functional until this component is added.
+
| [[Property:CriticalComponent|CriticalComponent]]
 +
| [[CriticalComponent::{{{CriticalComponent}}}]]
 +
| Listed as ''Subtype'', match with its index in ''Components''.<br> Block is not functional until this component is added.
 
|-
 
|-
| ResourceSourceGroup || [[ResourceSourceGroup::{{{ResourceSourceGroup|}}}]]  
+
| [[Property:ResourceSourceGroup|ResourceSourceGroup]]
 +
| [[ResourceSourceGroup::{{{ResourceSourceGroup|}}}]]  
 
|-
 
|-
| ResourceSinkGroup || [[ResourceSinkGroup::{{{ResourceSinkGroup|}}}]] || Determines priority when there's insufficient power.
+
| [[Property:ResourceSinkGroup|ResourceSinkGroup]]
 +
| [[ResourceSinkGroup::{{{ResourceSinkGroup|}}}]]
 +
| Determines priority when there's insufficient power.
 
|-
 
|-
| OperationalPowerConsumption || [[OperationalPowerConsumption::{{{OperationalPowerConsumption|}}}]] || MW
+
| [[Property:OperationalPowerConsumption|OperationalPowerConsumption]]
 +
| [[OperationalPowerConsumption::{{{OperationalPowerConsumption|}}}]]
 +
| MW
 
|-
 
|-
| StandbyPowerConsumption || [[StandbyPowerConsumption::{{{StandbyPowerConsumption|}}}]] || MW
+
| [[Property:StandbyPowerConsumption|StandbyPowerConsumption]]
 +
| [[StandbyPowerConsumption::{{{StandbyPowerConsumption|}}}]]
 +
| MW
 
|-
 
|-
| Capacity || [[Capacity::{{{Capacity|}}}]] || Litres of gas
+
| [[Property:Capacity|Capacity]]
 +
| [[Capacity::{{{Capacity|}}}]]
 +
| Litres of gas
 
|-
 
|-
| InventoryMaxVolume || [[InventoryMaxVolume::{{{InventoryMaxVolume|}}}]] || m<sup>3</sup>, overrides ''InventorySize''
+
| [[Property:InventoryMaxVolume|InventoryMaxVolume]]
 +
| [[InventoryMaxVolume::{{{InventoryMaxVolume|}}}]]
 +
| m<sup>3</sup>, overrides ''InventorySize''
 
|-
 
|-
| InventorySize || {{#set:InventorySize=InventorySize|}} {{#explode:{{{InventorySize}}}|,|0}}&times;{{#explode:{{{InventorySize}}}|,|1}}&times;{{#explode:{{{InventorySize}}}|,|2}} || meters, determines inventory volume
+
| [[Property:InventorySize|InventorySize]]
 +
| [[InventorySize::{{{InventorySize|}}}]]
 +
| Meters, determines inventory volume
 
|-
 
|-
| ''InventoryVolume'' || ''[[InventoryVolume::{{#if: {{{InventoryMaxVolume|}}} | {{{InventoryMaxVolume}}} | {{#expr:
+
| [[Property:InventoryVolume|''InventoryVolume'']]
 +
| ''[[InventoryVolume::{{#if: {{{InventoryMaxVolume|}}} | {{{InventoryMaxVolume}}} | {{#expr:
 
  {{#explode:{{{InventorySize|0,0,0}}}|,|0}} *
 
  {{#explode:{{{InventorySize|0,0,0}}}|,|0}} *
 
  {{#explode:{{{InventorySize|0,0,0}}}|,|1}} *
 
  {{#explode:{{{InventorySize|0,0,0}}}|,|1}} *
 
  {{#explode:{{{InventorySize|0,0,0}}}|,|2}}
 
  {{#explode:{{{InventorySize|0,0,0}}}|,|2}}
}}}}]]'' || m<sup>3</sup>, computed. Inventory volume at realistic (x1) setting.
+
}}}}]]''
 +
| m<sup>3</sup>, computed. Inventory volume at realistic (x1) setting.
 
|-
 
|-
| StoredGas || [[StoredGas::{{{StoredGas|}}}]] || Hydrogen or Oxygen
+
| [[Property:StoredGas|StoredGas]]
 +
| [[StoredGas::{{{StoredGas|}}}]]
 +
| Hydrogen or Oxygen
 
|-
 
|-
| BlueprintClasses || [[BlueprintClasses::{{{BlueprintClasses|}}}]] || Limits inventory items to these types.
+
| [[Property:BlueprintClasses|BlueprintClasses]]
 +
| [[BlueprintClasses::{{{BlueprintClasses|}}}]]
 +
| Limits inventory items to these types.
 
|-
 
|-
| BuildTimeSeconds || [[BuildTimeSeconds::{{{BuildTimeSeconds|}}}]]
+
| [[Property:BuildTimeSeconds|BuildTimeSeconds]]
 +
| [[BuildTimeSeconds::{{{BuildTimeSeconds|}}}]]
 
|-
 
|-
| PCU || [[PCU::{{{PCU|}}}]] || PCU Cost
+
| [[Property:PCU|PCU]]
 +
| [[PCU::{{{PCU|}}}]]
 +
| PCU Cost
 
|}</onlyinclude>
 
|}</onlyinclude>

Revision as of 16:06, 29 March 2020

🚧🚧🚧 Under Construction 🚧🚧🚧
Attention - This page is currently being actively worked on, and may contain incomplete information

Template for displaying raw CubeBlock data as defined in the CubeBlocks_*.sbc files.

Property Value Note
TypeId {{{TypeId}}}
SubtypeId {{{SubtypeId}}}
Icon {{{Icon}}} No Image Icon.png Upload "<BlockName> Icon.png" if missing
CubeSize Large or Small
Size {{{Size}}} X,Y,Z {{{CubeSize}}} blocks
Volume 0
0 m³
0 L
0 Large-Blocks
0 Small-Blocks
0 hL
m3, computed.
Components
ComponentN ComponentNAmount
{{{Component1}}} {{{Component1Amount}}}
Order is reversed in the source files
CriticalComponent {{{CriticalComponent}}} Listed as Subtype, match with its index in Components.
Block is not functional until this component is added.
ResourceSourceGroup
ResourceSinkGroup Determines priority when there's insufficient power.
OperationalPowerConsumption MW
StandbyPowerConsumption MW
Capacity Litres of gas
InventoryMaxVolume m3, overrides InventorySize
InventorySize Meters, determines inventory volume
InventoryVolume 0
0 m³
0 hL
0 L
m3, computed. Inventory volume at realistic (x1) setting.
StoredGas Hydrogen or Oxygen
BlueprintClasses Limits inventory items to these types.
BuildTimeSeconds
PCU PCU Cost