Expand fish and equipment catalogs

This commit is contained in:
Alexander Sellite 2026-08-14 16:31:28 -04:00
parent 63e50e285d
commit f55663c105
380 changed files with 9430 additions and 575 deletions

View file

@ -28,3 +28,16 @@ func get_valid_items() -> Array[ItemDataType]:
seen[item.item_id] = true
result.append(item)
return result
func get_available_item_by_id(item_id: StringName) -> ItemDataType:
var item: ItemDataType = get_item_by_id(item_id)
return item if item != null and item.is_available() else null
func get_available_items() -> Array[ItemDataType]:
var result: Array[ItemDataType] = []
for item: ItemDataType in get_valid_items():
if item.active:
result.append(item)
return result