mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +01:00
Programmer now outputs the node pos, usefull for doors
This commit is contained in:
parent
7fd2fc66d5
commit
8f7e99f76e
@ -36,6 +36,8 @@ local function read_number(itemstack, user, pointed_thing)
|
||||
numbers[number] = true
|
||||
user:set_attribute("tubelib_prog_numbers", minetest.serialize(numbers))
|
||||
minetest.chat_send_player(user:get_player_name(), "[Tubelib Programmer] number "..number.." read")
|
||||
else
|
||||
minetest.chat_send_player(user:get_player_name(), "[Tubelib Programmer] Unknown node on "..minetest.pos_to_string(pos))
|
||||
end
|
||||
else
|
||||
return reset_programmer(itemstack, user, pointed_thing)
|
||||
|
Loading…
Reference in New Issue
Block a user