forked from mtcontrib/maidroid
Brushup maidroid/api.lua
This commit is contained in:
parent
88ee24b140
commit
959d308048
@ -250,15 +250,15 @@ end)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_entity("maidroid:dummy_item", {
|
minetest.register_entity("maidroid:dummy_item", {
|
||||||
hp_max = 1,
|
hp_max = 1,
|
||||||
visual = "wielditem",
|
visual = "wielditem",
|
||||||
visual_size = {x = 0.025, y = 0.025},
|
visual_size = {x = 0.025, y = 0.025},
|
||||||
collisionbox = {0, 0, 0, 0, 0, 0},
|
collisionbox = {0, 0, 0, 0, 0, 0},
|
||||||
physical = false,
|
physical = false,
|
||||||
textures = {"air"},
|
textures = {"air"},
|
||||||
on_activate = on_activate,
|
on_activate = on_activate,
|
||||||
on_step = on_step,
|
on_step = on_step,
|
||||||
itemname = "",
|
itemname = "",
|
||||||
})
|
})
|
||||||
end) ()
|
end) ()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user