diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-22 12:37:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-22 12:37:54 -0300 |
commit | 851f07210db1aa3938b76c478565f02974a4b648 (patch) | |
tree | a4058fa15915c18a12aa401ee217fb89a5b685d0 | |
parent | 0f883c0815b5e44eab4543fef8b421c16a93108e (diff) | |
download | serverdata-851f07210db1aa3938b76c478565f02974a4b648.tar.gz serverdata-851f07210db1aa3938b76c478565f02974a4b648.tar.bz2 serverdata-851f07210db1aa3938b76c478565f02974a4b648.tar.xz serverdata-851f07210db1aa3938b76c478565f02974a4b648.zip |
Allow Neko and Inar to dispute shop prices (arrow stock and Croconut Box price)
-rw-r--r-- | npc/003-1/neko.txt | 4 | ||||
-rw-r--r-- | npc/003-1/shop.txt | 6 | ||||
-rw-r--r-- | npc/functions/weather.txt | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/npc/003-1/neko.txt b/npc/003-1/neko.txt index 0807a60af..34d3dd174 100644 --- a/npc/003-1/neko.txt +++ b/npc/003-1/neko.txt @@ -69,6 +69,8 @@ OnInit: sellitem LeatherShirt, 120000, 1; sellitem ShortTankTop, 80000, 1; sellitem TrainingBow, 990, 2; + sellitem Arrow, -1, rand(10000,30000); + sellitem CroconutBox, rand(2850,3000), 4; .sex = G_MALE; .distance = 5; @@ -78,6 +80,8 @@ OnClock2359: restoreshopitem LeatherShirt, 120000, 1; restoreshopitem TrainingBow, 990, 2; restoreshopitem ShortTankTop, 80000, 1; + restoreshopitem Arrow, -1, rand(10000,30000); + restoreshopitem CroconutBox, rand(2850,3000), 4; end; } diff --git a/npc/003-1/shop.txt b/npc/003-1/shop.txt index b6fd283d3..c4180337f 100644 --- a/npc/003-1/shop.txt +++ b/npc/003-1/shop.txt @@ -13,7 +13,7 @@ OnInit: sellitem DesertHat, -1, 8; sellitem SilkRobe, -1, 1; sellitem Bread, -1, 15; - sellitem CroconutBox, 2800, 6; + sellitem CroconutBox, rand(2800,3050), 6; sellitem EmptyBottle, -1, 3; // You can buy some empty bottles here, but they're scarse .sex = G_OTHER; @@ -26,11 +26,11 @@ OnClock1757: OnClock0000: restoreshopitem YellowDye, -1, 2; restoreshopitem Knife, -1, 5; - restoreshopitem Arrow, -1, 30000; + restoreshopitem Arrow, -1, rand(10000,30000); restoreshopitem DesertHat, -1, 8; restoreshopitem SilkRobe, -1, 1; restoreshopitem Bread, -1, 15; - restoreshopitem CroconutBox, 3000, 6; + restoreshopitem CroconutBox, rand(2800,3050), 6; restoreshopitem EmptyBottle, -1, 3; } diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt index 344023a54..f764f6350 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -116,7 +116,7 @@ OnMinute45: } htidelete(.@hti); - // During night, monsters respawn 30% faster + // During night, normal monsters respawn 30% faster. (Bifs and Bosses are immune) if (is_night()) setbattleflag("mob_spawn_delay", 70); else |