Skip to content

Commit

Permalink
Add grinding for pyrite from Everness mod (#633)
Browse files Browse the repository at this point in the history
Add recipe for grinding pyrite lump from everness mod into pyrite dust if everness mod is present (also includes images for pyrite dust).
  • Loading branch information
gabriel1379 authored Mar 8, 2024
1 parent a08ba2b commit f47da0c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions technic/machines/register/grinder_recipes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion technic/mod.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = technic
depends = default, pipeworks, technic_worldgen, basic_materials
optional_depends = bucket, screwdriver, mesecons, mesecons_mvps, digilines, digiline_remote, intllib, unified_inventory, vector_extras, dye, craftguide,i3
optional_depends = bucket, screwdriver, mesecons, mesecons_mvps, digilines, digiline_remote, intllib, unified_inventory, vector_extras, dye, craftguide, i3
Binary file added technic/textures/technic_pyrite_dust.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f47da0c

Please sign in to comment.