Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

globals = {
"minetest",
"core", "minetest",
}

read_globals = {
Expand Down
5 changes: 3 additions & 2 deletions crafts.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local steel_item = xcompat.materials.steel_ingot
local recycle = core.get_modpath("technic") and "technic:wrought_iron_dust" or xcompat.materials.iron_lump

minetest.register_craft({
type = "cooking",
Expand Down Expand Up @@ -75,7 +76,7 @@ if minetest.get_modpath("default") then
})

minetest.register_craft({
output = "default:iron_lump",
output = recycle,
recipe = {{"steel:scrap", "steel:scrap"}}
})
end
Expand All @@ -89,4 +90,4 @@ if not minetest.get_modpath("streets") or not minetest.get_modpath("steelsupport
{"", steel_item, ""},
}
})
end
end