Expand gameplay systems and interface controls

This commit is contained in:
Voyager 2026-08-20 17:53:22 -04:00
parent 09b7a78533
commit 2710544070
46 changed files with 2072 additions and 153 deletions

View file

@ -36,6 +36,12 @@ enum LogbookSection {
SHELLFISH,
}
enum CreatureGroup {
FISH,
INSECT,
SHELLFISH,
}
@export var id: StringName
@export var display_name: String
@export_category("Developer Catalog")
@ -94,6 +100,14 @@ func is_fishable() -> bool:
return is_selectable() and collection_method == CollectionMethod.FISHING
func get_creature_group() -> CreatureGroup:
if logbook_section == LogbookSection.SHELLFISH:
return CreatureGroup.SHELLFISH
if collection_method == CollectionMethod.FISHING:
return CreatureGroup.FISH
return CreatureGroup.INSECT
func get_habitat_label() -> String:
if not habitat_label.strip_edges().is_empty():
return habitat_label.strip_edges().to_lower()