summaryrefslogtreecommitdiff
path: root/npc/items/shovel.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-12 01:08:37 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-12 01:08:37 -0300
commit293665cf52fea28907f249da3e8c5f9c6a60ada6 (patch)
tree75e13e932a0d788627ee1403c8f97579d005c633 /npc/items/shovel.txt
parent21941ff8ecd37e7f3d0dc18fa5942d9b06f72ff5 (diff)
downloadserverdata-293665cf52fea28907f249da3e8c5f9c6a60ada6.tar.gz
serverdata-293665cf52fea28907f249da3e8c5f9c6a60ada6.tar.bz2
serverdata-293665cf52fea28907f249da3e8c5f9c6a60ada6.tar.xz
serverdata-293665cf52fea28907f249da3e8c5f9c6a60ada6.zip
Fix Treasure Map bugs, update translationsr09.2_190610
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r--npc/items/shovel.txt22
1 files changed, 12 insertions, 10 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 9537ef3da..f528764c0 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -79,9 +79,9 @@ function script shovel_scatter {
deletearray $WorldBuriedTreasures_x[.@i], 1;
deletearray $WorldBuriedTreasures_y[.@i], 1;
getitem .@id, .@amount;
- narrator S_FIRST_BLANK_LINE,
- l("You found something!"),
- l("It's @@ @@.", .@amount, getitemname(.@id));
+ mesn strcharinfo(0);
+ mesc l("You found something!");
+ mesc l("It's @@ @@.", .@amount, getitemname(.@id));
next;
closeclientdialog;
return 1;
@@ -105,9 +105,9 @@ function script shovel_scatter {
deletearray $@WBT_Random_x[.@i], 1;
deletearray $@WBT_Random_y[.@i], 1;
getitem .@id, .@amount;
- narrator S_FIRST_BLANK_LINE,
- l("You found something!"),
- l("It's @@ @@.", .@amount, getitemname(.@id));
+ mesn strcharinfo(0);
+ mesc l("You found something!");
+ mesc l("It's @@ @@.", .@amount, getitemname(.@id));
next;
closeclientdialog;
return 1;
@@ -397,14 +397,16 @@ function script shovel_randomtreasure {
ShovelQuests_AssignedX=0;
ShovelQuests_AssignedY=0;
- narrator S_FIRST_BLANK_LINE,
- l("You found something!"),
- l("It's @@ @@.", .@amount, getitemname(.@id));
+ mesn strcharinfo(0);
+ mesc l("You found something!");
+ mesc l("It's @@ @@.", .@amount, getitemname(.@id));
+ next;
+ closeclientdialog;
return;
}
function script shovel_genrandtreasure {
- .@m$=any_of("007-1", "011-1", "015-1", "018-1");
+ .@m$=any("007-1", "011-1", "015-1", "018-1");
// Dangerous
do {
.@x=rand2(20, getmapinfo(MAPINFO_SIZE_X, .@m$)-20);