backported confifurable nyancat the horrible flying pig
* backported from 74fc8110c1
* closed https://codeberg.org/minenux/minetest-mod-mobs_doomed/issues/8
This commit is contained in:
parent
971ba0f058
commit
e114cb543f
6
init.lua
6
init.lua
@ -16,6 +16,8 @@ if mobs_doomed.regulars == nil then
|
||||
mobs_doomed.regulars = true
|
||||
end
|
||||
|
||||
-- Enable NyanCat
|
||||
dmobs.allow_nyanc = minetest.settings:get_bool("dmobs.allow_nyanc") or false
|
||||
|
||||
-- Enable fireballs/explosions
|
||||
mobs_doomed.destructive = minetest.settings:get_bool("mobs_doomed.destructive") or false
|
||||
@ -79,9 +81,13 @@ local mobslist = {
|
||||
|
||||
if mobs_doomed.regulars then
|
||||
for _,mobname in pairs(mobslist) do
|
||||
if mobslist == "nyan" and dmobs.allow_nyanc then
|
||||
loadmob("nyan")
|
||||
else
|
||||
loadmob(mobname)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
---------------
|
||||
-- dragons!! --
|
||||
|
@ -9,3 +9,7 @@ mobs_doomed.destructive (Fire balls will be destructive) bool false
|
||||
|
||||
# If disabled only a common dragon will be spawned
|
||||
mobs_doomed.dragons (Enable all the dragons not only common) bool true
|
||||
|
||||
# if enabled will load a mobs very ugply and stupid.. nyancat.. a pig that fly and leve arciris
|
||||
mobs_doomeds.allow_nyanc (Enable the stupid nyanCat mob fliying pig) bool false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user