diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-10-09 22:49:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 22:49:25 +0200 |
commit | 32ee1708a24836b26cd700eb42ad8264a3ecae83 (patch) | |
tree | bdd23de04c68c9be7c512ba37ce8968d6581b810 /src/Mobs/Wolf.h | |
parent | added check if the digger is a nullptr (#4981) (diff) | |
download | cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.gz cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.bz2 cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.lz cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.xz cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.zst cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Wolf.h | 17 |
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; |