Make chezz uncraftable
parent
8cdb717ff0
commit
589d068a0e
|
@ -578,19 +578,19 @@ function realchess.on_move(pos, from_list, from_index)
|
|||
end
|
||||
|
||||
minetest.register_node(":realchess:chessboard", {
|
||||
description = "Chess Board",
|
||||
description = "Chess Board (Legacy item)",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
inventory_image = "chessboard_top.png",
|
||||
wield_image = "chessboard_top.png",
|
||||
tiles = {"chessboard_top.png", "chessboard_top.png", "chessboard_sides.png"},
|
||||
groups = {choppy=3, oddly_breakable_by_hand=2, flammable=3},
|
||||
groups = {choppy=3, oddly_breakable_by_hand=2, flammable=3, not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
node_box = {type = "fixed", fixed = {-.375, -.5, -.375, .375, -.4375, .375}},
|
||||
sunlight_propagates = true,
|
||||
on_rotate = screwdriver.rotate_simple,
|
||||
can_dig = realchess.dig,
|
||||
-- can_dig = realchess.dig,
|
||||
on_construct = realchess.init,
|
||||
on_receive_fields = realchess.fields,
|
||||
allow_metadata_inventory_move = realchess.move,
|
||||
|
@ -627,10 +627,11 @@ register_piece("bishop", 2)
|
|||
register_piece("queen")
|
||||
register_piece("king")
|
||||
|
||||
--[[
|
||||
minetest.register_craft({
|
||||
output = "realchess:chessboard",
|
||||
recipe = {
|
||||
{"dye:black", "dye:white", "dye:black"},
|
||||
{"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood"}
|
||||
}
|
||||
})
|
||||
})--]]
|
||||
|
|
Loading…
Reference in New Issue