diff options
Diffstat (limited to 'npc/002-1')
-rw-r--r-- | npc/002-1/peter.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt index 41f27e260..ac41b68bb 100644 --- a/npc/002-1/peter.txt +++ b/npc/002-1/peter.txt @@ -175,6 +175,17 @@ OnStartOutside: @MAP_NAME$="nard@"+str(.@ID); // Max 4 chars for map name .@INSTID = instance_create("002-2@a"+(.@ID), getcharid(3), IOT_CHAR); .@instanceMapName$ = instance_attachmap("002-2", .@INSTID, 0, @MAP_NAME$); + + // Instance already exists, or something went wrong + if (.@instanceMapName$ == "") { + mesn; + mesq l("Actually, you just took a bounty, right?"); + next; + mesn; + mesq l("Why don't you take a break? Breath in some fresh air. The basement is pretty damp."); + close; + } + setq2 ShipQuests_Peter, 0; setq3 ShipQuests_Peter, .@INSTID; |