1
0
mirror of https://github.com/minetest-mods/technic.git synced 2025-04-16 17:30:37 +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:
Gábriel 2024-03-08 18:44:13 +01:00 committed by GitHub
parent a08ba2bb93
commit f47da0c045
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 1 deletions

@ -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

Binary file not shown.

After

(image error) Size: 451 B

Binary file not shown.

After

(image error) Size: 1.1 KiB