[ENTITIES/pyutest_mobs] Indent code
This commit is contained in:
parent
e7990620fa
commit
56ed399602
@ -12,62 +12,62 @@ dofile(modpath.."/necromancer.lua")
|
||||
local mapgen = minetest.get_mapgen_setting("mg_name")
|
||||
if mapgen ~= "flat" and mapgen ~= "singlenode" then
|
||||
mobs:spawn({
|
||||
name = "pyutest_mobs:monster",
|
||||
nodes = {"group:ground"},
|
||||
interval = 4,
|
||||
chance = 1,
|
||||
active_object_count = 3,
|
||||
min_light = 0,
|
||||
max_light = 8,
|
||||
max_height = PyuTest.OVERWORLD_TOP,
|
||||
min_height = PyuTest.SURFACE_BOTTOM,
|
||||
day_toggle = false
|
||||
name = "pyutest_mobs:monster",
|
||||
nodes = {"group:ground"},
|
||||
interval = 4,
|
||||
chance = 1,
|
||||
active_object_count = 3,
|
||||
min_light = 0,
|
||||
max_light = 8,
|
||||
max_height = PyuTest.OVERWORLD_TOP,
|
||||
min_height = PyuTest.OVERWORLD_SURFACE_BOTTOM,
|
||||
day_toggle = false
|
||||
})
|
||||
|
||||
mobs:spawn({
|
||||
name = "pyutest_mobs:monster",
|
||||
nodes = {"group:ground"},
|
||||
interval = 2,
|
||||
chance = 2,
|
||||
active_object_count = 6,
|
||||
min_light = 0,
|
||||
max_light = 8,
|
||||
min_height = PyuTest.SURFACE_BOTTOM - 1,
|
||||
max_height= PyuTest.OVERWORLD_BOTTOM
|
||||
name = "pyutest_mobs:monster",
|
||||
nodes = {"group:ground"},
|
||||
interval = 2,
|
||||
chance = 2,
|
||||
active_object_count = 6,
|
||||
min_light = 0,
|
||||
max_light = 8,
|
||||
min_height = PyuTest.OVERWORLD_SURFACE_BOTTOM - 1,
|
||||
max_height= PyuTest.OVERWORLD_BOTTOM
|
||||
})
|
||||
|
||||
mobs:spawn({
|
||||
name = "pyutest_mobs:human",
|
||||
nodes = {"group:ground"},
|
||||
interval = 3,
|
||||
chance = 4,
|
||||
active_object_count = 3,
|
||||
min_light = 9,
|
||||
max_light = 15,
|
||||
min_height = PyuTest.SURFACE_BOTTOM,
|
||||
day_toggle = true,
|
||||
name = "pyutest_mobs:human",
|
||||
nodes = {"group:ground"},
|
||||
interval = 3,
|
||||
chance = 4,
|
||||
active_object_count = 3,
|
||||
min_light = 9,
|
||||
max_light = 15,
|
||||
min_height = PyuTest.OVERWORLD_SURFACE_BOTTOM,
|
||||
day_toggle = true,
|
||||
})
|
||||
|
||||
mobs:spawn({
|
||||
name = "pyutest_mobs:mimic",
|
||||
nodes = {"group:ground"},
|
||||
interval = 3,
|
||||
chance = 18,
|
||||
active_object_count = 2,
|
||||
min_light = 0,
|
||||
max_light = 15,
|
||||
day_toggle = true,
|
||||
name = "pyutest_mobs:mimic",
|
||||
nodes = {"group:ground"},
|
||||
interval = 3,
|
||||
chance = 18,
|
||||
active_object_count = 2,
|
||||
min_light = 0,
|
||||
max_light = 15,
|
||||
day_toggle = true,
|
||||
})
|
||||
|
||||
mobs:spawn({
|
||||
name = "pyutest_mobs:firefly",
|
||||
nodes = {"group:ground", "air"},
|
||||
interval = 3,
|
||||
chance = 3,
|
||||
active_object_count = 4,
|
||||
min_light = 0,
|
||||
max_light = 9,
|
||||
day_toggle = false,
|
||||
min_height = PyuTest.SURFACE_BOTTOM
|
||||
name = "pyutest_mobs:firefly",
|
||||
nodes = {"group:ground", "air"},
|
||||
interval = 3,
|
||||
chance = 3,
|
||||
active_object_count = 4,
|
||||
min_light = 0,
|
||||
max_light = 9,
|
||||
day_toggle = false,
|
||||
min_height = PyuTest.OVERWORLD_SURFACE_BOTTOM
|
||||
})
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user