neuralgia/kubejs/startup_scripts/tfg/materials.js
TomPlop 3c72e94109
Adding Nuclear Line on Mars (#1467)
* Adding the Nuclear Line CPU Wafer

* merge

* Revert "merge"

This reverts commit b29b5e324f587042a7aad01a49cfdf63b33ab7b4.

* revert

* Revert "revert"

This reverts commit 38376879b37a1150bd84dfa524621c2ffe6350db.

* no change weird things happening to me

* add fluid textures

* Modification of nuclear line

* fix conflict for fluids

* first balance change

* fix conflict with recipes.rocks

* Nuclear Line

* Add the bromine line and more fixes

* Fully added back the bromine line

* Add nuclear energy line and more fixes

* fix conflit

* Add back the recipes change to gtceu for nuclear

* revert

* fix conflict

* One last try

* Adjust Reactor rates

* Added change to uranium dust commented out until Mars Update

* Remove long rod from nuclear pellet
2025-07-28 20:02:05 +01:00

223 lines
5.5 KiB
JavaScript

// priority: 0
"use strict";
const registerTFGMaterials = (event) => {
event.create('hardwood')
.dust()
.flags(GTMaterialFlags.FLAMMABLE)
.iconSet(GTMaterialIconSet.FINE)
.color('0x7a5225')
.secondaryColor('0x7a5225')
event.create('thermochemically_treated_hardwood')
.dust()
.flags(GTMaterialFlags.FLAMMABLE)
.iconSet(GTMaterialIconSet.FINE)
.color('0x52482c')
.secondaryColor('0x52482c')
// Important tags to add to fluids:
// tfc:usable_in_pot, tfc:usable_in_barrel, tfc:usable_in_wooden_bucket
event.create('tfg:latex')
.liquid()
.color(0xFBB982)
event.create('tfg:vulcanized_latex')
.liquid()
.color(0xc79973)
event.create('tfg:conifer_pitch')
.liquid()
.color(0xfbdf82)
.secondaryColor(0xff9d2e)
// Cooking
event.create('lactose')
.dust()
.iconSet(GTMaterialIconSet.FINE)
.color('0xede8da')
.secondaryColor('0xeddcad')
.components('12x carbon', '22x hydrogen', '11x oxygen')
// Space Rocket Materials
event.create('rocket_alloy_t1')
.ingot()
.components('6x aluminium', '2x stainless_steel', '1x red_steel')
.color(0x333e47)
.iconSet('metallic')
.flags(GTMaterialFlags.GENERATE_PLATE, GTMaterialFlags.GENERATE_ROD, GTMaterialFlags.GENERATE_DENSE, GTMaterialFlags.GENERATE_GEAR)
.blastTemp(1760, 'low', 256, 1200)
event.create('rocket_alloy_t2')
.ingot()
.components('76x titanium', '15x vanadium', '3x aluminium', '3x chromium', '3x tin')
.color(0x3c253d)
.iconSet('metallic')
.flags(GTMaterialFlags.GENERATE_PLATE, GTMaterialFlags.GENERATE_ROD, GTMaterialFlags.GENERATE_DENSE, GTMaterialFlags.GENERATE_GEAR)
.blastTemp(4500, 'mid', 1024, 1200)
event.create('vitrified_asbestos')
.dust()
.fluid()
.iconSet('glass')
.color(0xcccccc)
// Space suit gases (these all add up to 10B of components = 1B of space suit gas)
event.create('tfg:compressed_nitrox')
.gas()
.components('8x nitrogen', '2x oxygen')
.color(0xaef5ef)
event.create('tfg:compressed_heliox')
.gas()
.components('8x helium', '2x oxygen')
.color(0xf5eeb3)
event.create('tfg:compressed_heliox_3')
.gas()
.components('8x helium_3', '2x oxygen')
.color(0xf5ea90)
event.create('tfg:compressed_trimix')
.gas()
.components('5x nitrogen', '3x oxygen', '2x helium')
.color(0xc3fab9)
event.create('tfg:compressed_trimix_3')
.gas()
.components('5x nitrogen', '3x oxygen', '2x helium_3')
.color(0xa3ed95)
// Refrigerants
event.create('tfg:chlorodifluoromethane')
.gas()
.components('1x carbon', '1x hydrogen', '1x chlorine', '2x fluorine')
.color(0x66ffa3)
event.create('tfg:acetylene')
.gas()
.components('2x carbon', '2x hydrogen')
.color(0x1a1212)
event.create('tfg:isobutane')
.gas()
.components('4x carbon', '10x hydrogen')
.color(0x7d0f00)
event.create('tfg:1_1_1_2_tetrafluoroethane')
.gas()
.components('2x carbon', '2x hydrogen', '4x fluorine')
.color(0x46702e)
// Crafting components
event.create('tfg:kaolinite')
.dust()
.components('2x aluminium', '2x silicon', '9x oxygen', '4x hydrogen')
.color(0xEEB9AD)
.secondaryColor(0xF6A797)
event.create('tfg:vitrified_pearl')
.dust()
.flags(GTMaterialFlags.DECOMPOSITION_BY_CENTRIFUGING)
.components('2x aluminium', '2x silicon', '9x oxygen', '4x hydrogen', '1x ender_pearl')
.color(0xFFFFFF)
.secondaryColor(0x67FFE6)
//#region Solar Panel Chemicals
event.create('tfg:chloryl_fluoride')
.gas()
.components('1x fluorine', '1x chlorine', '2x oxygen')
.color(0x8AFAF4)
event.create('tfg:chlorine_pentafluoride')
.gas()
.components('5x fluorine', '1x chlorine')
.color(0x51F7C0)
event.create('tfg:solar_coolant')
.gas()
.components('8x helium_3', '11x oxygen', '11x hydrogen')
.color(0xEDFFB3)
//end region
//Region Rockwool
event.create('tfg:aes_mix')
.dust()
.flags(GTMaterialFlags.DECOMPOSITION_BY_CENTRIFUGING)
.components('5x silicon_dioxide', '4x quicklime', '1x magnesia')
.hazard(HazardProperty.HazardTrigger.SKIN_CONTACT, GTMedicalConditions.CHEMICAL_BURNS)
.color(0xE0E9E4)
//.secondaryColor(0x54483d)
event.create('tfg:molten_aes')
.liquid(2900)
.flags(GTMaterialFlags.DISABLE_DECOMPOSITION)
.components('5x silicon_dioxide', '4x quicklime', '1x magnesia')
.color(0xe65609)
.secondaryColor(0xe65609)
//end region
//#region Bromine Line
event.create('raw_brine')
.fluid()
.color(0x947a11)
//.secondaryColor(0x81FFF9)
event.create('hot_brine')
.liquid(320)
.color(0x944611)
event.create('hot_chlorinated_brominated_brine')
.liquid(320)
.color(0xbf8d5a)
.formula('?Cl')
event.create('brominated_chlorine_vapor')
.gas(new GTFluidBuilder().state(GTFluidState.GAS).temperature(320))
.color(0xbf8d5a)
.formula('ClBr(H2O)')
event.create('acidic_bromine_solution')
.liquid(new GTFluidBuilder().attribute(GTFluidAttributes.ACID))
.color(0xe7b989)
.formula('ClBr')
event.create('concentrated_bromine_solution')
.liquid()
.color(0x905d29)
.formula('Br2Cl')
event.create('debrominated_brine')
.liquid()
.color(0xc3874a)
event.create('acidic_bromine_exhaust')
.gas(new GTFluidBuilder().state(GTFluidState.GAS).attribute(GTFluidAttributes.ACID).temperature(293))
.color(0xec9c4a)
.formula('(H2O)3Cl')
event.create('hot_alkaline_debrominated_brine')
.liquid()
.color(0xcc6a06)
.formula('?2Cl')
event.create('hot_debrominated_brine')
.liquid(320)
.color(0xb08e6b)
event.create('hydrogen_iodide')
.gas(new GTFluidBuilder().state(GTFluidState.GAS).temperature(293))
.color(0x82a6ce)
.formula('HI')
}