Skip to content
Snippets Groups Projects
Commit 211d0076 authored by rnd1's avatar rnd1
Browse files

mesecons compatibility: can be activated by mesecons signal and can activate...

mesecons compatibility: can be activated by mesecons signal and can activate mesecons blocks. to turn on wires use delayer first
parent 953d0558
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ basic_robot.commands.take_item = function(name,item, inventory,dir)
inv:add_item("main",stack);
tinv:remove_item(inventory, stack);
return contains
return true
end
basic_robot.commands.check_inventory = function(name,itemname, inventory,dir)
......
......@@ -776,6 +776,7 @@ minetest.register_entity("basic_robot:robot",{
local spawn_robot = function(pos,node,ttl)
if type(ttl) ~= "number" then ttl = 0 end
if ttl<0 then return end
local meta = minetest.get_meta(pos);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment