diff options
author | Alige <aligetmw@hotmail.fr> | 2013-02-03 22:36:03 +0400 |
---|---|---|
committer | Alige <aligetmw@hotmail.fr> | 2013-02-03 22:36:03 +0400 |
commit | f02ac237c65314ac85272dd00c2f978acca54ef7 (patch) | |
tree | e352625d8d797b2ffe99fee589888a705220b76f /npc/000-2-1/alige.txt | |
parent | 37be6cfb3d18a99f70b342ba2164f3d12a0fb123 (diff) | |
download | serverdata-f02ac237c65314ac85272dd00c2f978acca54ef7.tar.gz serverdata-f02ac237c65314ac85272dd00c2f978acca54ef7.tar.bz2 serverdata-f02ac237c65314ac85272dd00c2f978acca54ef7.tar.xz serverdata-f02ac237c65314ac85272dd00c2f978acca54ef7.zip |
Improvements and bug fix in alige's script.
Diffstat (limited to 'npc/000-2-1/alige.txt')
-rw-r--r-- | npc/000-2-1/alige.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index 9f636220..733528a2 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -128,7 +128,7 @@ l_AboutReward: l_Accept: menu - l("Understood, I will help you."), l_Accepted, + l("Understood, I will help you."), l_FirstAccepted, l("What is Artis?"), l_Artis, l("I think I should report you to the crew members."), -; @@ -148,10 +148,14 @@ l_Artis: if (@q == 2) goto l_SoAskForFood; goto l_Accept; -l_Accepted: - setcamnpc; +l_FirstAccepted: + if (getq(ShipQuests_Alige) >= 2) goto l_Accepted; setq ShipQuests_Alige, 2; + goto l_Accepted; + +l_Accepted: + setcamnpc; mes ""; mesn; mesq lg("Great, what food do you have for me today?"); @@ -226,8 +230,9 @@ l_NoMore: mes ""; mesn; mesq l("Arrr, don't give me more berries! I don't want them, stupid berries, stupid... Stupid... Stupid!"); + next; - close; + goto l_ReturnMenu; l_Poison: setcamnpc; @@ -287,7 +292,7 @@ l_Quit: setcamnpc; mes ""; mesn; - mesq lg("Too bad... Come back when you'll have some fine food for me!"); + mesq l("Too bad... Come back when you'll have some fine food for me."); close; |