Skip to content
Snippets Groups Projects
Commit ac024f00 authored by D00Med's avatar D00Med
Browse files

taikedz changes to dmobs.regulars setting

parent 488d133c
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,14 @@ dofile(minetest.get_modpath("dmobs").."/api.lua")
-- Enable dragons (disable to remove tamed dragons and dragon bosses)
dmobs.dragons = minetest.setting_getbool("dmobs.dragons")
if not dmobs.dragons = nil then
if dmobs.dragons = nil then
dmobs.dragons = true
end
dmobs.regulars = minetest.setting_getbool("dmobs.regulars") or true
dmobs.regulars = minetest.setting_getbool("dmobs.regulars")
if dmobs.regulars = nil then
dmobs.regulars = true
end
-- Enable fireballs/explosions
dmobs.destructive = minetest.setting_getbool("dmobs.destructive") or false
......@@ -59,6 +63,7 @@ local mobslist = {
"whale",
"badger",
"butterfly",
"elephant",
-- baddies
"pig_evil",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment