summaryrefslogtreecommitdiff
path: root/npc/re/quests/eden/eden_iro.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/quests/eden/eden_iro.txt')
-rw-r--r--npc/re/quests/eden/eden_iro.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt
index 874e514a3..3e5ae39fe 100644
--- a/npc/re/quests/eden/eden_iro.txt
+++ b/npc/re/quests/eden/eden_iro.txt
@@ -142,7 +142,7 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
mes "[Phelix]";
mes "How many do you want?";
mes "^ff0000You have enough for up to " + .@available + " Carrots.^000000";
- input .@input;
+ input(.@input);
next;
if (.@input < 1 || .@input > 10000) {
mes "[Phelix]";
@@ -321,12 +321,13 @@ moc_para01,50,39,4 script Eve Natalia 4_F_SITDOWN,{
mes "So do you want to trade the 1st one in your inventory for ^00CC00"+.@amount+" Random Safe to 7 Certificates^000000?";
mes "Tell me '1' if you do, or '0' to cancel.";
next;
- input .@input;
+ input(.@input);
if (.@input < 0 || .@input > 1) {
mes "[Eve Natalia]";
mes "It is a 0 or 1, it can't be that difficult.";
close;
- } else if (.@input == 0) {
+ }
+ if (.@input == 0) {
mes "[Eve Natalia]";
mes "It's best to be sure before trading, have a good day.";
close;
@@ -417,12 +418,13 @@ L_Exchange:
mes "I can give you up to 60.";
mes "Type 0 to cancel.";
next;
- input .@amount;
- if (.@amount == 0) {
+ input(.@amount);
+ if (.@amount <= 0) {
mes "[Trader Machine]";
mes "Cancelled.";
close;
- } else if (.@amount < 0 || .@amount > 60) {
+ }
+ if (.@amount > 60) {
mes "[Trader Machine]";
mes "I said only 60 max.";
close;
@@ -835,8 +837,8 @@ OnInit:
initnpctimer;
end;
OnTimer5000:
- specialeffect(EF_REFINEOK, AREA, getnpcid(0, "Suhnmi#eden"));
- specialeffect(EF_REFINEOK, AREA, getnpcid(0, "Mighty Hammer#ed"));
+ specialeffect(EF_REFINEOK, AREA, getnpcid("Suhnmi#eden"));
+ specialeffect(EF_REFINEOK, AREA, getnpcid("Mighty Hammer#ed"));
initnpctimer;
end;
}