add switch to disable nyan cat "dmobs.allow_nyanc"
This commit is contained in:
parent
b419af00d8
commit
74fc8110c1
9
init.lua
9
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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user