Theres some issues with the mod. First off crafting recipes need the " instead of ' so the recipes work. Once that's done it seems when placing bucket of cement it doesn't "flow".
HAND TYPED: Map::setNode(): not allowing to place CONTENT_IGNORE while trying to replace cement:cement_source
minetest.register_craft({
output = "cement:aggregate_cement",
recipe = {
{"default:sand", "default:sand", "default:sand"},
{"default:gravel" ,"default:gravel", "default:gravel"},
{"default:clay_lump" ,"default:clay_lump", "default:clay_lump"},
}
})
minetest.register_node("cement:aggregate_cement", {
description = "Cement Aggregate Block",
tiles = {'cement_aggregate.png'},
groups = {cracky=3, falling_node=1},
})
minetest.register_craft({
output = "cement:bucket_cement",
recipe = {
{"cement:aggregate_cement"},
{"cement:aggregate_cement"},
{"bucket:bucket_water"},
}
})
minetest.register_craft({
output = "concrete:concrete 4",
recipe = {
{"cement:cement", "default:stone"},
{"default:stone", "cement:cement"},
}
})
minetest.register_node("cement:cement", {
description = "Cement Block",
tiles = {"cement_block.png"},
groups = {cracky=3},
})
minetest.register_node(":concrete:concrete", {
description = "Conecrete Block",
tiles = {"cement_concrete.png"},
groups = {cracky=3},
})
-- registering cement buckets
bucket.register_liquid(
"cement:cement_source",
"cement:cement_flowing",
"cement:bucket_cement",
"cement_bucket.png"
)
-- registering cement buckets end
CEMENT_VISC = 20
minetest.register_node("cement:cement_flowing", {
description = "Flowing Cement",
inventory_image = minetest.inventorycube("cement_cement.png"),
drawtype = "flowingliquid",
tiles = {"cement_cement.png"},
special_tiles = {
{name="cement_cement.png", backface_culling=false},
{name="cement_cement.png", backface_culling=true},
},
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
liquidtype = "flowing",
liquid_alternative_flowing = "cement:cement_flowing",
liquid_alternative_source = "cement:cement_source",
liquid_viscosity = CEMENT_VISC,
groups = {water=3, liquid=3, not_in_creative_inventory=1},
})
minetest.register_node("cement:cement_source", {
description = "Cement Source",
inventory_image = minetest.inventorycube("cement_cement.png"),
drawtype = "liquid",
tiles = {"cement_cement.png"},
special_tiles = {
-- New-style water source material (mostly unused)
{name="cement_cement.png", backface_culling=false},
},
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
liquidtype = "source",
liquid_alternative_flowing = "cement:cement_flowing",
liquid_alternative_source = "cement:cement_source",
liquid_viscosity = WATER_VISC,
groups = {water=3, liquid=3,},
})
-- registering cement abms source
minetest.register_abm({
nodenames = {"cement:cement_source"},
interval = 60,
chance = 1,
action = function(pos)
minetest.env:add_node(pos, {name="cement:cement"})
end
})
minetest.register_abm({
nodenames = {"cement:cement_flowing"},
interval = 55,
chance = 1,
action = function(pos)
minetest.env:add_node(pos, {name="cement:cement"})
end
})
print("Cement by Jordach / RAPHEAL Loaded!")