storage
Vars | |
allow_quick_empty | Set this boolean variable to allow the object to have the 'empty' verb, which dumps all the contents on the floor. |
---|---|
allow_quick_gather | Set this boolean variable to allow the object to have the 'toggle mode' verb, which quickly collects all items from a tile. |
can_hold | List of objects which this item can store (if set, it can't store anything else) |
cant_hold | List of objects which this item can't store (in effect only if can_hold isn't set) |
close_sound | Sound played when the storage ui is closed. |
collection_mode | FALSE = pick one at a time, TRUE = pick all on tile |
max_storage_space | Total storage cost of items this can hold. Will be autoset based on storage_slots if left null. |
max_w_class | Max size of objects that this object can store (in effect only if can_hold isn't set) |
open_sound | What sound do we make when opened? |
opened | Has the storage been opened? |
storage_slots | The number of storage slots in this container. |
storage_ui | What storage UI do we use? |
use_sound | sound played when used. null for no sound. |
use_to_pickup | Set this boolean variable to make it possible to use this item in an inverse way, so you can have the item in your hand and click items on the floor to pick them up. |
Procs | |
play_close_sound | Plays the close sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal. |
play_open_sound | Overridable sound playback parameters. Since not all sounds are created equal. |
play_use_sound | Plays the use sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal. |
Var Details
allow_quick_empty
Set this boolean variable to allow the object to have the 'empty' verb, which dumps all the contents on the floor.
allow_quick_gather
Set this boolean variable to allow the object to have the 'toggle mode' verb, which quickly collects all items from a tile.
can_hold
List of objects which this item can store (if set, it can't store anything else)
cant_hold
List of objects which this item can't store (in effect only if can_hold isn't set)
close_sound
Sound played when the storage ui is closed.
collection_mode
FALSE = pick one at a time, TRUE = pick all on tile
max_storage_space
Total storage cost of items this can hold. Will be autoset based on storage_slots if left null.
max_w_class
Max size of objects that this object can store (in effect only if can_hold isn't set)
open_sound
What sound do we make when opened?
opened
Has the storage been opened?
storage_slots
The number of storage slots in this container.
storage_ui
What storage UI do we use?
use_sound
sound played when used. null for no sound.
use_to_pickup
Set this boolean variable to make it possible to use this item in an inverse way, so you can have the item in your hand and click items on the floor to pick them up.
Proc Details
play_close_sound
Plays the close sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal.
play_open_sound
Overridable sound playback parameters. Since not all sounds are created equal.
play_use_sound
Plays the use sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal.