Files
Bubberstation/code/modules/asset_cache/assets/plumbing.dm
T
YesterdaysPromiseandGitHub fb10121022 Icons folder cleaning wave two (#76788)
## About The Pull Request

Further continous organizing and cleaning the Icons folder. There are
still some minior nitpicks left to do, but I reached my daily sanity
expenses limit again, and the faster these get in the less issues for
both me and others later. Also cleans some mess I caused by my blindness
last PR.

## Why It's Good For The Game

Saner spriters = better sprites
2023-07-14 18:36:41 +00:00

45 lines
1.1 KiB
Plaintext

/datum/asset/spritesheet/plumbing
name = "plumbing-tgui"
/datum/asset/spritesheet/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",
"growing_vat",
"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 as anything in essentials)
for(var/icon_state as anything in essentials[icon_file])
Insert(sprite_name = icon_state, I = icon_file, icon_state = icon_state)