sys4
c1da66a893
La récolte de d'une source d'acide ou de sable mouvant avec un seau vide donnait un "unknown item".
46 lines
1.4 KiB
Lua
46 lines
1.4 KiB
Lua
default.register_fence(
|
|
":nalc:fence_cobble",
|
|
{
|
|
description = "Cobble Fence",
|
|
texture = "default_fence_cobble.png",
|
|
material = "default:cobble",
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults()
|
|
})
|
|
|
|
default.register_fence(
|
|
":nalc:fence_desert_cobble",
|
|
{
|
|
description = "Desert Cobble Fence",
|
|
texture = "default_fence_desert_cobble.png",
|
|
material = "default:desert_cobble",
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults()
|
|
})
|
|
|
|
default.register_fence(
|
|
":nalc:fence_steelblock",
|
|
{
|
|
description = "Steel Block Fence",
|
|
texture = "default_fence_steelblock.png",
|
|
material = "default:steelblock",
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults()
|
|
})
|
|
|
|
default.register_fence(
|
|
":nalc:fence_brick",
|
|
{
|
|
description = "Brick Fence",
|
|
texture = "default_fence_brick.png",
|
|
material = "default:brick",
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
|
sounds = default.node_sound_wood_defaults()
|
|
})
|
|
|
|
-- Aliases
|
|
minetest.register_alias("nalc_default:fence_cobble", "nalc:fence_cobble")
|
|
minetest.register_alias("nalc_default:fence_desert_cobble", "nalc:fence_desert_cobble")
|
|
minetest.register_alias("nalc_default:fence_steelblock", "nalc:fence_steelblock")
|
|
minetest.register_alias("nalc_default:fence_brick", "nalc:fence_brick")
|