Skip to content

Commit

Permalink
[MIRROR] Adds a shower drain fluff item (#1523)
Browse files Browse the repository at this point in the history
* Adds a shower drain fluff item (#82071)

## About The Pull Request

Turns the varedited fluff item into its own item so it no longer has a
varedited icon & icon state.

## Why It's Good For The Game

We're varediting this fluff item 17 times on current tg master and it's
pretty bad. Varediting icon/icon state in maps should be discouraged and
hopefully banned later, it's not hard to make a subtype of an item so we
should be able to expect mappers to do that rather than this.

## Changelog

Nothing player-facing.

* Adds a shower drain fluff item

---------

Co-authored-by: John Willard <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Mar 22, 2024
1 parent 9aba8d1 commit 89423e4
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 102 deletions.
14 changes: 2 additions & 12 deletions _maps/RandomRuins/SpaceRuins/allamericandiner.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,7 @@
/area/ruin/space/has_grav/allamericandiner)
"nq" = (
/obj/machinery/shower/directional/east,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/item/soap,
/turf/open/floor/iron/freezer,
/area/ruin/space/has_grav/allamericandiner)
Expand Down Expand Up @@ -619,12 +614,7 @@
/area/ruin/space/has_grav/allamericandiner)
"CF" = (
/obj/machinery/shower/directional/west,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/item/soap,
/turf/open/floor/iron/freezer,
/area/ruin/space/has_grav/allamericandiner)
Expand Down
7 changes: 1 addition & 6 deletions _maps/RandomRuins/SpaceRuins/dangerous_research.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2483,12 +2483,7 @@
pixel_x = 15;
pixel_y = 12
},
/obj/structure/fluff{
desc = "Ew, I think I see a hairball.";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/machinery/shower/directional/east,
/turf/open/floor/iron/showroomfloor,
/area/ruin/space/has_grav/dangerous_research/dorms)
Expand Down
7 changes: 1 addition & 6 deletions _maps/RandomRuins/SpaceRuins/interdyne.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -973,12 +973,7 @@
/turf/open/floor/mineral/plastitanium,
/area/ruin/space/has_grav/interdyne)
"NU" = (
/obj/structure/fluff{
desc = "Ew, I think I see a hairball.";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/machinery/shower/directional/east,
/obj/item/soap/syndie,
/obj/machinery/light/blacklight/directional/north,
Expand Down
7 changes: 1 addition & 6 deletions _maps/map_files/IceBoxStation/IceBoxStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -14748,12 +14748,7 @@
/obj/structure/railing{
dir = 4
},
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/effect/turf_decal/stripes/white/end,
/turf/open/floor/iron/white,
/area/station/medical/pharmacy)
Expand Down
35 changes: 5 additions & 30 deletions _maps/map_files/NorthStar/north_star.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -3408,12 +3408,7 @@
/area/station/maintenance/floor2/starboard/aft)
"aSI" = (
/obj/machinery/shower/directional/west,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/machinery/airalarm/directional/south,
/turf/open/floor/iron/white/small,
/area/station/commons/fitness/recreation)
Expand Down Expand Up @@ -26842,12 +26837,7 @@
/turf/open/floor/iron,
/area/station/cargo/storage)
"gYI" = (
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/machinery/duct,
/turf/open/floor/iron/showroomfloor{
name = "bathroom tiles"
Expand Down Expand Up @@ -44797,12 +44787,7 @@
"lBR" = (
/obj/machinery/shower/directional/east,
/obj/item/bikehorn/rubberducky,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/turf/open/floor/iron/white/small,
/area/station/commons/fitness/recreation)
"lCf" = (
Expand Down Expand Up @@ -55983,12 +55968,7 @@
},
/area/station/hallway/floor1/fore)
"oqc" = (
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/machinery/shower/directional/north,
/turf/open/floor/iron/showroomfloor,
/area/station/command/heads_quarters/qm)
Expand Down Expand Up @@ -82419,12 +82399,7 @@
},
/area/station/security/prison)
"vlh" = (
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/effect/turf_decal/trimline/neutral,
/obj/machinery/shower/directional/west,
/turf/open/floor/iron/freezer,
Expand Down
42 changes: 6 additions & 36 deletions _maps/map_files/tramstation/tramstation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -11659,12 +11659,7 @@
"cVk" = (
/obj/effect/turf_decal/box,
/obj/machinery/shower/directional/east,
/obj/structure/fluff{
desc = "Ew, I think I see a hairball.";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/effect/turf_decal/tile/blue/fourcorners,
/turf/open/floor/iron/white,
/area/station/medical/treatment_center)
Expand Down Expand Up @@ -16755,12 +16750,7 @@
/area/station/science/auxlab/firing_range)
"ePS" = (
/obj/machinery/shower/directional/west,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/tile/purple/fourcorners,
/turf/open/floor/iron/white,
Expand Down Expand Up @@ -22531,12 +22521,7 @@
/area/station/commons/fitness/recreation)
"gWt" = (
/obj/effect/turf_decal/box,
/obj/structure/fluff{
desc = "Ew, I think I see a hairball.";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/machinery/shower/directional/west,
/obj/effect/turf_decal/tile/blue/fourcorners,
/turf/open/floor/iron/white,
Expand Down Expand Up @@ -32937,12 +32922,7 @@
},
/obj/machinery/shower/directional/west,
/obj/effect/turf_decal/bot,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/effect/turf_decal/tile/purple/fourcorners,
/turf/open/floor/iron/white,
/area/station/science/xenobiology)
Expand Down Expand Up @@ -60070,12 +60050,7 @@
},
/obj/machinery/shower/directional/west,
/obj/effect/turf_decal/box,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/turf/open/floor/iron/white,
/area/station/medical/pharmacy)
"ujw" = (
Expand Down Expand Up @@ -69067,12 +69042,7 @@
/turf/open/floor/iron/white,
/area/station/medical/medbay/lobby)
"xrf" = (
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/obj/machinery/duct,
/obj/effect/landmark/event_spawn,
/turf/open/floor/iron/freezer,
Expand Down
7 changes: 1 addition & 6 deletions _maps/shuttles/pirate_irs.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1033,12 +1033,7 @@
layer = 4
},
/obj/effect/turf_decal/box,
/obj/structure/fluff{
desc = "What, you think the water just magically soaks into the metallic flooring?";
icon = 'icons/obj/mining_zones/survival_pod.dmi';
icon_state = "fan_tiny";
name = "shower drain"
},
/obj/structure/fluff/shower_drain,
/turf/open/floor/iron/dark,
/area/shuttle/pirate)
"Dy" = (
Expand Down
14 changes: 14 additions & 0 deletions code/game/objects/structures/fluff.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
qdel(src)
return
..()

/**
* Empty terrariums are created when a preserved terrarium in a lavaland seed vault is activated.
*/
Expand All @@ -34,6 +35,7 @@
icon = 'icons/obj/mining_zones/spawners.dmi'
icon_state = "terrarium_open"
density = TRUE

/**
* Empty sleepers are created by a good few ghost roles in lavaland.
*/
Expand All @@ -51,6 +53,7 @@

/obj/structure/fluff/empty_sleeper/syndicate
icon_state = "sleeper_s-open"

/**
* Empty cryostasis sleepers are created when a malfunctioning cryostasis sleeper in a lavaland shelter is activated.
*/
Expand All @@ -75,6 +78,17 @@
deconstructible = FALSE
layer = EDGED_TURF_LAYER

/**
* shower drain placed usually under showers just so it looks like something picks the water up.
*/
/obj/structure/fluff/shower_drain
name = "shower drain"
desc = "Ew, I think I see a hairball."
icon = 'icons/obj/mining_zones/survival_pod.dmi'
icon_state = "fan_tiny"
plane = FLOOR_PLANE
layer = LOW_OBJ_LAYER

/**
* A variety of statue in disrepair; parts are broken off and a gemstone is missing
*/
Expand Down

0 comments on commit 89423e4

Please sign in to comment.