Improved Thermal <-> IE pressing
This commit is contained in:
parent
5d14e9b94e
commit
3acef7947c
60 changed files with 567 additions and 0 deletions
43
scripts/gen_rod_molds.py
Normal file
43
scripts/gen_rod_molds.py
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
import json
|
||||
|
||||
TEMPLATE = """{
|
||||
"type": "thermal:press",
|
||||
"ingredients": [
|
||||
{"tag": "<INPUT_ITEM>"},
|
||||
{"item": "immersiveengineering:mold_rod"}
|
||||
],
|
||||
"result": [{"item": "<OUTPUT_ITEM>", "count": 2}]
|
||||
}"""
|
||||
|
||||
METALS = [
|
||||
"iron",
|
||||
"gold",
|
||||
"copper",
|
||||
"tin",
|
||||
"aluminum",
|
||||
"silver",
|
||||
"lead",
|
||||
"nickel",
|
||||
"uranium",
|
||||
"osmium",
|
||||
"zinc",
|
||||
"cobalt",
|
||||
"bronze",
|
||||
"constantan",
|
||||
"brass",
|
||||
"electrum",
|
||||
"steel",
|
||||
"invar",
|
||||
"signalum",
|
||||
"lumium",
|
||||
"enderium",
|
||||
]
|
||||
|
||||
for metal in METALS:
|
||||
input = f"forge:ingots/{metal}"
|
||||
output = f"emendatusenigmatica:{metal}_rod"
|
||||
|
||||
with open(f"./{metal}_rod.json", "w") as fh:
|
||||
fh.write(
|
||||
TEMPLATE.replace("<INPUT_ITEM>", input).replace("<OUTPUT_ITEM>", output)
|
||||
)
|
||||
Loading…
Reference in a new issue