forked from mff/maptools
Ajout de nouveaux blocs indestructibles
This commit is contained in:
parent
4a4dfb77c4
commit
70dbd3519e
@ -219,6 +219,28 @@ minetest.register_node("maptools:sandstone_brick", {
|
||||
-- Compatibility for change made there ^
|
||||
minetest.register_alias("maptools:sandstonebrick","maptools:sandstone_brick")
|
||||
|
||||
minetest.register_node("maptools:desert_sandstone_brick", {
|
||||
description = S("Unbreakable Desert Sandstone Brick"),
|
||||
range = 12,
|
||||
stack_max = 10000,
|
||||
tiles = {"default_desert_sandstone_brick.png"},
|
||||
drop = "",
|
||||
groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_drop = maptools.drop_msg
|
||||
})
|
||||
|
||||
minetest.register_node("maptools:silver_sandstone_brick", {
|
||||
description = S("Unbreakable Silver Sandstone Brick"),
|
||||
range = 12,
|
||||
stack_max = 10000,
|
||||
tiles = {"default_silver_sandstone_brick.png"},
|
||||
drop = "",
|
||||
groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_drop = maptools.drop_msg
|
||||
})
|
||||
|
||||
minetest.register_node("maptools:desert_stone", {
|
||||
description = S("Unbreakable Desert Stone"),
|
||||
range = 12,
|
||||
@ -639,3 +661,4 @@ minetest.register_node("maptools:chest",{
|
||||
on_metadata_inventory_take = chestdef.on_metadata_inventory_take,
|
||||
groups = {unbreakable = 1, not_in_creative_inventory = 1},
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user