Début patient 46
This commit is contained in:
+3
-2
@@ -72,9 +72,9 @@ func new_patient():
|
||||
var face: Resource
|
||||
var emotion_branch: Dictionary
|
||||
var emotion_list = ["neutral", "peaceful", "praying", "puzzled",
|
||||
"smiling", "laughing", "happy", "elated", "maniac", "irritated", "angry",
|
||||
"sadsmiling", "smiling", "laughing", "happy", "elated", "maniac", "irritated", "angry",
|
||||
"sad", "crying", "surprised", "worried", "scared", "shocked", "panicked", "suspicious",
|
||||
"abnormal", "abnormal2"]
|
||||
"abnormal", "abnormal1", "abnormal2"]
|
||||
|
||||
emotions.clear() #Clearing previous patient emotions
|
||||
for emotion in emotion_list:
|
||||
@@ -93,6 +93,7 @@ func new_patient():
|
||||
match status:
|
||||
"random":
|
||||
abnormal = randf() < 0.5 #50/50 abnormal/normal
|
||||
print("Abnormal value: " + str(abnormal))
|
||||
"normal":
|
||||
abnormal = false
|
||||
"abnormal":
|
||||
|
||||
Reference in New Issue
Block a user