Minor changes
This commit is contained in:
parent
335fa84f6d
commit
c5bf909b78
@ -1,2 +1,3 @@
|
|||||||
default
|
default
|
||||||
mobs
|
mobs
|
||||||
|
wool
|
6
init.lua
6
init.lua
@ -2,10 +2,12 @@ dmobs = {}
|
|||||||
|
|
||||||
-- dmobs by D00Med
|
-- dmobs by D00Med
|
||||||
|
|
||||||
-- mounts api by blert2112
|
-- mounts api by D00Med and lib_mount api by blert2112
|
||||||
|
|
||||||
dofile(minetest.get_modpath("dmobs").."/api.lua")
|
dofile(minetest.get_modpath("dmobs").."/api.lua")
|
||||||
|
|
||||||
|
--peaceful mobs setting
|
||||||
|
|
||||||
if not minetest.setting_getbool("only_peaceful_mobs") then
|
if not minetest.setting_getbool("only_peaceful_mobs") then
|
||||||
dofile(minetest.get_modpath("dmobs").."/baddies.lua")
|
dofile(minetest.get_modpath("dmobs").."/baddies.lua")
|
||||||
end
|
end
|
||||||
@ -13,6 +15,8 @@ end
|
|||||||
-- Enable dragons (disable to remove tamed dragons and dragon bosses)
|
-- Enable dragons (disable to remove tamed dragons and dragon bosses)
|
||||||
dmobs.dragons = true
|
dmobs.dragons = true
|
||||||
|
|
||||||
|
--friendly mobs
|
||||||
|
|
||||||
mobs:register_mob("dmobs:panda", {
|
mobs:register_mob("dmobs:panda", {
|
||||||
type = "animal",
|
type = "animal",
|
||||||
passive = false,
|
passive = false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user