diff options
author | Hal9OOO <miglietta.francesco@gmail.com> | 2012-12-12 21:24:05 +0100 |
---|---|---|
committer | Hal9OOO <miglietta.francesco@gmail.com> | 2012-12-12 21:24:05 +0100 |
commit | 9ac79140b1aea5b8bed42eba5eea21b0a8bb9dba (patch) | |
tree | 58110edcb2b5d9422928cc2723c54db1da172368 /npc | |
parent | 1c649c767f9ed78429867f4fda4fcde4badb6495 (diff) | |
download | serverdata-9ac79140b1aea5b8bed42eba5eea21b0a8bb9dba.tar.gz serverdata-9ac79140b1aea5b8bed42eba5eea21b0a8bb9dba.tar.bz2 serverdata-9ac79140b1aea5b8bed42eba5eea21b0a8bb9dba.tar.xz serverdata-9ac79140b1aea5b8bed42eba5eea21b0a8bb9dba.zip |
Player now cannot take clothes before having talked with Magic Arpan in order to avoid some questvars to be initialized.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/arpan.txt | 4 | ||||
-rw-r--r-- | npc/000-2-1/chest.txt | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt index a0122913..cbc9ee1a 100644 --- a/npc/000-2-1/arpan.txt +++ b/npc/000-2-1/arpan.txt @@ -119,6 +119,10 @@ OnEquip: l_OhWell: mes ""; mesq lg("Oh well, we rescued you when you were yaying adrift in the sea."); + next; + + menu + l("And then what happened?"), l_Story; l_Story: mes ""; diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt index b898ee6b..7ff7cbf9 100644 --- a/npc/000-2-1/chest.txt +++ b/npc/000-2-1/chest.txt @@ -13,6 +13,8 @@ 000-2-1.gat,51,37,0 script Chest#0 317;2,{ set @q, getq(ShipQuests_Arpan); + + if (@q == 0) goto l_Talk; if (getnpcdir ("") == 4) goto l_Give; setnpcdir 2; @@ -37,6 +39,11 @@ OnTimer220: if (getnpcdir ("") == 6) setnpcdir 0; end; +l_Talk: + message strcharinfo(0), l("You need to talk to Magic Arpan first!"); + + close; + l_Quit: setnpcdir 6; initnpctimer; |