Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions.
See the stable version of this documentation page instead.
OldInventory🔗
Inherits: Node3D
This component allows its entity to interact with items.
Properties🔗
|
||
|
Methods🔗
void |
set_cursor(new_cursor: int) |
void |
_emit_child(sig: Signal, idx: int) |
void |
_ready() |
void |
_on_unselected(node: Node) |
void |
_on_selected(node: Node) |
void |
_add_child(node: Node, force_readable_name: bool = false, internal: Node.InternalMode = 0) |
void |
|
void |
|
void |
req_loadout(_index: int = 0) |
void |
rcv_loadout(loadout: String) |
Signals🔗
selection_changed(index: int) 🔗
There is currently no description for this signal. Please help us by contributing one!
There is currently no description for this signal. Please help us by contributing one!
There is currently no description for this signal. Please help us by contributing one!
Constants🔗
_max_items = 3 🔗
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions🔗
void @capacity_setter(value: int)
This is the total capacity of the inventory.
void set_cursor(new_cursor: int)
There is currently no description for this property. Please help us by contributing one!
Method Descriptions🔗
void set_cursor(new_cursor: int) 🔗
There is currently no description for this method. Please help us by contributing one!
void _emit_child(sig: Signal, idx: int) 🔗
There is currently no description for this method. Please help us by contributing one!
void _ready() 🔗
There is currently no description for this method. Please help us by contributing one!
void _on_unselected(node: Node) 🔗
There is currently no description for this method. Please help us by contributing one!
void _on_selected(node: Node) 🔗
There is currently no description for this method. Please help us by contributing one!
void _add_child(node: Node, force_readable_name: bool = false, internal: Node.InternalMode = 0) 🔗
This method overrides Node.add_child to make sure not to exceed inventory capacity.
This method moves the selection cursor to specified item index.
void cycle(shift: int = 1) 🔗
This method cycles through items in the inventory.
void req_loadout(_index: int = 0) 🔗
There is currently no description for this method. Please help us by contributing one!
void rcv_loadout(loadout: String) 🔗
There is currently no description for this method. Please help us by contributing one!