2 Commits

Author SHA1 Message Date
3c85abb3b2 Restore recipe for bronze block to ingots (#566) 2020-09-07 17:41:34 +02:00
11f2b4f4b3 Fix warning reported by LuaCheck (#563) 2020-09-05 18:54:37 +02:00
2 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,13 @@ minetest.clear_craft({
type = "shapeless", type = "shapeless",
output = "default:bronze_ingot" output = "default:bronze_ingot"
}) })
-- Restore recipe for bronze block to ingots
minetest.register_craft({
output = "default:bronze_ingot 9",
recipe = {
{"default:bronzeblock"}
}
})
-- Accelerator tube -- Accelerator tube
if pipeworks.enable_accelerator_tube then if pipeworks.enable_accelerator_tube then

View File

@ -38,7 +38,7 @@ function technic.register_base_machine(data)
local machine_desc = data.machine_desc local machine_desc = data.machine_desc
local tier = data.tier local tier = data.tier
local ltier = string.lower(tier) local ltier = string.lower(tier)
data.modname = data.modname or minetest.get_current_modname() data.modname = data.modname or minetest.get_current_modname()
local groups = {cracky = 2, technic_machine = 1, ["technic_"..ltier] = 1} local groups = {cracky = 2, technic_machine = 1, ["technic_"..ltier] = 1}