1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-09 15:37:45 +00:00

Document two more item operations: move (to an empty slot) and exchange (when swapping slots with another item)

This commit is contained in:
The Dax 2025-07-04 12:51:37 -04:00 committed by Joshua Goins
parent fde43a560d
commit 13da396932

View file

@ -78,3 +78,9 @@ pub const COMPLETED_QUEST_BITMASK_SIZE: usize = 691;
/// The operation opcode/type when discarding an item from the inventory.
pub const INVENTORY_ACTION_DISCARD: u8 = 145;
// The operation opcode/type when moving an item to an emtpy slot in the inventory.
pub const INVENTORY_ACTION_MOVE: u8 = 146;
// The operation opcode/type when moving an item to a slot occupied by another in the inventory.
pub const INVENTORY_ACTION_EXCHANGE: u8 = 147;