Alright, I can see the confusion with the specifics you defined;Even if it might look good. Dedicated space filling with blocks everytime you store items is performancewise not the best idea i guess.
What would happen if these blocks get hit? Will they just behave like normal ship blocks? What if someone unloads a huge chunk of blocks (10000) at once?
If every block would be represented by a singleblock it would be too much loading/unloading i guess.
Another much simpler system would be implementing a cargoblock/redesigning plex storages.
For every cargoblock (just a solid block/nothing fancy) you add, the ships inventory will increase its capacity by 10 mass.
Another approach would be that these cargo blocks would need to be linked to a computer to form an inventory. And you can access each inventory using each computer similar to the weapontab.
In any of the above suggested storagesystems it would make sense if:
...the inventory could be directly accessed from a ship tab and could be transferred to other ships (maybe using docking or another system).
...the player inventory would be limited heavily to maybe 100 mass = 1000 blocks or something.
...it would be possible to construct a ship directly from the inventory/cargo of a near ship.
Above numbers are just thrown in and could probably be fully configurable in the serverprops anyways.
Just some thoughts
- The cargo blocks themselves would be a generic crate block, that's what I was trying to illustrate in the pictures, as I used one of the decoration blocks that looked closest to some sort of crate.
- When the blocks are shot they will destroy the stack to the farthest bottom left, the items being disintegrated by the weapon. When they are shot with a salvage beam when the shields are down, the beam will transfer the items directly into your own cargo hold.
- The reason we would want to have the blocks in this fashion and not just a cargo enhancement block, would be not only the fact that it would be harder to decide the block stack removed from a pool, but that you would visually be able to see an increase and decrease of items in your cargo hold instead of a static chunk of blocks.
Eventually, we could have beams that would transfer cargo from a designated "Transfer" Cargo Module to the receiving/sending ship. Therefore, you could easily hand off your most valuable materials in a time of crisis, or send the items into the cargo bay of a station/dry dock.