mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-03-15 12:21:24 +00:00
Allow changing of static_save
This commit is contained in:
parent
64fc31c11a
commit
962ea68104
1 changed files with 3 additions and 1 deletions
|
@ -1245,7 +1245,9 @@ function creatura.register_mob(name, def)
|
|||
def.collide_with_objects = def.collide_with_objects or false
|
||||
def.visual = "mesh"
|
||||
def.makes_footstep_sound = def.makes_footstep_sound or false
|
||||
def.static_save = true
|
||||
if def.static_save ~= false then
|
||||
def.static_save = true
|
||||
end
|
||||
def.collisionbox = hitbox
|
||||
def._creatura_mob = true
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue