tweak bucket again shutdown turret for debug
parent
50fdff34ec
commit
6876265538
|
@ -346,4 +346,4 @@ minetest.register_craft({
|
|||
output = "default:steel_ingot 2",
|
||||
recipe = "bucket:bucket_empty",
|
||||
})
|
||||
]]
|
||||
]]
|
Binary file not shown.
|
@ -79,6 +79,8 @@ minetest.register_entity("shooter:turret_entity", {
|
|||
-- Remove duplicates
|
||||
get_turret_entity(self.pos)
|
||||
end,
|
||||
|
||||
--[[
|
||||
on_rightclick = function(self, clicker)
|
||||
if self.player == nil then
|
||||
clicker:set_attach(self.object, "", {x=0,y=5,z=-8}, {x=0,y=0,z=0})
|
||||
|
@ -98,6 +100,8 @@ minetest.register_entity("shooter:turret_entity", {
|
|||
self.player = nil
|
||||
end
|
||||
end,
|
||||
]]
|
||||
|
||||
on_step = function(self, dtime)
|
||||
self.timer = self.timer + dtime
|
||||
if self.timer < 0.1 then
|
||||
|
|
Loading…
Reference in New Issue