summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-22 15:00:11 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-22 15:00:11 -0300
commit3082c815bf58a86c38a54131d5686b7d1752580f (patch)
tree4add670166d48c7a0c94592a234a1a3f2786d8c6
parent25976b12bcd125837d6aacc45926aeb75a7ca741 (diff)
downloadserverdata-3082c815bf58a86c38a54131d5686b7d1752580f.tar.gz
serverdata-3082c815bf58a86c38a54131d5686b7d1752580f.tar.bz2
serverdata-3082c815bf58a86c38a54131d5686b7d1752580f.tar.xz
serverdata-3082c815bf58a86c38a54131d5686b7d1752580f.zip
Fish box
-rw-r--r--db/re/item_db.conf4
-rw-r--r--npc/003-1/eugene.txt29
2 files changed, 31 insertions, 2 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index bd15a1dc7..197155969 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -2488,8 +2488,8 @@ item_db: (
AegisName: "FishBox"
Name: "Fish Box"
Type: "IT_ETC"
- Buy: 2
- Sell: 1
+ Buy: 1250
+ Sell: 345
Weight: 1250
Gender: "SEX_ANY"
WeaponLv: 0
diff --git a/npc/003-1/eugene.txt b/npc/003-1/eugene.txt
index 4d56647a3..f5c6eb811 100644
--- a/npc/003-1/eugene.txt
+++ b/npc/003-1/eugene.txt
@@ -76,11 +76,40 @@ L_QuestDone:
speech
l("Ahoy, @@!", strcharinfo(0)),
l("Are the fish biting today?");
+
+ switch (select(l("Yes, everything is going great, thank you!"),
+ l("Actually, I have bad luck. Could you sell me a box full of fresh fish?")))
+ {
+ case 1:
+ speech S_FIRST_BLANK_LINE,
+ l("Glad to hear. I swear, the fish I picked before you arrive was THAT big!");
+ close;
+ case 2:
+ speech S_FIRST_BLANK_LINE,
+ l("Earlier I hadn't any, but now that I have the baits, I will be glad to sell some to you!");
+ openshop;
+ closedialog;
+ }
+
close;
OnInit:
+ tradertype(NST_MARKET);
+ sellitem FishBox, 2500, 5;
+ sellitem CommonCarp, -1, 3;
+ sellitem GrassCarp, -1, 1;
+
.sex = G_MALE;
.distance = 12;
end;
+
+OnClock0611:
+OnClock1200:
+OnClock1801:
+OnClock0003:
+ restoreshopitem FishBox, 2500, 5;
+ restoreshopitem CommonCarp, -1, 3;
+ restoreshopitem GrassCarp, -1, 1;
+ end;
}