Better and simpler way to represent preferences

This commit is contained in:
2026-01-31 09:12:50 +01:00
parent 3477b89145
commit 311095104b
23 changed files with 114 additions and 95 deletions

View File

@@ -1,16 +1,35 @@
extends Resource
class_name Trait
enum Stimuli {
VISION,
SOUND,
SMELL
}
enum Category {
AGE,
GENDER,
SOCIAL_CLASS,
RACE,
ANIMALS,
SOCIABILITY,
OTHER
}
enum Tag {
YOUNG, MIDDLE_AGED, OLD,
MAN, WOMAN, ENBY,
ROYAL, NOBLE, PEASANT,
BLACK, WHITE, ALIEN,
CAT, DOG,
ALONE, NOT_ALONE
}
@export var name : String
@export var stimulis : Array[Stimuli]
@export var tags : Array[String]
@export var category : Category
@export var tag : Tag
# Called when the node enters the scene tree for the first time.