Talk:Storage
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:
- 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.)
- Otherwise, it is InventorySize X × Y × Z × 2.53 or 0.53 m3 for large/small CubeSize.
- 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 | 2,000 L 2 m³
200 hL |
|
Basic Refinery | 4,000 L 4 m³
400 hL |
|
Flight Seat | 1,000 L 1 m³
100 hL |
|
Collector | 6,250 L 6.25 m³
625 hL |
|
Connector | 8,000 L 8 m³
800 hL |
|
Conveyor Tube | 15,625 L 15.625 m³
1,562.5 hL |
|
Curved Conveyor Tube | 15,625 L 15.625 m³
1,562.5 hL |
|
Dead Engineer 1 | 400 L 0.4 m³
40 hL |
|
Dead Engineer 2 | 400 L 0.4 m³
40 hL |
|
Dead Engineer 3 | 400 L 0.4 m³
40 hL |
|
Dead Engineer 4 | 400 L 0.4 m³
40 hL |
|
Dead Engineer 5 | 400 L 0.4 m³
40 hL |
|
Dead Engineer 6 | 400 L 0.4 m³
40 hL |
|
Freight 1 | 1,000 L 1 m³
100 hL |
|
Freight 2 | 2,000 L 2 m³
200 hL |
|
Freight 3 | 3,000 L 3 m³
300 hL |
|
Assembler | 4,000 L 4 m³
400 hL |
|
Bed | 400 L 0.4 m³
40 hL |
|
Control Stations | 1,000 L 1 m³
100 hL |
|
Industrial Cockpit | 1,000 L 1 m³
100 hL |
|
Cockpit | 1,000 L 1 m³
100 hL |
|
Conveyor Sorter | 1,000 L 1 m³
100 hL |
|
Drill | 46,875 L 46.875 m³
4,687.5 hL |
|
Large Cargo Container | 421,875 L 421.875 m³
42,187.5 hL |
|
Large Reactor | 8,000 L 8 m³
800 hL |
|
Armory | 400 L 0.4 m³
40 hL |
|
Armory Lockers | 400 L 0.4 m³
40 hL |
|
Lockers | 1,000 L 1 m³
100 hL |
|
Planters | 15,625 L 15.625 m³
1,562.5 hL |
|
Small Cargo Container | 15,625 L 15.625 m³
1,562.5 hL |
|
Small Reactor | 1,000 L 1 m³
100 hL |
|
Large Dead Astronaut | 1,000 L 1 m³
100 hL |
|
Gatling Turret | 384 L 0.384 m³
38.4 hL |
|
Hydrogen Engine | 1,000 L 1 m³
100 hL |
|
Hydrogen Tank | 750 L 0.75 m³
75 hL |
15,000,000 L 1,500,000 hL
15,000 m³ |
Small Hydrogen Tank | 750 L 0.75 m³
75 hL |
1,000,000 L 100,000 hL
1,000 m³ |
Interior Turret | 384 L 0.384 m³
38.4 hL |
|
Rocket Launcher | 1,140 L 1.14 m³
114 hL |
|
Missile Turret | 384 L 0.384 m³
38.4 hL |
|
Refinery | 7,500 L 7.5 m³
750 hL |
|
Grinder | 31,250 L 31.25 m³
3,125 hL |
|
Welder | 31,250 L 31.25 m³
3,125 hL |
|
Monolith | 1,000 L 1 m³
100 hL |
|
Control Seat | 1,000 L 1 m³
100 hL |
|
O2/H2 Generator | 4,000 L 4 m³
400 hL |
|
Oxygen Tank | 4,000 L 4 m³
400 hL |
100,000 L 10,000 hL
100 m³ |
Passenger Seat | 1,000 L 1 m³
100 hL |
|
Safe Zone | 5 L 0.005 m³
0.5 hL |
|
Stereolith | 1,000 L 1 m³
100 hL |
|
Store | 1,000 L 1 m³
100 hL |
--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:
- http://spaceengineerswiki.com/Special:Browse/Mod:Vanilla/CubeBlock/SmallBlockCockpit?OxygenCapacity is not Volume format
- Template "Itemlink" is not documented and I didn't figure out how to use it with bigger icons
- Template "Itemlink-li" and "Itemlink-flexlist" are not in category templates
--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}}}}]]
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)