mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-06 10:10:36 +02:00
Add grinding for pyrite from Everness mod (#633)
Add recipe for grinding pyrite lump from everness mod into pyrite dust if everness mod is present (also includes images for pyrite dust).
This commit is contained in:
@ -74,6 +74,10 @@ if minetest.get_modpath("homedecor") then
|
||||
table.insert(recipes, {"home_decor:brass_ingot", "technic:brass_dust 1"})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("everness") then
|
||||
table.insert(recipes, {"everness:pyrite_lump", "technic:pyrite_dust 2"})
|
||||
end
|
||||
|
||||
for _, data in pairs(recipes) do
|
||||
technic.register_grinder_recipe({input = {data[1]}, output = data[2]})
|
||||
end
|
||||
@ -122,6 +126,9 @@ if minetest.get_modpath("gloopores") or minetest.get_modpath("glooptest") then
|
||||
register_dust("Kalite", nil)
|
||||
register_dust("Talinite", "glooptest:talinite_ingot")
|
||||
end
|
||||
if minetest.get_modpath("everness") then
|
||||
register_dust("Pyrite", "everness:pyrite_ingot")
|
||||
end
|
||||
|
||||
for p = 0, 35 do
|
||||
local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil
|
||||
|
Reference in New Issue
Block a user