Convert the modpack into a standalone game for the Minetest engine

Integrated into the game is most of minetest_game as the stable base
This commit is contained in:
VanessaE
2021-02-23 23:40:11 -05:00
committed by Vanessa Dannenberg
parent 11adf56b75
commit 4394beec6a
8861 changed files with 37424 additions and 4811 deletions

View File

@@ -0,0 +1,138 @@
-- sign crafts
minetest.register_craft({
output = "street_signs:sign_basic",
recipe = {
{ "dye:green", "default:sign_wall_steel", "dye:green" },
{ "dye:white", "default:steel_ingot", "" },
{ "", "default:steel_ingot", "" },
}
})
minetest.register_craft({
output = "street_signs:sign_basic",
recipe = {
{ "dye:green", "default:sign_wall_steel", "dye:green" },
{ "", "default:steel_ingot", "dye:white" },
{ "", "default:steel_ingot", "" },
}
})
minetest.register_craft({
output = "street_signs:sign_basic_top_only",
recipe = {
{ "dye:green", "default:sign_wall_steel", "dye:green" },
{ "dye:white", "default:steel_ingot", "" },
}
})
minetest.register_craft({
output = "street_signs:sign_basic_top_only",
recipe = {
{ "dye:green", "default:sign_wall_steel", "dye:green" },
{ "", "default:steel_ingot", "dye:white" },
}
})
minetest.register_craft({
output = "street_signs:sign_basic",
recipe = {
{ "street_signs:sign_basic_top_only" },
{ "default:steel_ingot" }
}
})
for _, c in ipairs(street_signs.big_sign_colors) do
local color = c[1]
local defc = c[2]
local dye1 = c[3]
local dye2 = c[4]
minetest.register_craft({
output = "street_signs:sign_highway_small_"..color,
recipe = {
{ dye1, dye2, dye1 },
{ dye1, dye2, dye1 },
{ "default:sign_wall_steel", "default:sign_wall_steel", "" }
}
})
minetest.register_craft({
output = "street_signs:sign_highway_small_"..color,
recipe = {
{ dye1, dye2, dye1 },
{ dye1, dye2, dye1 },
{ "", "default:sign_wall_steel", "default:sign_wall_steel" }
}
})
minetest.register_craft({
output = "street_signs:sign_highway_medium_"..color,
recipe = {
{ "street_signs:sign_highway_small_"..color },
{ "street_signs:sign_highway_small_"..color }
}
})
minetest.register_craft({
output = "street_signs:sign_highway_large_"..color,
recipe = {
{ "street_signs:sign_highway_small_"..color },
{ "street_signs:sign_highway_small_"..color },
{ "street_signs:sign_highway_small_"..color }
}
})
end
if minetest.get_modpath("signs_lib") then
minetest.register_craft({
output = "street_signs:sign_basic",
recipe = {
{ "", "signs:sign_wall_green", "" },
{ "", "default:steel_ingot", "" },
{ "", "default:steel_ingot", "" },
}
})
minetest.register_craft({
output = "street_signs:sign_basic_top_only",
recipe = {
{ "signs:sign_wall_green" },
{ "default:steel_ingot" },
}
})
for _, c in ipairs(street_signs.big_sign_colors) do
local color = c[1]
local defc = c[2]
minetest.register_craft({
output = "street_signs:sign_highway_small_"..color,
recipe = {
{ "signs:sign_wall_"..color, "signs:sign_wall_"..color },
}
})
minetest.register_craft({
output = "street_signs:sign_highway_medium_"..color,
recipe = {
{ "signs:sign_wall_"..color, "signs:sign_wall_"..color },
{ "signs:sign_wall_"..color, "signs:sign_wall_"..color }
}
})
minetest.register_craft({
output = "street_signs:sign_highway_large_"..color,
recipe = {
{ "signs:sign_wall_"..color, "signs:sign_wall_"..color, "signs:sign_wall_"..color },
{ "signs:sign_wall_"..color, "signs:sign_wall_"..color, "signs:sign_wall_"..color }
}
})
end
end