Files
TFG/kubejs/startup_scripts/tfg/materials/material_modification.properties.js
Pyritie 6214f4b36b Feature/mv hv rework (#3270)
* Material stat rework tool (#3040)

* first push

* add hidden tag

* Update branch (#3125)

* Add Turbine Rotors (#13)

* first push

* add hidden tag

* Add Turbine Rotors

* fix capitalization

* Inconel 718 (#14)

* fixed typo in LV initial quest (#3055)

Signed-off-by: Eilandor <eilandor@ukr.net>

* add inconel and every recipes

* Add TiCl and Nerfs to energy (#3063)

---------

Signed-off-by: Eilandor <eilandor@ukr.net>
Co-authored-by: Eilandor <eilandor@ukr.net>

* small balance

* add all the materials for MoSiB

* add mo 50 re

* Add the fix with Forge Graddle I'm lost

* weird stuffs

---------

Signed-off-by: Eilandor <eilandor@ukr.net>
Co-authored-by: Eilandor <eilandor@ukr.net>

* Feature/material stats (#3136)

* Add Turbine Rotors (#13)

* first push

* add hidden tag

* Add Turbine Rotors

* fix capitalization

* Inconel 718 (#14)

* fixed typo in LV initial quest (#3055)

Signed-off-by: Eilandor <eilandor@ukr.net>

* add inconel and every recipes

* Add TiCl and Nerfs to energy (#3063)

---------

Signed-off-by: Eilandor <eilandor@ukr.net>
Co-authored-by: Eilandor <eilandor@ukr.net>

* small balance

* add all the materials for MoSiB

* add mo 50 re

* Add the fix with Forge Graddle I'm lost

* weird stuffs

* start adding sic

* fix cutter

* fix

* fix conflict

* fix names

---------

Signed-off-by: Eilandor <eilandor@ukr.net>
Co-authored-by: Eilandor <eilandor@ukr.net>

* add gt modern utilities

* Feature/mv hv rework (#3144)

* Finally all the tools are working

* plunger

* revert change on tool function

* fix numerous call

* no coffe yet

* Mv hv rework redstone fluid (reopened because git moment) (#3049)

* Redstone Etching Fluid

* region comments

* oops, acid might be acidic

* .customStill() for redstone tri p-toluenesulfonate

---------

Signed-off-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>

* sillycon stuff

* rearranged material + modification files

* added missing mortars

* item tag models for tools

* add config for gtmutils

* change how electric tools are made, so it's based off flags

* Feature/mv hv rework (#3160)

* Finally all the tools are working

* plunger

* revert change on tool function

* fix numerous call

* no coffe yet

* trying to pin point the issue

* merge issue

* cast iron

* merge issue

* cast iron

* ok

* fix conflict

* some fast fix

* Kanthal Coil and swap PE to SR for circuits components

* small update to MV Chapter

* change colors of sterling silver and rose gold

* Add Ceramic Circuit board (#3163)

* Finally all the tools are working

* plunger

* revert change on tool function

* fix numerous call

* no coffe yet

* trying to pin point the issue

* merge issue

* cast iron

* merge issue

* cast iron

* ok

* fix conflict

* some fast fix

* Kanthal Coil and swap PE to SR for circuits components

* small update to MV Chapter

* add ceramic circuit board sic

* add quartz crucible

* stuff

* mostly done with recipes for boules

* Solders to mv hv rework (#3168)

* Add new solders

* Refactor circuit recipes

* Use GT Thallium

* Clarify no tin alternative in ZPM

* Remaining assembly line recipes

* Make processes more interestinger

* Add dusty lorandite

* lang

* Hide higher tier solder

* Fix merge weirdness

---------

Co-authored-by: Xikaro <os.valerievich@yandex.ru>

* Feature/mv hv rework (#3171)

* Finally all the tools are working

* plunger

* revert change on tool function

* fix numerous call

* no coffe yet

* trying to pin point the issue

* merge issue

* cast iron

* merge issue

* cast iron

* ok

* fix conflict

* some fast fix

* Kanthal Coil and swap PE to SR for circuits components

* small update to MV Chapter

* add ceramic circuit board sic

* Add a whole lot

* fix

* enable mo_si_b

* casing change

* it can't require kanthal coils to cook if it's a kanthal coil ingredient

* recipes + boule texture

* more stuff for the boule-inator

* fix circuits/change gas fuel for non renewable Reformate/fix gem slurries

* change reformate

* add tag to lens

* tags for precision fab

* fix boule tags, formatting

* tweak coils a little, more to come

* Add Artisan Table recipes and MV Chapter rework (#3216)

* add glass lens

* Artisan table and MV Chapter

* change rockets and space suits, add sic_sic and move stuffs around

* cleanroom more expensive/fix rods/fix ultimet/adding fluids

* add desh tempered for HV coils

* fix cleanroom

* lower cleanroom cost

* Add Mo50Re to the rocket engine

* Change Desh and Armacolite

* nichrome coil stuff

* make ore proc use more water

* perlite to distilled

* add alloy smelter recipe for rubber using sulfur power as well

* fix typo

* Change to rutile

* etching fluids

* Fix a lot of stuffs (#3234)

* lots

* change circuit board

* Remove that one that isn't necessary

* Des trucs

* That was hard to fix

* More quests stuffs

* Add MoSiB Line

* fix

* oups

* class artisan table

* Add Rocket Insulation T1

* Adding SiC SiC

* Add Rocket Insulation T1 (#3247)

* Add Rocket Insulation T1

* Adding SiC SiC

* Fix for Fluid Pipes

* Fluid pipe rework stat to be determined yet

* Prepare the field for removing item pipes

* removed some random pipes to test

* Add SiC Rotors and some changes to Material Stats

* fix no damage on tool

* buff materials damage by 2

* Buff tools

* Hide plastic soft hammer

* remove plunger too

* remove the transition item

* remove useless tag and add some langfile

* SiC SiC and many small things - buff tools (#3253)

* Add SiC Rotors and some changes to Material Stats

* fix no damage on tool

* buff materials damage by 2

* Buff tools

* Hide plastic soft hammer

* remove plunger too

* remove the transition item

* remove useless tag and add some langfile

* more langfile

* Add MV Quests

* new langfile for HV

* new quests

* fix quests

* fix the board lang

* Lots of quests stuffs (#3258)

* Add MV Quests

* new langfile for HV

* new quests

* fix quests

* fix the board lang

* Add fluids and fix circuits

* fix circuit boards

* water boiler

* Small changes to exotic materials

* diamond tipped tools

* diamond tipped tools - lang part 1

* remove quartz crucible to core

* Finish GTModern Utilities Integration for now

* Allow the ability to craft the inert furnace

* add some quest fix

* cleanup material files

* fix merge conflict

---------

Signed-off-by: Eilandor <eilandor@ukr.net>
Signed-off-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Mqrius <Nuntius.Marii@Gmail.com>
Co-authored-by: Eilandor <eilandor@ukr.net>
Co-authored-by: Xtrial-01 <fenek.pantofelek@gmail.com>
Co-authored-by: Spicy Noodles <93035068+SpicyNoodle5@users.noreply.github.com>
Co-authored-by: Xikaro <os.valerievich@yandex.ru>
Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
2026-03-05 22:27:44 +00:00

65 lines
4.6 KiB
JavaScript

// priority: 0
"use strict";
function registerTFGPropertyMaterialModification(event) {
const $DUST_PROPERTY = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.properties.DustProperty');
const $INGOT_PROPERTY = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.properties.IngotProperty');
const $BLAST_PROPERTY = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.properties.BlastProperty');
const $ITEM_PIPE_PROPERTY = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.properties.ItemPipeProperties');
const $FLUID_PIPE_PROPERTY = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.properties.FluidPipeProperties');
const $HAZARD_PROPERTY = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.properties.HazardProperty');
const $TFGT_MEDICAL_CONDITIONS = Java.loadClass('su.terrafirmagreg.core.common.data.tfgt.TFGTMedicalConditions');
// Unhiding elements
GTMaterials.Zirconium.setProperty(PropertyKey.DUST, new $DUST_PROPERTY());
GTMaterials.Zirconium.setProperty(PropertyKey.INGOT, new $INGOT_PROPERTY());
GTMaterials.Zirconium.setProperty(PropertyKey.BLAST, new $BLAST_PROPERTY(4200, $BLAST_PROPERTY.GasTier.MID, GTValues.VA[GTValues.EV], 1300, GTValues.VA[GTValues.HV], 14.7 * 20));
GTMaterials.Cadmium.setProperty(PropertyKey.INGOT, new $INGOT_PROPERTY());
GTMaterials.Thallium.setProperty(PropertyKey.DUST, new $DUST_PROPERTY());
GTMaterials.Thallium.setProperty(PropertyKey.HAZARD, new $HAZARD_PROPERTY($HAZARD_PROPERTY.HazardTrigger.SKIN_CONTACT, GTMedicalConditions.CHEMICAL_BURNS, 1, false));
// Bismuth item pipe - 1/4 as good as tin
GTMaterials.Bismuth.setProperty(PropertyKey.ITEM_PIPE, new $ITEM_PIPE_PROPERTY(16384, 0.125));
// Bis bronze fluid pipe - same stats as bronze
GTMaterials.BismuthBronze.getProperties().removeProperty(PropertyKey.BLAST);
GTMaterials.BlackBronze.getProperties().removeProperty(PropertyKey.BLAST);
GTMaterials.BlackBronze.getProperties().removeProperty(PropertyKey.ITEM_PIPE);
// Rose Gold & Sterling Silver
GTMaterials.RoseGold.getProperties().removeProperty(PropertyKey.BLAST);
GTMaterials.SterlingSilver.getProperties().removeProperty(PropertyKey.BLAST);
// int is how fast the condition progresses (default 1.0)
// bool is whether or not the condition applies to anything made with the material, other than dusts (default false)
GTMaterials.Realgar.setProperty(PropertyKey.HAZARD, new $HAZARD_PROPERTY($HAZARD_PROPERTY.HazardTrigger.INHALATION, GTMedicalConditions.ARSENICOSIS, 1, false));
GTMaterials.Cobaltite.setProperty(PropertyKey.HAZARD, new $HAZARD_PROPERTY($HAZARD_PROPERTY.HazardTrigger.INHALATION, GTMedicalConditions.ARSENICOSIS, 1, false));
GTMaterials.Galena.setProperty(PropertyKey.HAZARD, new $HAZARD_PROPERTY($HAZARD_PROPERTY.HazardTrigger.INHALATION, GTMedicalConditions.WEAK_POISON, 1, false));
GTMaterials.Chromite.setProperty(PropertyKey.HAZARD, new $HAZARD_PROPERTY($HAZARD_PROPERTY.HazardTrigger.SKIN_CONTACT, GTMedicalConditions.IRRITANT, 1, false));
GTMaterials.Thorium.setProperty(PropertyKey.HAZARD, new $HAZARD_PROPERTY($HAZARD_PROPERTY.HazardTrigger.ANY, $TFGT_MEDICAL_CONDITIONS.RADIOACTIVE, 1, true));
// This contains hazardous elements so GT tags it as hazardous automatically
GTMaterials.get('ostrum').getProperties().removeProperty(PropertyKey.HAZARD);
GTMaterials.get('ostrum_iodide').getProperties().removeProperty(PropertyKey.HAZARD);
// Superconductors being radioactive at EV is a little evil
GTMaterials.UraniumTriplatinum.getProperties().removeProperty(PropertyKey.HAZARD);
// Make these the lowest tier of EBF instead
GTMaterials.BlackSteel.getProperty(PropertyKey.BLAST).setBlastTemperature(1000)
GTMaterials.RedSteel.getProperty(PropertyKey.BLAST).setBlastTemperature(1000)
GTMaterials.BlueSteel.getProperty(PropertyKey.BLAST).setBlastTemperature(1000)
// BLAST property
let zirconium_diboride = TFGHelpers.getMaterial('zirconium_diboride');
zirconium_diboride.setProperty(PropertyKey.BLAST, new $BLAST_PROPERTY(4500, $BLAST_PROPERTY.GasTier.HIGH, GTValues.VA[GTValues.EV], 2700, GTValues.VA[GTValues.HV], 12.5 * 20));
GTMaterials.Titanium.getProperties().removeProperty(PropertyKey.BLAST);
GTMaterials.Titanium.setProperty(PropertyKey.BLAST, new $BLAST_PROPERTY(2750, $BLAST_PROPERTY.GasTier.MID, GTValues.VA[GTValues.HV], 20 * 60, GTValues.VA[GTValues.HV], 7.2 * 20));
// Remove properties
GTMaterials.Glass.getProperties().removeProperty(PropertyKey.GEM)
GTMaterials.Thorium.getProperties().removeProperty(PropertyKey.INGOT)
GTMaterials.Thorium.getProperties().removeProperty(PropertyKey.FLUID)
GTMaterials.Plutonium239.getProperties().removeProperty(PropertyKey.ORE)
}