basalt crafting chain bugfix
This commit is contained in:
parent
ec9b906d2a
commit
674737d97c
@ -40,7 +40,11 @@ local function handler(player_name, node, itemstack, digparams)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
node.name = "default:gravel"
|
if node.name == "techage:basalt_stone" then
|
||||||
|
node.name = "techage:basalt_gravel"
|
||||||
|
else
|
||||||
|
node.name = "default:gravel"
|
||||||
|
end
|
||||||
minetest.swap_node(pos, node)
|
minetest.swap_node(pos, node)
|
||||||
minetest.check_single_for_falling(pos)
|
minetest.check_single_for_falling(pos)
|
||||||
end
|
end
|
||||||
|
@ -28,9 +28,17 @@ minetest.register_node("techage:basalt_stone", {
|
|||||||
description = "Basalt Stone",
|
description = "Basalt Stone",
|
||||||
tiles = {"default_stone.png^[brighten"},
|
tiles = {"default_stone.png^[brighten"},
|
||||||
groups = {cracky = 3, stone = 1},
|
groups = {cracky = 3, stone = 1},
|
||||||
drop = "default:silver_sand",
|
drop = 'techage:basalt_cobble',
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("techage:basalt_cobble", {
|
||||||
|
description = "Basalt Cobble",
|
||||||
|
tiles = {"default_cobble.png^[brighten"},
|
||||||
|
groups = {cracky = 3, stone = 2},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("techage:basalt_stone_brick", {
|
minetest.register_node("techage:basalt_stone_brick", {
|
||||||
description = "Basalt Stone Brick",
|
description = "Basalt Stone Brick",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -131,6 +139,12 @@ stairs.register_stair_and_slab(
|
|||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "techage:basalt_stone",
|
||||||
|
recipe = "techage:basalt_cobble",
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "techage:basalt_stone_brick 4",
|
output = "techage:basalt_stone_brick 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
BIN
textures/techage_bucket_oil.png
Normal file
BIN
textures/techage_bucket_oil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 314 B |
Loading…
Reference in New Issue
Block a user