diff --git a/init.lua b/init.lua index 755c3e5..79214a9 100644 --- a/init.lua +++ b/init.lua @@ -13,6 +13,9 @@ dofile(dpath .. "api.lua") dmobs.dragons = minetest.settings:get_bool("dmobs.dragons", true) dmobs.regulars = minetest.settings:get_bool("dmobs.regulars", true) +-- Enable NyanCat +dmobs.allow_nyanc = minetest.settings:get_bool("dmobs.allow_nyanc", true) + -- Enable fireballs/explosions dmobs.destructive = minetest.settings:get_bool("dmobs.destructive", false) @@ -48,7 +51,11 @@ if dmobs.regulars then dofile(dpath .. "mobs/panda.lua") dofile(dpath .. "mobs/tortoise.lua") dofile(dpath .. "mobs/golem_friendly.lua") - dofile(dpath .. "mobs/nyan.lua") + + if dmobs.allow_nyanc then + dofile(dpath .. "mobs/nyan.lua") + end + dofile(dpath .. "mobs/gnorm.lua") dofile(dpath .. "mobs/hedgehog.lua") dofile(dpath .. "mobs/owl.lua")