diff options
author | Haru <haru@dotalux.com> | 2013-11-10 04:28:03 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-10 04:31:28 +0100 |
commit | b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (patch) | |
tree | cbd305d3896bdc9f498ed9eb72836dc7b6c32b99 /npc/quests/bunnyband.txt | |
parent | c9b63614070f7fce81c88cd60e5edad5a7730df0 (diff) | |
download | hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.gz hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.bz2 hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.xz hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.zip |
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in variables, labels, constants.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/bunnyband.txt')
-rw-r--r-- | npc/quests/bunnyband.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/quests/bunnyband.txt b/npc/quests/bunnyband.txt index 5effd046a..8eb89773a 100644 --- a/npc/quests/bunnyband.txt +++ b/npc/quests/bunnyband.txt @@ -31,14 +31,14 @@ alberta,26,229,0 script Kafra Employee#bunny 4_M_01,{ mes "see if you brought"; mes "all the items..."; next; - setarray .@Items[0],949,100,706,1,722,1,2213,1; + setarray .@items[0],949,100,706,1,722,1,2213,1; for(set .@i,0; .@i<8; set .@i,.@i+2) - if (countitem(.@Items[.@i]) < .@Items[.@i+1]) { + if (countitem(.@items[.@i]) < .@items[.@i+1]) { mes "[Kafra Employee]"; mes "Ooh, I'm sorry"; mes "but you need to"; mes "bring at least"; - mes .@Items[.@i+1]+" "+getitemname(.@Items[.@i])+((!.@i)?"s.":"."); + mes .@items[.@i+1]+" "+getitemname(.@items[.@i])+((!.@i)?"s.":"."); close; } mes "[Kafra Employee]"; @@ -50,12 +50,12 @@ alberta,26,229,0 script Kafra Employee#bunny 4_M_01,{ mes "while I put it together..."; next; for(set .@i,0; .@i<8; set .@i,.@i+2) - if (countitem(.@Items[.@i]) < .@Items[.@i+1]) { + if (countitem(.@items[.@i]) < .@items[.@i+1]) { mes "[Kafra Employee]"; mes "Hm? I'm sorry,"; mes "but I actually can't"; mes "make this right now. You"; - mes "need "+.@Items[.@i+1]+" "+getitemname(.@Items[.@i])+((!.@i)?"s":""); + mes "need "+.@items[.@i+1]+" "+getitemname(.@items[.@i])+((!.@i)?"s":""); mes "in order for me to put this"; mes "Bunny Band together..."; close; |