mirror of
https://github.com/mt-mods/basic_materials.git
synced 2024-11-19 20:53:43 +01:00
change recipe for wet cement: flour + dirt + water
(also resolves an unrealized recipe conflict) add concrete block
This commit is contained in:
parent
253b06ecdc
commit
731fd3a389
34
misc.lua
34
misc.lua
@ -30,6 +30,13 @@ minetest.register_node("basic_materials:cement_block", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("basic_materials:concrete_block", {
|
||||||
|
description = "Concrete Block",
|
||||||
|
tiles = {"basic_materials_concrete_block.png",},
|
||||||
|
groups = {cracky=1, level=2, concrete=1},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
-- crafts
|
-- crafts
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -65,12 +72,12 @@ minetest.register_craft({
|
|||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "basic_materials:terracotta_base 8",
|
output = "basic_materials:terracotta_base 8",
|
||||||
recipe = {
|
recipe = {
|
||||||
"default:dirt",
|
"bucket:bucket_water",
|
||||||
"default:clay_lump",
|
"default:clay_lump",
|
||||||
"bucket:bucket_water"
|
"default:gravel",
|
||||||
},
|
},
|
||||||
replacements = { {"bucket:bucket_water", "bucket:bucket_empty"}, },
|
replacements = { {"bucket:bucket_water", "bucket:bucket_empty"}, },
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -78,9 +85,9 @@ minetest.register_craft({
|
|||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "basic_materials:wet_cement 2",
|
output = "basic_materials:wet_cement 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
"bucket:bucket_water",
|
"default:dirt",
|
||||||
"default:clay_lump",
|
"farming:flour",
|
||||||
"default:gravel",
|
"bucket:bucket_water"
|
||||||
},
|
},
|
||||||
replacements = {{'bucket:bucket_water', 'bucket:bucket_empty'},},
|
replacements = {{'bucket:bucket_water', 'bucket:bucket_empty'},},
|
||||||
})
|
})
|
||||||
@ -92,6 +99,15 @@ minetest.register_craft({
|
|||||||
cooktime = 8
|
cooktime = 8
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'basic_materials:concrete_block 6',
|
||||||
|
recipe = {
|
||||||
|
{'group:sand', 'basic_materials:wet_cement', 'default:gravel'},
|
||||||
|
{'basic_materials:steel_bar', 'basic_materials:wet_cement', 'basic_materials:steel_bar'},
|
||||||
|
{'default:gravel', 'basic_materials:wet_cement', 'group:sand'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- aliases
|
-- aliases
|
||||||
|
|
||||||
minetest.register_alias("homedecor:oil_extract", "basic_materials:oil_extract")
|
minetest.register_alias("homedecor:oil_extract", "basic_materials:oil_extract")
|
||||||
@ -101,3 +117,5 @@ minetest.register_alias("homedecor:terracotta_base", "basic_materials:terracott
|
|||||||
|
|
||||||
minetest.register_alias("gloopblocks:wet_cement", "basic_materials:wet_cement")
|
minetest.register_alias("gloopblocks:wet_cement", "basic_materials:wet_cement")
|
||||||
minetest.register_alias("gloopblocks:cement", "basic_materials:cement_block")
|
minetest.register_alias("gloopblocks:cement", "basic_materials:cement_block")
|
||||||
|
|
||||||
|
minetest.register_alias("technic:concrete", "basic_materials:concrete_block")
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 243 B |
BIN
textures/basic_materials_concrete_block.png
Normal file
BIN
textures/basic_materials_concrete_block.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 252 B |
Loading…
Reference in New Issue
Block a user