forked from woofmeow/straywild
feat: add persistent inventory storage slots
This commit is contained in:
parent
6db6fbba7f
commit
a88e76848b
13 changed files with 875 additions and 65 deletions
|
|
@ -64,6 +64,10 @@ static func get_stock_item_ids() -> Array[StringName]:
|
|||
return ITEM_ORDER.duplicate()
|
||||
|
||||
|
||||
static func get_stock_order_index(item_id: StringName) -> int:
|
||||
return ITEM_ORDER.find(item_id)
|
||||
|
||||
|
||||
static func get_rod_stock(
|
||||
catalog: ItemCatalogType,
|
||||
) -> Array[FishingRodDataType]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue