neuralgia/kubejs/server_scripts/tfg/powergen/nuclear/recipes.components.js
TomPlop 928c7129aa
Heat battery (#2955)
* heat battery and tooltips

* Add tooltip back

* fix tooltip
2026-02-02 17:32:49 +00:00

43 lines
No EOL
1.2 KiB
JavaScript

// priority: 0
"use strict";
function registerTFGNuclearComponentsRecipes(event) {
let component = function (type, block, value) {
event.custom({
type: 'deafission:component_fr',
componentType: type,
block: block,
data: {
value: value
}
});
};
let componentThermal = function(type, block, temp, cap) {
event.custom({
type: 'deafission:component_hb',
componentType: type,
block: block,
data: {
temperature: temp,
capacity: cap
}
});
};
// Examples: https://bitbucket.org/Vazde/minecraft-fission/src/master/mod/settings-run/kubejs/server_scripts/recipes.js
component("HEAT", "minecraft:blue_ice", 0.5)
component("HEAT", "tfg:glacian_wool_frame", 2);
component("HEAT", "tfg:aes_insulation_frame", 1);
component("HEAT", "tfg:moderate_core_frame", 10);
component("HEAT", "tfg:impure_moderate_core_frame", 5);
//component("HEAT", "minecraft:bedrock", 1000);
//componentThermal('THERMAL', '#forge:sand', 1000, 1);
componentThermal('THERMAL', 'tfg:copper_sandy_frame', 1000, 10);
componentThermal('THERMAL', 'tfg:beryllium_sandy_frame', 2000, 10);
//componentThermal('THERMAL', 'minecraft:bedrock', 9001, 10);
}