Renamed Head Pivet and had to update the head script
This commit is contained in:
@ -9,20 +9,20 @@ func set_condition(con):
|
||||
match con:
|
||||
CONDITION.VAPING:
|
||||
vapes_per_min += 1
|
||||
$Node3D/VapeLight.on()
|
||||
$Head/VapeLight.on()
|
||||
$"Coughing Timer".start()
|
||||
$"Severe Coughing Timer".start()
|
||||
CONDITION.NORMAL:
|
||||
$Node3D/VapeLight.off()
|
||||
$Head/VapeLight.off()
|
||||
$"Coughing Timer".stop()
|
||||
$"Severe Coughing Timer".stop()
|
||||
CONDITION.COUGHING:
|
||||
$Node3D/VapeLight.off()
|
||||
$Head/VapeLight.off()
|
||||
$"Coughing Recovery".start()
|
||||
$"Severe Coughing Timer".stop()
|
||||
GlobalSettings.Player_Last_Location = global_transform.origin
|
||||
CONDITION.SEVERE_COUGHING:
|
||||
$Node3D/VapeLight.off()
|
||||
$Head/VapeLight.off()
|
||||
$"Severe Coughing Recovery".start()
|
||||
$"Coughing Timer".stop()
|
||||
GlobalSettings.Player_Last_Location = global_transform.origin
|
||||
|
||||
Reference in New Issue
Block a user