tags for hotornot

This commit is contained in:
Pyritie 2025-12-09 18:51:02 +00:00
parent 30cfcbff81
commit f653703615
6 changed files with 41 additions and 2 deletions

View file

@ -4,6 +4,7 @@
### Changes
- Doubled the durability of all space suits @Pyritie
### Bug fixes
- Fixed aged sake, vodka, and whiskey losing their buff effects, but for real this time @Pyritie
### Translation updates
## [0.11.10] - 9-12-2025

View file

@ -19,7 +19,7 @@
hotFluidTemperature = 1300
#This sets the temperature when a cold fluid should add effects to the player (in kelvin).
#Range: > -2147483648
coldFluidTemperature = 273
coldFluidTemperature = 223
#Modifier for how much the offhand item should heat up when holding hot items. Holding multiple hot items will heat your insulating items faster!
#Range: 4.9E-324 ~ 1.7976931348623157E308
itemTemperatureModifier = 2.0

View file

@ -105,6 +105,7 @@ ServerEvents.tags('fluid', event => {
registerCreateAdditionsFluidTags(event)
registerGTCEUFluidTags(event)
registerGreateFluidTags(event)
registerHotOrNotFluidTags(event)
registerFirmaLifeFluidTags(event)
registerTFCFluidTags(event)
registerTFGFluidTags(event)

View file

@ -584,6 +584,10 @@ function registerTFCFluidTags(event) {
if (temp >= 1300) {
event.add("tfchotornot:hot_whitelist", idStr);
}
// Frostburns ya.
if (temp < 223) {
event.add("tfchotornot:cold_whitelist", idStr);
}
// Blue steel: can do heat, can't do cryo.
if (temp >= 120) {
event.add("tfc:usable_in_blue_steel_bucket", idStr);
@ -611,7 +615,9 @@ function registerTFCFluidTags(event) {
const isPlasmatic = wrapperHas(plasmaticWrapper);
const isHidden = wrapperHas(hiddenWrapper);
if (isGaseous || isPlasmatic || isHidden) return;
if (isGaseous || isPlasmatic || isHidden)
return;
event.add('forge:liquid', idString);
};

View file

@ -10,10 +10,40 @@ const registerHotOrNotItemTags = (event) => {
})
event.add('tfchotornot:hot_whitelist', '#forge:hot_ingots')
event.add('tfchotornot:cold_whitelist', 'minecraft:blue_ice')
event.add('tfchotornot:cold_whitelist', 'tfg:dry_ice')
event.add('firmalife:usable_on_oven', '#tfchotornot:insulating')
event.add('tfg:insulating_container', 'gtceu:ulv_super_tank')
event.add('tfg:insulating_container', 'gtceu:lv_super_tank')
event.add('tfg:insulating_container', 'gtceu:mv_super_tank')
event.add('tfg:insulating_container', 'gtceu:hv_super_tank')
event.add('tfg:insulating_container', 'gtceu:ev_super_tank')
event.add('tfg:insulating_container', 'gtceu:iv_quantum_tank')
event.add('tfg:insulating_container', 'gtceu:luv_quantum_tank')
event.add('tfg:insulating_container', 'gtceu:zpm_quantum_tank')
event.add('tfg:insulating_container', 'gtceu:uv_quantum_tank')
event.add('tfg:insulating_container', 'gtceu:uhv_quantum_tank')
event.add('tfg:insulating_container', '#tfc:barrels')
event.add('tfg:insulating_container', 'gtceu:fluid_cell')
event.add('tfg:insulating_container', 'gtceu:universal_fluid_cell')
event.add('tfg:insulating_container', 'gtceu:steel_fluid_cell')
event.add('tfg:insulating_container', 'gtceu:aluminium_fluid_cell')
event.add('tfg:insulating_container', 'gtceu:stainless_steel_fluid_cell')
event.add('tfg:insulating_container', 'gtceu:titanium_fluid_cell')
event.add('tfg:insulating_container', 'gtceu:tungsten_steel_fluid_cell')
event.add('tfg:prevents_gas_floating', 'create:copper_diving_boots')
event.add('tfg:prevents_gas_floating', 'create:netherite_diving_boots')
}
const registerHotOrNotFluidTags = (event) => {
event.add("tfchotornot:gaseous_whitelist", 'gtceu:helium')
event.add("tfchotornot:gaseous_whitelist", 'gtceu:helium_3')
event.add("tfchotornot:gaseous_whitelist", 'gtceu:hydrogen')
event.add("tfchotornot:gaseous_whitelist", 'gtceu:coal_gas')
event.add("tfchotornot:gaseous_whitelist", 'gtceu:methane')
}
const registerHotOrNotBlockTags = (event) => {

View file

@ -15,6 +15,7 @@ BlockEvents.modification(event => {
})
ItemEvents.modification(event => {
registerAdAstraItemModifications(event)
registerBeneathItemModifications(event)
registerCreateItemModifications(event)
registerFirmalifeItemModifications(event)