mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-10 01:40:21 +01:00
initial_properties #2
This commit is contained in:
parent
130d67a8f7
commit
96e4d5190e
5
api.lua
5
api.lua
@ -4216,7 +4216,8 @@ function mobs:register_arrow(name, def)
|
||||
visual_size = def.visual_size,
|
||||
textures = def.textures,
|
||||
collisionbox = def.collisionbox or {-.1, -.1, -.1, .1, .1, .1},
|
||||
glow = def.glow
|
||||
glow = def.glow,
|
||||
automatic_face_movement_dir = def.rotate and (def.rotate - (pi / 180)) or false,
|
||||
},
|
||||
|
||||
velocity = def.velocity,
|
||||
@ -4231,8 +4232,6 @@ function mobs:register_arrow(name, def)
|
||||
owner_id = def.owner_id,
|
||||
rotate = def.rotate,
|
||||
|
||||
automatic_face_movement_dir = def.rotate and (def.rotate - (pi / 180)) or false,
|
||||
|
||||
on_activate = def.on_activate,
|
||||
|
||||
on_punch = def.on_punch or function(self, hitter, tflp, tool_capabilities, dir)
|
||||
|
Loading…
Reference in New Issue
Block a user