mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-07-21 06:45:02 -04:00
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:
commit
43c124db15
2 changed files with 38 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue