neuralgia/kubejs/startup_scripts/tfg/primitive/materials.primitive.js
2025-12-27 21:37:51 +00:00

98 lines
No EOL
2.6 KiB
JavaScript

"use strict";
function registerTFGPrimitiveMaterials(event) {
// Paper
event.create('hardwood')
.dust()
.flags(GTMaterialFlags.FLAMMABLE)
.iconSet(GTMaterialIconSet.WOOD)
.color('0x7a5225')
.secondaryColor('0x7a5225')
event.create('thermochemically_treated_hardwood')
.dust()
.flags(GTMaterialFlags.FLAMMABLE)
.iconSet(GTMaterialIconSet.WOOD)
.color('0x52482c')
.secondaryColor('0x52482c')
// Tree tapping
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)
// Food/Cooking
event.create('lactose')
.dust()
.iconSet(GTMaterialIconSet.FINE)
.color('0xede8da')
.secondaryColor('0xeddcad')
.components('12x carbon', '22x hydrogen', '11x oxygen')
event.create('tfg:sodium_dihydrogen_citrate')
.dust()
.flags(GTMaterialFlags.DISABLE_DECOMPOSITION)
.iconSet(GTMaterialIconSet.BRIGHT)
.components('6x carbon', '7x hydrogen', '1x sodium', '7x oxygen')
.color('0xE38818')
event.create('tfg:citric_acid')
.dust()
.flags(GTMaterialFlags.DISABLE_DECOMPOSITION)
.iconSet(GTMaterialIconSet.SHINY)
.components('6x carbon', '8x hydrogen', '7x oxygen')
.color('0xE3AD18')
// I decided to make these materials because why not?
event.create('tfg:rich_stock')
.liquid(new GTFluidBuilder().customStill().state(GTFluidState.LIQUID).temperature(360));
event.create('tfg:light_stock')
.liquid(new GTFluidBuilder().customStill().state(GTFluidState.LIQUID).temperature(360));
event.create('tfg:brown_gravy')
.liquid(new GTFluidBuilder().customStill().state(GTFluidState.LIQUID).temperature(360));
// Ores -- these need to be in the gtceu namespace for the ore tool to work
event.create('tarkianite')
.ore()
.components('1x copper', '1x iron', '4x rhenium', '4x molybdenum', '8x sulfur')
.color(0x8bb054)
.secondaryColor(0x3d8021)
.iconSet(GTMaterialIconSet.getByName('tfc_emerald'))
.addOreByproducts('sulfur', 'rhenium', 'molybdenum')
// Metals/minerals
event.create('aluminium_silicate')
.dust()
.ingot()
.liquid(new GTFluidBuilder().state(GTFluidState.LIQUID).temperature(1520))
.components('2x aluminium', '1x silicon', '5x oxygen')
.iconSet('metallic')
.color(0xB6D3FF)
.secondaryColor(0x6F4AB3)
event.create('tfg:kaolinite')
.dust()
.components('2x aluminium', '2x silicon', '9x oxygen', '4x hydrogen')
.color(0xEEB9AD)
.secondaryColor(0xF6A797)
.formula("Al2Si2O5(OH)4")
// Film developing
event.create('tfg:pyrogallol')
.dust()
.color(0xf0ccb4)
.formula("C6H3(OH)3")
.iconSet('rough')
}