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:
|
match con:
|
||||||
CONDITION.VAPING:
|
CONDITION.VAPING:
|
||||||
vapes_per_min += 1
|
vapes_per_min += 1
|
||||||
$Node3D/VapeLight.on()
|
$Head/VapeLight.on()
|
||||||
$"Coughing Timer".start()
|
$"Coughing Timer".start()
|
||||||
$"Severe Coughing Timer".start()
|
$"Severe Coughing Timer".start()
|
||||||
CONDITION.NORMAL:
|
CONDITION.NORMAL:
|
||||||
$Node3D/VapeLight.off()
|
$Head/VapeLight.off()
|
||||||
$"Coughing Timer".stop()
|
$"Coughing Timer".stop()
|
||||||
$"Severe Coughing Timer".stop()
|
$"Severe Coughing Timer".stop()
|
||||||
CONDITION.COUGHING:
|
CONDITION.COUGHING:
|
||||||
$Node3D/VapeLight.off()
|
$Head/VapeLight.off()
|
||||||
$"Coughing Recovery".start()
|
$"Coughing Recovery".start()
|
||||||
$"Severe Coughing Timer".stop()
|
$"Severe Coughing Timer".stop()
|
||||||
GlobalSettings.Player_Last_Location = global_transform.origin
|
GlobalSettings.Player_Last_Location = global_transform.origin
|
||||||
CONDITION.SEVERE_COUGHING:
|
CONDITION.SEVERE_COUGHING:
|
||||||
$Node3D/VapeLight.off()
|
$Head/VapeLight.off()
|
||||||
$"Severe Coughing Recovery".start()
|
$"Severe Coughing Recovery".start()
|
||||||
$"Coughing Timer".stop()
|
$"Coughing Timer".stop()
|
||||||
GlobalSettings.Player_Last_Location = global_transform.origin
|
GlobalSettings.Player_Last_Location = global_transform.origin
|
||||||
|
|||||||
Reference in New Issue
Block a user