* everything should be fine * Balance early power (#6) * balance update * Add textures * last balance tweaks * more balance * Fix conflicts * Balance early power (#8) * balance update * Add textures * last balance tweaks * Oupsi * more fixes * add changed quests * push latest balance * fix tallow * add btx * Update quests * Oups * Adding some nuclear stuffs so I can merge my branches * Isotopic solvent stuff (#10) * push * fix iconset issue * adding all the textures change * add more stuffs * Push recipes * new stuffs * add stuffs * more changes * add textures and some recipes * tons of change * fix texture * add textures and other stuffs * more recipes * add recycling for fission rods * more recipes * fix fluid textures * comment out FLiBe again and balance rods * fix fluids * some latest fix * fix more texture * more recipe changes * more recipes * some last minute balance changes * add quests * fix conflict * more fixes * fix components * var to const --------- Co-authored-by: Spicy Noodles <93035068+SpicyNoodle5@users.noreply.github.com>
43 lines
No EOL
1.2 KiB
JavaScript
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:impure_moderate_core_frame', 2000, 10);
|
|
componentThermal('THERMAL', 'tfg:moderate_core_frame', 4000, 10);
|
|
//componentThermal('THERMAL', 'minecraft:bedrock', 9001, 10);
|
|
|
|
} |