From 851f07210db1aa3938b76c478565f02974a4b648 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 22 Jun 2018 12:37:54 -0300 Subject: Allow Neko and Inar to dispute shop prices (arrow stock and Croconut Box price) --- npc/003-1/neko.txt | 4 ++++ npc/003-1/shop.txt | 6 +++--- npc/functions/weather.txt | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'npc') 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 -- cgit v1.2.3-70-g09d2