fast punishment

This commit is contained in:
pennyrigate 2023-11-05 21:42:52 -05:00
parent ae41ff0917
commit 9a08b79c2c
2 changed files with 7 additions and 0 deletions

View file

@ -18,6 +18,7 @@ var cfox_mode = false
var infinite_arrows = false var infinite_arrows = false
var prey_slaughtered = false var prey_slaughtered = false
var sus_monster = false var sus_monster = false
var fast_punishment = 0
# cheat code entry # cheat code entry
var entry_index = 0 var entry_index = 0
var entry = false var entry = false
@ -194,3 +195,7 @@ func _enter_code():
var scrump = get_tree().get_nodes_in_group("scrump").pop_back() var scrump = get_tree().get_nodes_in_group("scrump").pop_back()
scrump.sus_monster() scrump.sus_monster()
sus_monster = true sus_monster = true
"FASTPUNISHMENT":
fast_punishment = 1
"FASTERPUNISHMENT":
fast_punishment = 2

View file

@ -273,6 +273,8 @@ func _on_Climbing_state_exited() -> void:
# all the stuff that happens when they DIE # all the stuff that happens when they DIE
func _on_Dead_state_entered() -> void: func _on_Dead_state_entered() -> void:
if Debug.fast_punishment > 0:
Engine.time_scale += .05 * Debug.fast_punishment
# send signals # send signals
emit_signal("died") emit_signal("died")
state_chart.send_event("died") state_chart.send_event("died")