2017-07-13 12:33:00 +00:00
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
|
|
|
|
dofile(modpath.."/api.lua")
|
|
|
|
|
2018-01-03 20:24:36 +00:00
|
|
|
minetest.register_entity("shooter:turret_entity", {
|
|
|
|
visual = "sprite",
|
|
|
|
textures = {"blank.png"},
|
|
|
|
on_activate = function(self)
|
|
|
|
self.object:remove()
|
|
|
|
end,
|
|
|
|
})
|