summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/001-5/worker.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/001-5/worker.txt b/npc/001-5/worker.txt
index 500f46e33..8d21b0834 100644
--- a/npc/001-5/worker.txt
+++ b/npc/001-5/worker.txt
@@ -28,9 +28,9 @@
alreadyFinished();
mesn;
- mesq l("Hey dude. During this event you can trade one @@ for more... useful items.", getitemlink(.item));
+ mesq l("Hey dude. During this event you can trade one @@ for more... useful items.", getitemlink(.Item));
mesc l("Attempts for today: %d/%d", .@attempts, BaseLevel/10);
- if (countitem(.item) == 0)
+ if (countitem(.Item) == 0)
close;
next;
select(
@@ -38,32 +38,32 @@
l("2x Snake Egg"),
l("2x Bronze Gift"),
l("1600 GP"),
- rif(countitem(.item) >= 2, l("Trade 2 %s for a Silver Gift + a Bronze Gift", getitemname(.item))),
+ rif(countitem(.Item) >= 2, l("Trade 2 %s for a Silver Gift + a Bronze Gift", getitemname(.Item))),
l("Nothing right now.")
);
switch (@menu) {
case 1:
- delitem .item, 1;
+ delitem .Item, 1;
getitem StrangeCoin, 12;
setq2 SQuest_WorkerDay, .@attempts+1;
break;
case 2:
- delitem .item, 1;
+ delitem .Item, 1;
getitem SnakeEgg, 2;
setq2 SQuest_WorkerDay, .@attempts+1;
break;
case 3:
- delitem .item, 1;
+ delitem .Item, 1;
getitem BronzeGift, 2;
setq2 SQuest_WorkerDay, .@attempts+1;
break;
case 4:
- delitem .item, 1;
+ delitem .Item, 1;
Zeny=Zeny+1600;
setq2 SQuest_WorkerDay, .@attempts+1;
break;
case 5:
- delitem .item, 2;
+ delitem .Item, 2;
getitem SilverGift, 1;
getitem BronzeGift, 1;
setq2 SQuest_WorkerDay, .@attempts+1;
@@ -75,12 +75,12 @@
close;
function alreadyFinished {
- mesc l("I already got enough %s, thank you.", getitemlink(.item)), 1;
+ mesc l("I already got enough %s, thank you.", getitemlink(.Item)), 1;
close;
}
OnInit:
- .item=Pearl;
+ .Item=Pearl;
.distance=4;
end;
}