43 lines
665 B
GDScript
43 lines
665 B
GDScript
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 category : Category
|
|
@export var tag : Tag
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|