Browse Source

change recipe for wet cement: flour + dirt + water

(also resolves an unrealized recipe conflict)

add concrete block
tags/2018-11-09
Vanessa Dannenberg 1 year ago
parent
commit
731fd3a389
3 changed files with 26 additions and 8 deletions
  1. +26
    -8
      misc.lua
  2. BIN
      textures/basic_materials_cement_block.png
  3. BIN
      textures/basic_materials_concrete_block.png

+ 26
- 8
misc.lua View File

@@ -30,6 +30,13 @@ minetest.register_node("basic_materials:cement_block", {
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

minetest.register_craft({
@@ -65,12 +72,12 @@ minetest.register_craft({

minetest.register_craft( {
type = "shapeless",
output = "basic_materials:terracotta_base 8",
recipe = {
"default:dirt",
output = "basic_materials:terracotta_base 8",
recipe = {
"bucket:bucket_water",
"default:clay_lump",
"bucket:bucket_water"
},
"default:gravel",
},
replacements = { {"bucket:bucket_water", "bucket:bucket_empty"}, },
})

@@ -78,9 +85,9 @@ minetest.register_craft({
type = "shapeless",
output = "basic_materials:wet_cement 2",
recipe = {
"bucket:bucket_water",
"default:clay_lump",
"default:gravel",
"default:dirt",
"farming:flour",
"bucket:bucket_water"
},
replacements = {{'bucket:bucket_water', 'bucket:bucket_empty'},},
})
@@ -92,6 +99,15 @@ minetest.register_craft({
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

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:cement", "basic_materials:cement_block")

minetest.register_alias("technic:concrete", "basic_materials:concrete_block")

BIN
textures/basic_materials_cement_block.png View File

Before After
Width: 16  |  Height: 16  |  Size: 344 B Width: 16  |  Height: 16  |  Size: 243 B

BIN
textures/basic_materials_concrete_block.png View File

Before After
Width: 16  |  Height: 16  |  Size: 252 B

Loading…
Cancel
Save