diff options
Diffstat (limited to 'npc/002-1')
-rw-r--r-- | npc/002-1/peter.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt index cf91ed1ab..1da6a26d0 100644 --- a/npc/002-1/peter.txt +++ b/npc/002-1/peter.txt @@ -60,6 +60,12 @@ L_NoCountDown: doevent "Peter::OnReturnWin"; close; +OnLowTime: + getmapxy(.@m$, .@x, .@y, 0); + if (.@m$ == "002-2") + dispbottom l("Time is running out... Hurry up!"); + end; + L_Stop: doevent "Peter::OnStop"; @@ -214,6 +220,7 @@ OnStartOutside: $@RAT_SAILOR_DEATHS = PC_DIE_COUNTER; initnpctimer; warp "002-2", 48, 28; + addtimer(100000, "Peter::OnLowTime"); doevent "RattosControl::OnSpawn"; goto L_Quit; |