summaryrefslogtreecommitdiff
path: root/npc/merchants/coin_exchange.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/coin_exchange.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/coin_exchange.txt')
-rw-r--r--npc/merchants/coin_exchange.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/merchants/coin_exchange.txt b/npc/merchants/coin_exchange.txt
index 024cdf33e..b2c65f966 100644
--- a/npc/merchants/coin_exchange.txt
+++ b/npc/merchants/coin_exchange.txt
@@ -28,15 +28,15 @@
mes "What are you looking for?";
next;
if (strnpcinfo(1) == "Merchant of Manuk") {
- setarray .@Items[2],12342,12343,12348;
+ setarray .@items[2],12342,12343,12348;
set .@Book,11019; //Manuk_Selling_Item
- set .@Coin,6080; //Manuk_Coin
+ set .@coin,6080; //Manuk_Coin
set .@i, select("View item description:Manuk's Opportunity:Manuk's Courage:Manuk's Faith:Cancel");
}
else {
- setarray .@Items[2],12344,12345,12349;
+ setarray .@items[2],12344,12345,12349;
set .@Book,11018; //Splendide_Selling_Item
- set .@Coin,6081; //Splendide_Coin
+ set .@coin,6081; //Splendide_Coin
set .@i, select("View item description:Buy Pinguicula's Fruit Jam:Buy Luciola's Honey Jam:Buy Cornus' Tears:Do nothing");
}
mes .@n$;
@@ -47,11 +47,11 @@
end;
}
else if (.@i < 5) {
- mes "I can sell you 3 "+getitemname(.@Items[.@i])+" for ^3131FF1 coin^000000.";
+ mes "I can sell you 3 "+getitemname(.@items[.@i])+" for ^3131FF1 coin^000000.";
next;
switch(select("Purchase:Do not purchase")) {
case 1:
- if (countitem(.@Coin)) {
+ if (countitem(.@coin)) {
mes .@n$;
mes "Thank you for coming.";
delitem .@Coin,1;
@@ -84,4 +84,4 @@
}
}
man_in01,286,16,1 duplicate(merchant_13_2) Merchant of Manuk 4_MAN_PIOM
-spl_in01,110,326,5 duplicate(merchant_13_2) Merchant of Splendide 4_F_FAIRYKID4 \ No newline at end of file
+spl_in01,110,326,5 duplicate(merchant_13_2) Merchant of Splendide 4_F_FAIRYKID4