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.txt7
3 files changed, 51 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 7d408eb67..e21b419b7 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -13090,6 +13090,27 @@ item_db: (
bpet;
">
},
+{
+ Id: 4014
+ AegisName: "TamedSnakeEgg"
+ Name: "Tamed Snake 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 f1945e282..95ba7b242 100644
--- a/db/re/pet_db.conf
+++ b/db/re/pet_db.conf
@@ -309,6 +309,30 @@ pet_db:(
PetScript: <" petloot 3; ">
EquipScript: <"if (getpetinfo(3) > 900) { bonus bDef, 5; } ">
},
+{
+ Id: 1122
+ SpriteName: "Tamed Snake"
+ Name: "Tamed Snake"
+ TamingItem: "DivineApple"
+ EggItem: "TamedSnakeEgg"
+ FoodItem: "MoubooSteak"
+ FoodEffectiveness: 100
+ HungerDelay: 120
+ Intimacy: {
+ Initial: 250
+ FeedIncrement: 100
+ OverFeedDecrement: 10
+ OwnerDeathDecrement: 10
+ }
+ CaptureRate: 0
+ Speed: 220
+ SpecialPerformance: true
+ AttackRate: 450
+ DefendRate: 500
+ ChangeTargetRate: 850
+ PetScript: <" petloot 3; ">
+ EquipScript: <"if (getpetinfo(3) > 900) { bonus bFlee, 7; } ">
+},
// TODO: What's the difference from AnimalBones and Bone ?
{
Id: 1190
diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt
index de0ead541..388df8af8 100644
--- a/npc/017-1/pet_detective.txt
+++ b/npc/017-1/pet_detective.txt
@@ -69,6 +69,7 @@ L_Menu:
rif(PDQ_CheckGHQ(Bat) >= 10000 && !countitem(BatEgg), l("Bat")),
rif(PDQ_CheckGHQ(Moggun) >= 10000 && !countitem(MoggunEgg), l("Moggun")),
rif(PDQ_CheckGHQ(GreenDragon) >= 10000 && !countitem(DragonHorn), l("Green Dragon")),
+ rif(PDQ_CheckGHQ(Snake) >= 10000 && !countitem(TamedSnakeEgg), l("Tamed Snake")),
rif(#LOGIN_ALLTIME >= 6 && !countitem(PiouEgg), l("Piou")),
l("Nothing at the moment.");
@@ -99,10 +100,14 @@ L_Menu:
.stock-=1;
break;
case 7:
- if (PDQ_InnerSwitch(GreenDragon,DragonScales, 65))
+ if (PDQ_InnerSwitch(GreenDragon, DragonScales, 65))
.stock-=1;
break;
case 8:
+ if (PDQ_InnerSwitch(Snake, SnakeTongue, 17))
+ .stock-=1;
+ break;
+ case 9:
if (PDQ_InnerSwitch(Piou, PiouFeathers, 80))
.stock-=1;
break;