summaryrefslogtreecommitdiff
path: root/npc/002-1/peter.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-04 23:10:38 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-04 23:10:38 -0200
commit3021284f1c9fe196bf180f263bc83044fd24907e (patch)
tree4af55577748848e4e33a1ff3c8b53381c91fa0cd /npc/002-1/peter.txt
parent70b8dc8dbc809749901e5639ae372680e113bd5e (diff)
downloadserverdata-3021284f1c9fe196bf180f263bc83044fd24907e.tar.gz
serverdata-3021284f1c9fe196bf180f263bc83044fd24907e.tar.bz2
serverdata-3021284f1c9fe196bf180f263bc83044fd24907e.tar.xz
serverdata-3021284f1c9fe196bf180f263bc83044fd24907e.zip
Some clearly buggy code on Peter and RattoControl
Diffstat (limited to 'npc/002-1/peter.txt')
-rw-r--r--npc/002-1/peter.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt
index 1bdcff698..c8911e9fe 100644
--- a/npc/002-1/peter.txt
+++ b/npc/002-1/peter.txt
@@ -225,20 +225,21 @@ OnStartOutside:
OnTimeout:
if (!(getmap() ~= "002-2") && !(getmap() ~= "nard"))
end;
+ warp "002-1@"+LOCATION$, 35, 26;
.@q3 = getq3(ShipQuests_Peter);
instance_destroy(.@q3);
setq2 ShipQuests_Peter, 0;
setq3 ShipQuests_Peter, -1;
mesn;
mesq l("Hey! Be careful. You can't stay in this basement for so long, you're going to get sick. Come outside and take a break, maybe you can try again later.");
- warp "002-1@"+LOCATION$, 35, 26;
close;
OnDone:
+ .@q3 = getq(ShipQuests_Peter);
+ instance_destroy(.@q3);
if (@peter)
setq ShipQuests_Peter, getq(ShipQuests_Peter)|@peter, 0, -1;
- warp "002-1@"+LOCATION$, 35, 26;
.@q = getq(ShipQuests_Peter);
mesn;
mesq l("Good job!") + " " + l("Here's your reward!");