From 2ac0826042e03f3ecda16e33f5e3fd2eb66a88cc Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Sun, 9 Jul 2017 16:19:57 -0700 Subject: [PATCH] [mobs_monster] Update to Git commit 1c3d11c & patch 22b178b: Commit: https://github.com/tenplus1/mobs_animal/tree/1c3d11c Patch: https://github.com/AntumMT/mod-mobs_animal/tree/22b178b --- README.md | 6 +++--- mods/mobiles/general/mobs_animal/sheep.lua | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c44fd1f1..d85c9f7b 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m * mobiles/engine/ * [mobs_redo][] ([MIT][lic.mobs_redo] / Unspecified Creative Commons license) -- version: [7b02fef Git][ver.mobs_redo] *2017-07-08* ([patched][patch.mobs_redo]) ***UPDATE*** * mobiles/general/ - * [mobs_animal][] ([MIT][lic.mobs_animal]) -- version: [b40fe3a Git][ver.mobs_animal] *2017-07-03* ([patched][patch.mobs_animal]) + * [mobs_animal][] ([MIT][lic.mobs_animal]) -- version: [1c3d11c Git][ver.mobs_animal] *2017-07-09* ([patched][patch.mobs_animal]) * mobiles/passive/ * [mob_horse][] -- version: [dee3883 Git][ver.mob_horse] *2017-06-01* ([patched][patch.mob_horse]) * [peaceful_npc][] ([WTFPL][lic.wtfpl]) -- version: [2b3a7a5 Git][ver.peaceful_npc] *2015-08-09* ([patched][patch.peaceful_npc]) @@ -471,7 +471,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [ver.mob-engine]: https://github.com/minetest-mods/mob-engine/tree/138f655 [ver.mob_horse]: https://github.com/tenplus1/mob_horse/tree/dee3883 [ver.mobf_core]: https://github.com/sapier/mobf_core/tree/1199ca9 -[ver.mobs_animal]: https://github.com/tenplus1/mobs_animal/tree/b40fe3a +[ver.mobs_animal]: https://github.com/tenplus1/mobs_animal/tree/1c3d11c [ver.mobs_goblins]: https://github.com/FreeLikeGNU/mobs_goblins/tree/acabe4d [ver.mobs_monster]: https://github.com/tenplus1/mobs_monster/tree/5d45320 [ver.mobs_redo]: https://github.com/tenplus1/mobs_redo/tree/7b02fef @@ -563,7 +563,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [patch.mob-engine]: https://github.com/AntumMT/mp-mob-engine/tree/93575e0 [patch.mob_horse]: https://github.com/AntumMT/mod-mob_horse/tree/4fb526b [patch.mobf_core]: https://github.com/AntumMT/mp-mobf_core/tree/d532137 -[patch.mobs_animal]: https://github.com/AntumMT/mod-mobs_animal/tree/87c54f5 +[patch.mobs_animal]: https://github.com/AntumMT/mod-mobs_animal/tree/22b178b [patch.mobs_goblins]: https://github.com/AntumMT/mod-mobs_goblins/tree/b5cee44 [patch.mobs_monster]: https://github.com/AntumMT/mod-mobs_monster/tree/4204394 [patch.mobs_redo]: https://github.com/AntumMT/mod-mobs_redo/tree/5f4c18f diff --git a/mods/mobiles/general/mobs_animal/sheep.lua b/mods/mobiles/general/mobs_animal/sheep.lua index 626186a0..33e3623f 100644 --- a/mods/mobiles/general/mobs_animal/sheep.lua +++ b/mods/mobiles/general/mobs_animal/sheep.lua @@ -69,7 +69,11 @@ for _, col in ipairs(all_colours) do replace_with = "air", replace_offset = -1, fear_height = 3, - +--[[ + on_replace = function(self, pos, oldnode, newnode) + print ("---- replaced") ; return false -- false to keep node, true to replace + end, +]] on_rightclick = function(self, clicker) --are we feeding?