summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wolf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Wolf.h')
-rw-r--r--src/Mobs/Wolf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Mobs/Wolf.h b/src/Mobs/Wolf.h
index 6ce708a52..d3b689ef3 100644
--- a/src/Mobs/Wolf.h
+++ b/src/Mobs/Wolf.h
@@ -59,6 +59,23 @@ public:
virtual void InStateIdle(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
+ virtual void InheritFromParents(cMonster * a_Parent1, cMonster * a_Parent2) override;
+ virtual void GetBreedingItems(cItems & a_Items) override
+ {
+ a_Items.Add(E_ITEM_RAW_BEEF);
+ a_Items.Add(E_ITEM_STEAK);
+ a_Items.Add(E_ITEM_RAW_PORKCHOP);
+ a_Items.Add(E_ITEM_COOKED_PORKCHOP);
+ a_Items.Add(E_ITEM_RAW_CHICKEN);
+ a_Items.Add(E_ITEM_COOKED_CHICKEN);
+ a_Items.Add(E_ITEM_RAW_MUTTON);
+ a_Items.Add(E_ITEM_COOKED_MUTTON);
+ a_Items.Add(E_ITEM_RAW_RABBIT);
+ a_Items.Add(E_ITEM_COOKED_RABBIT);
+ a_Items.Add(E_ITEM_ROTTEN_FLESH);
+ }
+
+
protected:
bool m_IsSitting;