2024-01-27 11:02:06 +00:00
|
|
|
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
|
|
|
|
|
2024-01-27 14:20:18 +00:00
|
|
|
# Maps JokeType (as int) to mood change (as float)
|
|
|
|
@export var joke_mood_mapping: Dictionary
|
|
|
|
|
2024-01-27 11:02:06 +00:00
|
|
|
# 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
|