Mehr Mods hinzugefügt

This commit is contained in:
N-Nachtigal 2025-05-10 23:49:11 +02:00
parent 92a55732cf
commit 9e345a25fb
2805 changed files with 2096013 additions and 0 deletions

View file

@ -0,0 +1,44 @@
-- load settings
local ENABLE_LARGE = core.settings:get_bool("mobs_sharks.enable_large") ~= false
local ENABLE_MEDIUM = core.settings:get_bool("mobs_sharks.enable_medium") ~= false
local ENABLE_SMALL = core.settings:get_bool("mobs_sharks.enable_small") ~= false
-- Shark spawn examples
if ENABLE_SMALL then
mobs:spawn({
name = "mobs_sharks:shark_sm",
nodes = {"group:water"},
neighbors = {"group:water", "seawrecks:woodship", "seawrecks:uboot"},
interval = 30,
chance = 20000,
max_height = 0
})
end
if ENABLE_MEDIUM then
mobs:spawn({
name = "mobs_sharks:shark_md",
nodes = {"group:water"},
neighbors = {"group:water", "seawrecks:woodship", "seawrecks:uboot"},
interval = 30,
chance = 20000,
max_height = 0
})
end
if ENABLE_LARGE then
mobs:spawn({
name = "mobs_sharks:shark_lg",
nodes = {"group:water"},
neighbors = {"group:water", "seawrecks:woodship", "seawrecks:uboot"},
interval = 30,
chance = 20000,
max_height = 0
})
end