diff options
author | Reid <reidyaro@gmail.com> | 2012-11-05 22:42:44 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-11-05 23:47:06 +0100 |
commit | 97af44e80babba41648558d44cf3816874b59e9e (patch) | |
tree | 14b0853fc1c93a1c82c7d43fcaa7e4abe68d99dc /npc | |
parent | 93fc012ae8a48aae4588ae2ceaf84c2592169194 (diff) | |
download | clientdata-97af44e80babba41648558d44cf3816874b59e9e.tar.gz clientdata-97af44e80babba41648558d44cf3816874b59e9e.tar.bz2 clientdata-97af44e80babba41648558d44cf3816874b59e9e.tar.xz clientdata-97af44e80babba41648558d44cf3816874b59e9e.zip |
Change variable's names on nard's script.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-3/nard.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt index 307f9033..23951d69 100644 --- a/npc/000-2-3/nard.txt +++ b/npc/000-2-3/nard.txt @@ -8,9 +8,9 @@ // 2 bits array: // ShipQuests // Variable: -// ShipQuests_Nard -// ShipQuests_Gugli -// ShipQuests_ChefGado +// 0 ShipQuests_Nard +// 1 ShipQuests_Gugli +// 2 ShipQuests_ChefGado // Values: // 00 Introduction of the box and Nard. This is displayed when the player never spoke to Nard or his box. // 01 Nard spoke and gave access to the outdoor of the ship. @@ -22,18 +22,18 @@ 000-2-3.gat,25,26,0,1 script Nard 306;5,{ - set @q, getq(ShipQuests_Nard); - set @a, getq(ShipQuests_Gugli); - set @c, getq(ShipQuests_ChefGado); + set @nard, getq(ShipQuests_Nard); + set @gugli, getq(ShipQuests_Gugli); + set @gado, getq(ShipQuests_ChefGado); l_Checker: - if (@c > 3 && @q == 3) goto l_ChefQuestComplete; - if (@q == 2) goto l_ChefQuestStart; - if (@q == 3) goto l_ChefQuestGiven; - if (@q == 4) goto l_Already; - if (@a == 2) goto l_Done; - if (@q == 1) goto l_NotYet; - //if (@q == 2) goto l_Give; + if (@gado > 3 && @nard == 3) goto l_ChefQuestComplete; + if (@nard == 2) goto l_ChefQuestStart; + if (@nard == 3) goto l_ChefQuestGiven; + if (@nard == 4) goto l_Already; + if (@gugli == 2) goto l_Done; + if (@nard == 1) goto l_NotYet; + //if (@nard == 2) goto l_Give; mesn; mesq l("Hello."); @@ -139,7 +139,7 @@ l_Done: mesn; mesq l("Hi @@.", strcharinfo(0)); next; - mesq l("Elmo and Gugli reported me that you done all of the task... BlaBla."); // Need to add different dialogue if Julia is safe or not. + mesq l("Elmo and Gugli reported me that you done all of the task outside, congrats!"); next; setq ShipQuests_Nard, 2; |