materials + structures for normal items (#2198)

* nitrocellulose and cellulose matrix

* vent texture

* I think it actually works

* Update CHANGELOG.md

---------

Signed-off-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>
This commit is contained in:
GameStar 2025-11-10 12:08:58 -06:00 committed by GitHub
parent 8562c320b1
commit 8388d044d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 1374 additions and 2 deletions

View file

@ -8,8 +8,8 @@ const registerTFGBlocks = (event) => {
registerTFGAqueductBlocks(event)
registerTFGCrops(event)
event.create('tfg:exhaust_vent_particle', 'tfg:active_particle_emitter')
.textureAll('tfg:block/titanium_concrete')
event.create('tfg:titanium_exhaust_vent', 'tfg:active_particle_emitter')
.textureAll('tfg:block/titanium_exhaust_vent')
.soundType('metal')
.hardness(5)
.resistance(6)

View file

@ -534,4 +534,23 @@ const registerTFGMaterials = (event) => {
.flags(GTMaterialFlags.DECOMPOSITION_BY_ELECTROLYZING)
.components('7x gallium', '2x tin', '1x zinc')
.color('0x34cfeb')
// #region holder materials
// These allow us to give material components to non-material items
// Requires .setIgnored to be called in core
event.create('tfg:nitrocellulose')
.dust()
.components('6x carbon', '7x hydrogen', '3x nitrogen', '11x oxygen')
.flags(GTMaterialFlags.DISABLE_MATERIAL_RECIPES)
.color(0xFFFFFF)
event.create('tfg:cellulose_matrix')
.dust()
.flags(GTMaterialFlags.DISABLE_MATERIAL_RECIPES)
.color(0xFFFFFF)
event.create('tfg:tfg_polycaprolactam')
.ingot()
.components('6x carbon', '11x hydrogen', '1x nitrogen', '1x oxygen')
.flags(GTMaterialFlags.DISABLE_MATERIAL_RECIPES, GTMaterialFlags.EXPLOSIVE)
.macerateInto('gtceu:polycaprolactam')
.color(0x000000)
}