21 lines
541 B
GDScript
21 lines
541 B
GDScript
class_name AudienceProfile
|
|
extends Node2D
|
|
|
|
@export var happy_threshold : float
|
|
@export var angry_threshold : float
|
|
@export var lashout_threshold : float
|
|
|
|
@export var happiness_decay : float
|
|
@export var lashout_decay : float
|
|
|
|
# Maps JokeType (as int) to mood change (as float)
|
|
@export var joke_mood_mapping: Dictionary
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass # Replace with function body.
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(_delta):
|
|
pass
|