summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf21
-rw-r--r--db/re/pet_db.conf24
-rw-r--r--npc/017-1/pet_detective.txt5
3 files changed, 50 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 8e54658b9..f50ff9a80 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -12378,6 +12378,27 @@ item_db: (
bpet;
">
},
+{
+ Id: 4009
+ AegisName: "DuckEgg"
+ Name: "Duck Egg"
+ Type: "IT_PETEGG"
+ Buy: 90000
+ Sell: 4000
+ Weight: 360
+ KeepAfterUse: true
+ Trade: {
+ partneroverride: true
+ notrade: true
+ nodrop: true
+ nogstorage: true
+ nomail: true
+ noauction: true
+ }
+ Script: <"
+ bpet;
+ ">
+},
//
// Dyes
diff --git a/db/re/pet_db.conf b/db/re/pet_db.conf
index 0ab13cc13..665c48857 100644
--- a/db/re/pet_db.conf
+++ b/db/re/pet_db.conf
@@ -118,6 +118,30 @@ pet_db:(
EquipScript: <" bonus bDex, 4; ">
},
{
+ Id: 1029
+ SpriteName: "DangerousDuck"
+ Name: "Dangerous Duck"
+ TamingItem: "DuckFeather"
+ EggItem: "DuckEgg"
+ FoodItem: "CherryCake"
+ FoodEffectiveness: 100
+ HungerDelay: 120
+ Intimacy: {
+ Initial: 250
+ FeedIncrement: 100
+ OverFeedDecrement: 10
+ OwnerDeathDecrement: 10
+ }
+ CaptureRate: 1000
+ Speed: 220
+ SpecialPerformance: true
+ AttackRate: 450
+ DefendRate: 500
+ ChangeTargetRate: 850
+ PetScript: <" petloot 3; ">
+ EquipScript: <" bonus bAddStealRate,15; bonus bHPGainValue,1; ">
+},
+{
Id: 1030
SpriteName: "Cute Maggot"
Name: "Cute Maggot"
diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt
index 3eb094fd1..358faba80 100644
--- a/npc/017-1/pet_detective.txt
+++ b/npc/017-1/pet_detective.txt
@@ -65,6 +65,7 @@ L_Menu:
rif(PDQ_CheckGHQ(Maggot) >= 10000 && !countitem(MaggotCocoon), l("Cute Maggot")),
rif(PDQ_CheckGHQ(ForestMushroom) >= 10000 && !countitem(ForestShroomEgg), l("Forest Mushroom")),
rif(PDQ_CheckGHQ(Fluffy) >= 10000 && !countitem(FluffyEgg), l("Commmon Fluffy")),
+ rif(PDQ_CheckGHQ(Duck) >= 10000 && !countitem(DuckEgg), l("Duck")),
rif(#LOGIN_ALLTIME >= 12 && !countitem(PiouEgg), l("Piou")),
l("Nothing at the moment.");
@@ -83,6 +84,10 @@ L_Menu:
.stock-=1;
break;
case 4:
+ if (PDQ_InnerSwitch(Duck, CommonCarp, 4))
+ .stock-=1;
+ break;
+ case 5:
if (PDQ_InnerSwitch(Piou, PiouFeathers, 80))
.stock-=1;
break;