Added mod files

This commit is contained in:
Jacob Vinding
2025-12-26 21:38:55 +01:00
parent 64c4d60c47
commit c4ad0f3e2e
5039 changed files with 894558 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
ServerEvents.recipes(event => {
event.remove({ input: "#forge:coins" })
event.recipes.thermal.numismatic_fuel("thermal:silver_coin", 100000)
event.recipes.thermal.numismatic_fuel("thermal:gold_coin", 6400000)
// remove all press recipes
event.remove({ type: "thermal:press" })
event.remove({ type: "thermal:numismatic_fuel" })
let trade = (card_id, ingredient, output) => {
event.custom({
type: "thermal:press",
ingredients: [
toThermalInputJson(ingredient),
toThermalInputJson(card_id),
],
result: [
toThermalOutputJson(output)
],
energy: 1000
})
}
global.trades.forEach(element => {
if (global.transactions[element])
global.transactions[element].forEach(transaction => {
if (!Item.of(transaction.in).isEmpty() && !Item.of(transaction.out).isEmpty()) {
trade("kubejs:trade_card_" + element, transaction.in, transaction.out)
} else console.warn(`tried to create trade, ${transaction.in} -> ${transaction.out}, but one of the items does not exist`)
})
});
global.professions.forEach(element => {
if (global.transactions[element])
global.transactions[element].forEach(transaction => {
if (!Item.of(transaction.in).isEmpty() && !Item.of(transaction.out).isEmpty()) {
trade("kubejs:profession_card_" + element, transaction.in, transaction.out)
} else console.warn(`tried to create trade, ${transaction.in} -> ${transaction.out}, but one of the items does not exist`)
})
});
trade("kubejs:missingno", "thermal:gold_coin", "128x supplementaries:candy")
})