OldInventory๐
Inherits: Node3D
This component allows its entity to interact with items.
Properties๐
|
||
|
Methoden๐
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!
Eigenschaftsbeschreibungen๐
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!
Methodenbeschreibungen๐
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!