Add variable 'sneaker.spawn_cap':
Will set maximun number of sneakers that can be spawned in world at one time.
This commit is contained in:
parent
a52acac435
commit
beaff3d886
2
init.lua
2
init.lua
@ -9,6 +9,8 @@ function sneaker.log(message)
|
||||
minetest.log("action", "[" .. sneaker.modname .. "] " .. message)
|
||||
end
|
||||
|
||||
sneaker.spawn_cap = tonumber(minetest.settings:get("sneaker_spawn_cap")) or 50
|
||||
|
||||
local scripts = {
|
||||
"tnt_function",
|
||||
"spawn",
|
||||
|
Loading…
Reference in New Issue
Block a user