cargo_shelf 
Vars | |
| capacity | how many items the shelf can hold. Only supports 3 because that's how many can fit in a 32x32 tile. |
|---|---|
| crates_stored | List of which crates are stored where, to keep track of occupied slots |
| use_delay | the delay before the shelf is truly used |
Procs | |
| add_crate | Adds a crate to the shelf |
| can_load | Returns if this crate can actually be loaded |
| crate_count | Spits out how many crates are currently stored, counting the non nulls |
| load | proc that will attempt to add something to the contents of the shelf |
| remove_crate | Removes a crate from the shelf |
| spill_contents | Fling crates around and open/break some of them in the process |
| unload | proc that will attempt to remove something to the contents of the shelf |
Var Details
capacity 
how many items the shelf can hold. Only supports 3 because that's how many can fit in a 32x32 tile.
crates_stored 
List of which crates are stored where, to keep track of occupied slots
use_delay 
the delay before the shelf is truly used
Proc Details
add_crate
Adds a crate to the shelf
can_load
Returns if this crate can actually be loaded
crate_count
Spits out how many crates are currently stored, counting the non nulls
load
proc that will attempt to add something to the contents of the shelf
remove_crate
Removes a crate from the shelf
spill_contents
Fling crates around and open/break some of them in the process
unload
proc that will attempt to remove something to the contents of the shelf