1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

[fences & default] Give default:fence_wood instead of fences' ones

- crafting fences will give you default:fence_wood instead of fences:fence_wood
 - default:fence_wood is in the creative inventory now ; fences:fence_wood isn't any more
This commit is contained in:
LeMagnesium 2016-04-06 19:15:51 +02:00
parent 4b655d32cc
commit cbb5522f05
2 changed files with 4 additions and 5 deletions

View File

@ -2213,8 +2213,7 @@ minetest.register_node("default:fence_wood", {
type = "fixed",
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
},
groups = {not_in_creative_inventory = 1, choppy = 2, oddly_breakable_by_hand = 2,
flammable = 2},
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
sounds = default.node_sound_wood_defaults(),
})

View File

@ -101,7 +101,7 @@ minetest.register_node("fences:fence_wood", {
inventory_image = "default_fence.png",
wield_image = "default_fence.png",
paramtype = "light",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1},
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,fences=1,not_in_creative_inventory=1},
drop = 'fences:fence_wood',
sunlight_propagates = true,
drawtype = "nodebox",
@ -550,7 +550,7 @@ minetest.register_node("fences:fence_wood_13", { --right(2)+top(11)=13
})
--[[
minetest.register_craft({
output = 'fences:fence_wood 2',
recipe = {
@ -558,7 +558,7 @@ minetest.register_craft({
{'default:stick', 'default:stick', 'default:stick'},
{'', '', ''},
}
})
})]]
minetest.register_craft({
output = 'fences:fencegate',