Merge pull request #3 from JordanL2/spawn_cap

Spawning fixes: Min/max radius, node light check, spawn cap, biome check
This commit is contained in:
ElCeejo 2022-02-16 18:20:39 -08:00 committed by GitHub
commit 43c124db15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 15 deletions

View file

@ -124,7 +124,7 @@ local mob = {
damage = 2,
speed = 4,
tracking_range = 16,
despawn_after = 100,
despawn_after = nil,
-- Physics
max_fall = 3,
stepheight = 1.1,
@ -1242,4 +1242,4 @@ function creatura.register_mob(name, def)
end
minetest.register_entity(name, setmetatable(def, mob_meta))
end
end