diff options
author | Reid <reidyaro@gmail.com> | 2016-02-16 03:33:35 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-02-16 03:33:35 +0100 |
commit | 0ee3ce337d52c6d6fb8c628140bc45616f7773f6 (patch) | |
tree | 5671bb6d2e69cc1c746884f66e80bd456f5b849e | |
parent | c3f626e5a066a281c4041f404c9bf8becefbba8b (diff) | |
download | serverdata-0ee3ce337d52c6d6fb8c628140bc45616f7773f6.tar.gz serverdata-0ee3ce337d52c6d6fb8c628140bc45616f7773f6.tar.bz2 serverdata-0ee3ce337d52c6d6fb8c628140bc45616f7773f6.tar.xz serverdata-0ee3ce337d52c6d6fb8c628140bc45616f7773f6.zip |
Add inventory check on Enora's script and move to the top of the menu the counter of dead fluffies.
-rw-r--r-- | npc/001-1/enora.txt | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/npc/001-1/enora.txt b/npc/001-1/enora.txt index 57ab47b1..69db045c 100644 --- a/npc/001-1/enora.txt +++ b/npc/001-1/enora.txt @@ -240,6 +240,7 @@ set #ArtisFluffyKilled, 0; + inventoryplace TrainingGladius, 3; getitem TrainingGladius, 1; getitem ArtisTankTop, 1; getitem PibberiesInfusion, 5; @@ -355,12 +356,12 @@ rif(.@q == 4 || .@q == 6 || .@q == 9, l("I have your package.")), 1, rif(.@q == 8 && countitem(PibberiesInfusion) >= 5, l("I have your package.")), 2, rif(.@q == 10 && #ArtisFluffyKilled >= 10, l("I cleaned up the hill.")), 3, - rif(.@q >= 1, l("Who is Don?")), 4, - rif(.@q >= 5, l("Where is the light armor shop?")), 5, - rif(.@q >= 7, l("Where is the market?")), 6, - rif(.@q >= 10, l("Where is the hill?")), 7, - rif(.@q >= 1, l("What is this \"legion\"?")), 8, - rif(.@q >= 10, l("How many Fluffies did I kill on the hill?")), 9, + rif(.@q >= 10, l("How many Fluffies did I kill on the hill?")), 4, + rif(.@q >= 1, l("Who is Don?")), 5, + rif(.@q >= 5, l("Where is the light armor shop?")), 6, + rif(.@q >= 7, l("Where is the market?")), 7, + rif(.@q >= 10, l("Where is the hill?")), 8, + rif(.@q >= 1, l("What is this \"legion\"?")), 9, l("I wish I could remember something..."), 10, rif(.@q != 0, l("Nothing.")), 11; @@ -379,27 +380,27 @@ enora_hill_cleaned; break; case 4: - enora_don; - case 5: - enora_light_armor; + speech 5, + l("You killed @@ Fluffies.", #ArtisFluffyKilled); + if (#ArtisFluffyKilled > 8) + { + mesq l("If you continue there will be none left!"); + next; + } break; + case 5: + enora_don; case 6: - enora_market; + enora_light_armor; break; case 7: - enora_hill; + enora_market; break; case 8: - enora_legion; + enora_hill; break; case 9: - speech 5, - l("You killed @@ Fluffies.", #ArtisFluffyKilled); - if (#ArtisFluffyKilled > 8) - { - mesq l("If you continue there will be none left!"); - next; - } + enora_legion; break; case 10: enora_memories; |