1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-18 15:40:25 +02:00

Updated pipeworks, mesecons, and fixed typo

- Fixing missing comma in building_blocks:sticks' new craft recipe
- Updated pipeworks and mesecons : if changed breaks, revert this commit (works well on local server)
This commit is contained in:
LeMagnesium
2015-02-27 17:28:41 +01:00
parent 3fcfff4bcd
commit 4ede79aae6
49 changed files with 1206 additions and 511 deletions

View File

@ -32,12 +32,8 @@ minetest.register_node("pipeworks:trashcan", {
meta:set_string("infotext", "Trash Can")
meta:get_inventory():set_size("trash", 1)
end,
after_place_node = function(pos)
pipeworks.scan_for_tube_objects(pos)
end,
after_dig_node = function(pos)
pipeworks.scan_for_tube_objects(pos)
end,
after_place_node = pipeworks.after_place,
after_dig_node = pipeworks.after_dig,
on_metadata_inventory_put = function(pos, listname, index, stack, player)
minetest.get_meta(pos):get_inventory():set_stack(listname, index, ItemStack(""))
end,