Difference between revisions of "Talk:Storage"

From Space Engineers Wiki
Jump to: navigation, search
m (bulletpoints)
m (category link fix)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Inventory Sizes==
 
[[User:Akuukis]]: Please help me to find those values, e.g. [http://spaceengineerswiki.com/Special:Browse/Mod:Vanilla/CubeBlock/LargeBlockDrill] doesn't have "InventoryMaxVolume". I also can't find them in source files for those blocks. TODO:
 
[[User:Akuukis]]: Please help me to find those values, e.g. [http://spaceengineerswiki.com/Special:Browse/Mod:Vanilla/CubeBlock/LargeBlockDrill] doesn't have "InventoryMaxVolume". I also can't find them in source files for those blocks. TODO:
  
Line 43: Line 44:
  
 
--[[User:Akuukis|Akuukis]] ([[User talk:Akuukis|talk]]) 19:39, 25 April 2020 (UTC)
 
--[[User:Akuukis|Akuukis]] ([[User talk:Akuukis|talk]]) 19:39, 25 April 2020 (UTC)
 +
----
 +
Took a quick look, they are indeed missing any indication of inventory size despite both the large and small cockpit having 1000L. (Which doesn't match their Size either).
 +
 +
You can go ahead and set the [[Property:InventoryVolume]] directly on those.
 +
 +
I haven't made a page for [[Property:OxygenCapacity]] yet, because it hasn't been required yet. It's unclear to me what its unit is as you can't see 60 (probably liters) listed anywhere in the game.
 +
 +
[[Template:Itemlink]] seems to be used in the "navigation bars" at the bottom of component/ore/tool pages, if you look into them you should see how to use it. It's not very flexible at the moment, as it adds a • before every item link that isn't the first, even if they're in completely separate places on a page. It does however use a <code>iconsize</code> variable, so it can be changed if you set it anywhere beforehand.
 +
 +
[[Template:Itemlink-li]] works, but adds some margin to each entry as it's used as a template in [[Block]]'s queries.
 +
 +
I'm weary of changing changing any existing templates because they can break existing pages that may be hard to find as the wiki doesn't seem to update its lists of where the templates are used. In the meantime, this is probably what you want to use:
 +
<pre>{{icon|{{#vardefineecho:BLOCK|Mod:Vanilla/CubeBlock/SmallBlockSmallContainer}}|medium}} [[{{#show:{{#var:BLOCK}}|?Main article#-}}|{{translate|{{#var:BLOCK}}}}]]</pre>
 +
{{icon|{{#vardefineecho:BLOCK|Mod:Vanilla/CubeBlock/SmallBlockSmallContainer}}|medium}} [[{{#show:{{#var:BLOCK}}|?Main article#-}}|{{translate|{{#var:BLOCK}}}}]]
 +
 +
I don't know why there's a generic [[:Category:Templates]] when [{{fullurl:Special:AllPages|namespace=10}} Special:AllPages] exists.
 +
 +
PS: Find me on Steam for faster replies.
 +
 +
--[[User:Vox Serico|Vox Serico]] ([[User talk:Vox Serico|talk]]) 20:23, 25 April 2020 (UTC)
 +
----

Latest revision as of 20:26, 25 April 2020

Inventory Sizes

User:Akuukis: Please help me to find those values, e.g. [1] doesn't have "InventoryMaxVolume". I also can't find them in source files for those blocks. TODO:

  • drill, welder & grinder
  • cockpits & passanger seat
  • DLC blocks

As usual, everything in the game files is highly inconsistent.

I've found that blocks' inventory volume are be determined in this order:

  1. If InventoryMaxVolume is defined, this is the blocks' inventory volume in m3. (Inventory volume would presumably be smaller if InventorySize/Size was smaller, but I haven't tested for that.)
  2. Otherwise, it is InventorySize X × Y × Z × 2.53 or 0.53 m3 for large/small CubeSize.
  3. If InventorySize doesn't exist, but the block still has an inventory (cargo containers), it uses the block's own Size instead of InventorySize.

If the block has two inventories (refineries and assemblers), both have this size.

Template:Calculate_InventoryVolume follows this procedure.

This should be all the large blocks that have an inventory:

Storage Block Inventory Volume Gas Capacity
Basic Assembler Icon.png Basic Assembler  2,000 L
2 m³
200 hL
 
Arc Furnace Icon.png Basic Refinery  4,000 L
4 m³
400 hL
 
Flight Seat Icon.png Flight Seat  1,000 L
1 m³
100 hL
 
Collector Icon.png Collector  6,250 L
6.25 m³
625 hL
 
Connector Icon.png Connector  8,000 L
8 m³
800 hL
 
Conveyor Tube Icon.png Conveyor Tube  15,625 L
15.625 m³
1,562.5 hL
 
Curved Conveyor Tube Icon.png Curved Conveyor Tube  15,625 L
15.625 m³
1,562.5 hL
 
Dead Engineer 1 Icon.png Dead Engineer 1  400 L
0.4 m³
40 hL
 
Dead Engineer 2 Icon.png Dead Engineer 2  400 L
0.4 m³
40 hL
 
Dead Engineer 3 Icon.png Dead Engineer 3  400 L
0.4 m³
40 hL
 
Dead Engineer 4 Icon.png Dead Engineer 4  400 L
0.4 m³
40 hL
 
Dead Engineer 5 Icon.png Dead Engineer 5  400 L
0.4 m³
40 hL
 
Dead Engineer 6 Icon.png Dead Engineer 6  400 L
0.4 m³
40 hL
 
Freight 1 Icon.png Freight 1  1,000 L
1 m³
100 hL
 
Freight 2 Icon.png Freight 2  2,000 L
2 m³
200 hL
 
Freight 3 Icon.png Freight 3  3,000 L
3 m³
300 hL
 
Assembler Icon.png Assembler  4,000 L
4 m³
400 hL
 
Bed Icon.png Bed  400 L
0.4 m³
40 hL
 
Control Station Icon.png Control Stations  1,000 L
1 m³
100 hL
 
LargeCockpitIndustrial Icon.png Industrial Cockpit  1,000 L
1 m³
100 hL
 
Cockpit Icon.png Cockpit  1,000 L
1 m³
100 hL
 
Conveyor Sorter Icon.png Conveyor Sorter  1,000 L
1 m³
100 hL
 
Drill Icon.png Drill  46,875 L
46.875 m³
4,687.5 hL
 
Large Cargo Container Icon.png Large Cargo Container  421,875 L
421.875 m³
42,187.5 hL
 
Large Reactor Icon.png Large Reactor  8,000 L
8 m³
800 hL
 
Armory Icon.png Armory  400 L
0.4 m³
40 hL
 
Armory Lockers Icon.png Armory Lockers  400 L
0.4 m³
40 hL
 
Lockers Icon.png Lockers  1,000 L
1 m³
100 hL
 
Planters Icon.png Planters  15,625 L
15.625 m³
1,562.5 hL
 
Small Cargo Container Icon.png Small Cargo Container  15,625 L
15.625 m³
1,562.5 hL
 
Small Reactor Icon.png Small Reactor  1,000 L
1 m³
100 hL
 
Disabled Icon.png Large Dead Astronaut  1,000 L
1 m³
100 hL
 
Gatling Turret Icon.png Gatling Turret  384 L
0.384 m³
38.4 hL
 
Hydrogen Engine Icon.png Hydrogen Engine  1,000 L
1 m³
100 hL
 
Hydrogen Tank Icon.png Hydrogen Tank  750 L
0.75 m³
75 hL
 
15,000,000 L
1,500,000 hL
15,000 m³
Large Hydrogen Tank Icon.png Small Hydrogen Tank  750 L
0.75 m³
75 hL
 
1,000,000 L
100,000 hL
1,000 m³
Interior Turret Icon.png Interior Turret  384 L
0.384 m³
38.4 hL
 
Rocket Launcher Icon.png Rocket Launcher  1,140 L
1.14 m³
114 hL
 
Missile Turret Icon.png Missile Turret  384 L
0.384 m³
38.4 hL
 
Refinery Icon.png Refinery  7,500 L
7.5 m³
750 hL
 
Grinder (Ship) Icon.png Grinder  31,250 L
31.25 m³
3,125 hL
 
Welder (Ship) Icon.png Welder  31,250 L
31.25 m³
3,125 hL
 
Disabled Icon.png Monolith  1,000 L
1 m³
100 hL
 
Control Seat Icon.png Control Seat  1,000 L
1 m³
100 hL
 
Oxygen Generator Icon.png O2/H2 Generator  4,000 L
4 m³
400 hL
 
Oxygen Tank Icon.png Oxygen Tank  4,000 L
4 m³
400 hL
 
100,000 L
10,000 hL
100 m³
Passenger Seat Icon.png Passenger Seat  1,000 L
1 m³
100 hL
 
Safe Zone Icon.png Safe Zone  5 L
0.005 m³
0.5 hL
 
Disabled Icon.png Stereolith  1,000 L
1 m³
100 hL
 
Store Icon.png Store  1,000 L
1 m³
100 hL
 
... further results

--Vox Serico (talk) 16:57, 24 April 2020 (UTC)


Thanks, I managed to add all of them!

Unfortunately cockpits are missing "InventoryVolume". I checked source and it doesn't have any of the first two points above.

Stuff I found out:

--Akuukis (talk) 19:39, 25 April 2020 (UTC)


Took a quick look, they are indeed missing any indication of inventory size despite both the large and small cockpit having 1000L. (Which doesn't match their Size either).

You can go ahead and set the Property:InventoryVolume directly on those.

I haven't made a page for Property:OxygenCapacity yet, because it hasn't been required yet. It's unclear to me what its unit is as you can't see 60 (probably liters) listed anywhere in the game.

Template:Itemlink seems to be used in the "navigation bars" at the bottom of component/ore/tool pages, if you look into them you should see how to use it. It's not very flexible at the moment, as it adds a • before every item link that isn't the first, even if they're in completely separate places on a page. It does however use a iconsize variable, so it can be changed if you set it anywhere beforehand.

Template:Itemlink-li works, but adds some margin to each entry as it's used as a template in Block's queries.

I'm weary of changing changing any existing templates because they can break existing pages that may be hard to find as the wiki doesn't seem to update its lists of where the templates are used. In the meantime, this is probably what you want to use:

{{icon|{{#vardefineecho:BLOCK|Mod:Vanilla/CubeBlock/SmallBlockSmallContainer}}|medium}} [[{{#show:{{#var:BLOCK}}|?Main article#-}}|{{translate|{{#var:BLOCK}}}}]]

Small Cargo Container Icon.png Small Cargo Container

I don't know why there's a generic Category:Templates when Special:AllPages exists.

PS: Find me on Steam for faster replies.

--Vox Serico (talk) 20:23, 25 April 2020 (UTC)