This commit is contained in:
Spencer Killen 2026-09-27 13:54:11 -06:00
parent 02c579b233
commit ae59567b64
Signed by: sjkillen
GPG key ID: 1DAA9D8D7C6ADD05
3 changed files with 9 additions and 1 deletions

View file

@ -21,6 +21,9 @@ func requirements_satisfied() -> bool:
for requirement in requirements:
if Economy.get_currency_amount(requirement.currency) < requirement.amount:
return false
for requirement in min_requirements:
if Economy.get_currency_amount(requirement.currency) > requirement.amount:
return false
return true
func will_happen() -> bool:

View file

@ -17,3 +17,7 @@ func on_remove_letter(l: Letter):
push_error("Removed Letter not found", l)
return
letters.remove_at(i)
func kill_event_archie():
var event := preload("res://random events/taunt.tres")
event.probability = 0.0

View file

@ -28,12 +28,13 @@ else:
if {special.archie_increment} == 4.0:
"P.S.\
I was lying about the whole feeding you to dinosaur's part."
elif {special.archie_increment} == 7.0
elif {special.archie_increment} == 7.0:
"P.S.\
This is the last time you'll hear from me, frankly it's late and I'm getting tired of writing these letters."
"Goodnight, sleep loose, let the bed bugs eat you alive or something.\
\
- Archie"
do GameState.kill_event_archie()
set {special.archie_increment} += 1.0
# If special.archie_increment >= 7 then set the probability of the taunt event to zero