mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +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:
parent
4b655d32cc
commit
cbb5522f05
@ -2213,8 +2213,7 @@ minetest.register_node("default:fence_wood", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
|
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,
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||||
flammable = 2},
|
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ minetest.register_node("fences:fence_wood", {
|
|||||||
inventory_image = "default_fence.png",
|
inventory_image = "default_fence.png",
|
||||||
wield_image = "default_fence.png",
|
wield_image = "default_fence.png",
|
||||||
paramtype = "light",
|
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',
|
drop = 'fences:fence_wood',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
@ -550,7 +550,7 @@ minetest.register_node("fences:fence_wood_13", { --right(2)+top(11)=13
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
--[[
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'fences:fence_wood 2',
|
output = 'fences:fence_wood 2',
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -558,7 +558,7 @@ minetest.register_craft({
|
|||||||
{'default:stick', 'default:stick', 'default:stick'},
|
{'default:stick', 'default:stick', 'default:stick'},
|
||||||
{'', '', ''},
|
{'', '', ''},
|
||||||
}
|
}
|
||||||
})
|
})]]
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'fences:fencegate',
|
output = 'fences:fencegate',
|
||||||
|
Loading…
Reference in New Issue
Block a user