diff --git a/depends.txt b/depends.txt index cbfbcdb..d4c27fb 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,3 @@ default -mobs \ No newline at end of file +mobs +wool \ No newline at end of file diff --git a/init.lua b/init.lua index b997573..8009ded 100644 --- a/init.lua +++ b/init.lua @@ -2,10 +2,12 @@ dmobs = {} -- dmobs by D00Med --- mounts api by blert2112 +-- mounts api by D00Med and lib_mount api by blert2112 dofile(minetest.get_modpath("dmobs").."/api.lua") +--peaceful mobs setting + if not minetest.setting_getbool("only_peaceful_mobs") then dofile(minetest.get_modpath("dmobs").."/baddies.lua") end @@ -13,6 +15,8 @@ end -- Enable dragons (disable to remove tamed dragons and dragon bosses) dmobs.dragons = true +--friendly mobs + mobs:register_mob("dmobs:panda", { type = "animal", passive = false,