Expand fish and equipment catalogs
This commit is contained in:
parent
63e50e285d
commit
f55663c105
380 changed files with 9430 additions and 575 deletions
|
|
@ -15,6 +15,11 @@ enum Category {
|
|||
@export var item_id: StringName
|
||||
@export var display_name: String
|
||||
@export_multiline var description: String
|
||||
@export_category("Developer Catalog")
|
||||
## Inactive items remain resolvable for existing saves, but cannot be newly
|
||||
## acquired, equipped, used, or presented in shops.
|
||||
@export var active: bool = true
|
||||
@export_category("Item")
|
||||
@export var category: Category = Category.UTILITY
|
||||
@export var bait_tags: Array[StringName] = []
|
||||
@export var lure_effects: Array[StringName] = []
|
||||
|
|
@ -35,6 +40,10 @@ func is_valid() -> bool:
|
|||
)
|
||||
|
||||
|
||||
func is_available() -> bool:
|
||||
return active and is_valid()
|
||||
|
||||
|
||||
func get_category_name() -> String:
|
||||
return Category.keys()[category].to_lower()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue