Add Hard Clay and Desert Stone Tile nodes
This commit is contained in:
parent
95af0c5e59
commit
f4f17cb4fc
16
crafts.lua
16
crafts.lua
@ -113,6 +113,14 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:desertstone_tile",
|
||||
recipe = {
|
||||
{"default:desert_cobble", "default:desert_cobble"},
|
||||
{"default:desert_cobble", "default:desert_cobble"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:empty_shelf",
|
||||
recipe = {
|
||||
@ -173,6 +181,14 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:hard_clay",
|
||||
recipe = {
|
||||
{"default:clay", "default:clay"},
|
||||
{"default:clay", "default:clay"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:hive",
|
||||
recipe = {
|
||||
|
16
nodes.lua
16
nodes.lua
@ -263,6 +263,14 @@ xdecor.register("cushion", {
|
||||
node_box = xdecor.nodebox.slab_y(-0.5, 0.5)
|
||||
})
|
||||
|
||||
xdecor.register("desertstone_tile", {
|
||||
drawtype = "normal",
|
||||
description = "Desert Stone Tile",
|
||||
tiles = {"xdecor_desertstone_tile.png"},
|
||||
groups = {cracky=3},
|
||||
sounds = sound.stone
|
||||
})
|
||||
|
||||
local function door_access(door)
|
||||
if door:find("prison") then return true end
|
||||
return false
|
||||
@ -384,6 +392,14 @@ minetest.register_tool("xdecor:hammer", {
|
||||
inventory_image = "xdecor_hammer.png"
|
||||
})
|
||||
|
||||
xdecor.register("hard_clay", {
|
||||
drawtype = "normal",
|
||||
description = "Hard Clay",
|
||||
tiles = {"xdecor_hard_clay.png"},
|
||||
groups = {cracky=2},
|
||||
sounds = sound.stone
|
||||
})
|
||||
|
||||
xdecor.register("ivy", {
|
||||
description = "Ivy",
|
||||
drawtype = "signlike",
|
||||
|
BIN
textures/xdecor_desertstone_tile.png
Normal file
BIN
textures/xdecor_desertstone_tile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 236 B |
BIN
textures/xdecor_hard_clay.png
Normal file
BIN
textures/xdecor_hard_clay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 272 B |
Loading…
Reference in New Issue
Block a user