mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-12 08:18:30 +02:00
bug fix
This commit is contained in:
parent
876218ea81
commit
e9050c43fd
@ -128,7 +128,7 @@ minetest.register_node("technic:gold_chest".. state, {
|
|||||||
tiles = {"technic_gold_chest_top.png", "technic_gold_chest_top.png", "technic_gold_chest_side.png",
|
tiles = {"technic_gold_chest_top.png", "technic_gold_chest_top.png", "technic_gold_chest_side.png",
|
||||||
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_front"..state..".png"},
|
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_front"..state..".png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1,not_in_creative_inventory=1},
|
||||||
tube={insert_object=function(pos,node,stack,direction)
|
tube={insert_object=function(pos,node,stack,direction)
|
||||||
local meta=minetest.env:get_meta(pos)
|
local meta=minetest.env:get_meta(pos)
|
||||||
local inv=meta:get_inventory()
|
local inv=meta:get_inventory()
|
||||||
@ -320,7 +320,7 @@ minetest.register_node("technic:gold_locked_chest".. state, {
|
|||||||
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_locked"..state..".png"},
|
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_locked"..state..".png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
drop = "technic:gold_locked_chest",
|
drop = "technic:gold_locked_chest",
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1,not_in_creative_inventory=1},
|
||||||
tube={insert_object=function(pos,node,stack,direction)
|
tube={insert_object=function(pos,node,stack,direction)
|
||||||
local meta=minetest.env:get_meta(pos)
|
local meta=minetest.env:get_meta(pos)
|
||||||
local inv=meta:get_inventory()
|
local inv=meta:get_inventory()
|
||||||
|
Loading…
Reference in New Issue
Block a user