Files
SyncIt21 e90018a3eb Stops unessassary reactions from occurring in plumbing machines (#95125)
## About The Pull Request
This PR stops reactions from occurring in plumbing machines except for 2
- Reaction chamber
- Acclimator

This means you can now have a tank containing welding fuel, carbon &
hydrogen and not worry about them reacting to create oil

## Why its good for the game
- Makes the game run faster. Calling `handle_reactions()` is an
expensive operation and should not be done needlessly
- Makes life for players easier. We don't want chemicals reacting before
they reach the reaction chamber & acclimator and making them obsolete.
It now allows them to do their job properly

**Dependencies**
- #95077
- #95084

After they are merged. Part of their code needs to be rewritten here.

This also deletes the redundant splitter sprite

## Changelog
🆑
qol: except for plumbing reaction chamber & acclimator, no reactions
will occur inside plumbing machines
/🆑
2026-02-20 07:53:31 +01:00

43 lines
1.1 KiB
Plaintext

/datum/asset/spritesheet_batched/plumbing
name = "plumbing-tgui"
/datum/asset/spritesheet_batched/plumbing/create_spritesheets()
//load only what we need from the icon files,format is icon_file_name = list of icon_states we need from this file
var/list/essentials = list(
'icons/obj/medical/iv_drip.dmi' = list("plumb"),
'icons/obj/pipes_n_cables/hydrochem/fluid_ducts.dmi' = list("nduct"),
'icons/hud/radial.dmi' = list(
"plumbing_layer1",
"plumbing_layer2",
"plumbing_layer4",
"plumbing_layer8",
"plumbing_layer16",
),
'icons/obj/pipes_n_cables/hydrochem/plumbers.dmi' = list(
"synthesizer",
"reaction_chamber",
"grinder_chemical",
"fermenter",
"pump",
"disposal",
"buffer",
"manifold",
"pipe_input",
"filter",
"splitter",
"beacon",
"pipe_output",
"tank",
"acclimator",
"bottler",
"pill_press",
"synthesizer_soda",
"synthesizer_booze",
"tap_output",
),
)
for(var/icon_file in essentials)
for(var/icon_state in essentials[icon_file])
insert_icon(icon_state, uni_icon(icon_file, icon_state))