summaryrefslogtreecommitdiff
path: root/npc/merchants/elemental_trader.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-10 04:28:03 +0100
committerHaru <haru@dotalux.com>2013-11-10 04:31:28 +0100
commitb4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (patch)
treecbd305d3896bdc9f498ed9eb72836dc7b6c32b99 /npc/merchants/elemental_trader.txt
parentc9b63614070f7fce81c88cd60e5edad5a7730df0 (diff)
downloadhercules-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/merchants/elemental_trader.txt')
-rw-r--r--npc/merchants/elemental_trader.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/merchants/elemental_trader.txt b/npc/merchants/elemental_trader.txt
index 518f782a9..a1f255743 100644
--- a/npc/merchants/elemental_trader.txt
+++ b/npc/merchants/elemental_trader.txt
@@ -79,8 +79,8 @@ ama_in02,61,27,7 script Alchemist#ama 4_M_ALCHE_B,{
mes "[Laspuchin Gregory]";
mes "Uh-huh, what did you bring?";
next;
- setarray .@Items[1],995,997,994,996;
- set .@i, .@Items[select("Mystic Frozen:Great Nature:Flame Heart:Rough Wind")];
+ setarray .@items[1],995,997,994,996;
+ set .@i, .@items[select("Mystic Frozen:Great Nature:Flame Heart:Rough Wind")];
mes "[Laspuchin Gregory]";
if (countitem(.@i) > 7) {
mes "I will take 8 of them and";
@@ -93,7 +93,7 @@ ama_in02,61,27,7 script Alchemist#ama 4_M_ALCHE_B,{
next;
set .@menu$, "";
for(set .@j,1; .@j<5; set .@j,.@j+1) {
- if (.@Items[.@j] != .@i) set .@menu$, .@menu$+getitemname(.@Items[.@j]);
+ if (.@items[.@j] != .@i) set .@menu$, .@menu$+getitemname(.@items[.@j]);
set .@menu$, .@menu$+":";
}
set .@menu$, .@menu$+"Cancel the trade";
@@ -130,7 +130,7 @@ ama_in02,61,27,7 script Alchemist#ama 4_M_ALCHE_B,{
}
else {
delitem .@i,8;
- getitem .@Items[.@j],1;
+ getitem .@items[.@j],1;
mes "Keheheh! You've chosen a good one!";
mes "Use it well...";
mes "Bring me other stones if you have them!";