VanessaE 4394beec6a Convert the modpack into a standalone game for the Minetest engine
Integrated into the game is most of minetest_game as the stable base
2021-02-24 22:05:32 -05:00

28 lines
543 B
Lua

--[[
Streets Mod: All kinds of asphalt
]]
minetest.register_node(":streets:asphalt",{
description = streets.S("Asphalt"),
tiles = {"streets_asphalt.png"},
groups = {cracky=3}
})
if minetest.get_modpath("building_blocks") then
minetest.register_craft({
type = "shapeless",
output = "streets:asphalt 3",
recipe = {
"default:sand",
"default:gravel",
"building_blocks:Tar"
},
})
else
minetest.register_craft({
type = "cooking",
output = "streets:asphalt",
recipe = "default:gravel",
cooktime = 2
})
end