From f47da0c0453981929c1bde0eb47d86507c9305cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1briel?= <38207624+gabriel1379@users.noreply.github.com> Date: Fri, 8 Mar 2024 18:44:13 +0100 Subject: [PATCH] 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). --- technic/machines/register/grinder_recipes.lua | 7 +++++++ technic/mod.conf | 2 +- technic/textures/technic_pyrite_dust.png | Bin 0 -> 451 bytes .../textures/technicx32/technic_pyrite_dust.png | Bin 0 -> 1142 bytes 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 technic/textures/technic_pyrite_dust.png create mode 100644 technic/textures/technicx32/technic_pyrite_dust.png diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua index 5adb4f04..df8061ae 100644 --- a/technic/machines/register/grinder_recipes.lua +++ b/technic/machines/register/grinder_recipes.lua @@ -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 diff --git a/technic/mod.conf b/technic/mod.conf index 7b8d08cb..736eff3f 100644 --- a/technic/mod.conf +++ b/technic/mod.conf @@ -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 diff --git a/technic/textures/technic_pyrite_dust.png b/technic/textures/technic_pyrite_dust.png new file mode 100644 index 0000000000000000000000000000000000000000..ad7cb941e8e45226759e6e7954f057b0b01b3d60 GIT binary patch literal 451 zcmV;!0X+VRP)s%)wC>GM=ky>+^UI}nMsL;yTzWX)>i_8urT_a| z^nM*`)r}=e^V`j_ac|ZKe|@tt{Qv8njb9ou)Z_L z_UY^OLI0nx^!fjKmFNFA8^ZoSm}m3<%0#{Y4`vztKiI7HzdxGu|D<^S|9vt1kC*2N zB_!K%urXZiSJ8O9*!AR-B`*ITFZKTac5@5_ZwmYWbg{#Kp#1+UeQN)&^vM5Tm?`#u zeUa$@C0RoMSLX@6>yPHMWVqI^#Cg6?Tm0RIz<|4RY^L3tXSe;)0^7Gh7k#=r$MVyS zDSDsp&NlmgrC;Oo_8R3++sef6FV7L2*&V^Hi#06%A8}*8J&{-7Y!jQ@*@@ zdr(wm7{;+-oKf~1mIVYwA_9W~NkxZ6s30W?xyV9-+!U}NrY6l$1d>)sL2S9k{n84# z#LZ=aNO!tUHND$>B#IjeEnfjxd^YoqVznZ3|uxw`EnKNhRJAeGX_j#W8onvHV zC_@?Q|6KQ*J)Mn>RvG^%a9u}4wmjVymr_hIQ|TuCSK*3!uRL{IFq+>mgR037--@0@ zK`i}6Mli?ify1@3$OMgSKW3}9VWiL%^VORnJ8Fu~RCA^?-5xQXt2aIvaDUS3g}N<8 zYN>!xw+3NO?2Ws%J1~^zfRQ{~NZ;gPxhIzCJ86ads5PD|>vvC*g{n0WN{KHt@_1<4 zBcPBx4{c{OW^1-1HRhTeOM zQMUv@(d3WCdOj2%J_{AefQF=B*DgR~3Wd*w7MQNuhVC>gj21kBcLWr=kMq!Z+>*(O z;Ak&I(N}~5ik}(6S@Wmhu?senbM?N^cEv$+IT)j5e5gsM8u=lpB+o%Zd?$9`>s&`n zl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