Skip to content

Commit

Permalink
Makes Plastitanium Windows deconstructable and children of Reinforced…
Browse files Browse the repository at this point in the history
… Windows. (tgstation#46679)

* Makes plastitanium windows children of reinforced windows.

* Unanchored variety isn't fully tooled in now.

* Path moved to plasma/reinforced/plastitanium

* Fixes a blunder about neglecting a mapping path change.
  • Loading branch information
Firecage authored and actioninja committed Sep 26, 2019
1 parent 1e5d052 commit b18e8ba
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 49 deletions.
36 changes: 18 additions & 18 deletions _maps/RandomRuins/LavaRuins/lavaland_surface_syndicate_base1.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
/area/ruin/unpowered/syndicate_lava_base/chemistry)
"at" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/poddoor{
id = "lavalandsyndi_chemistry"
},
Expand Down Expand Up @@ -415,7 +415,7 @@
/area/ruin/unpowered/syndicate_lava_base/testlab)
"dS" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/obj/machinery/door/poddoor/preopen{
id = "lavalandsyndi";
Expand Down Expand Up @@ -637,7 +637,7 @@
/area/ruin/unpowered/syndicate_lava_base/testlab)
"ek" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/ruin/unpowered/syndicate_lava_base/testlab)
"el" = (
Expand Down Expand Up @@ -920,7 +920,7 @@
/area/ruin/unpowered/syndicate_lava_base/cargo)
"eF" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/obj/machinery/door/poddoor{
id = "lavalandsyndi_cargo"
Expand All @@ -946,7 +946,7 @@
/area/ruin/unpowered/syndicate_lava_base/virology)
"eI" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/ruin/unpowered/syndicate_lava_base/virology)
"eJ" = (
Expand Down Expand Up @@ -1197,7 +1197,7 @@
/area/ruin/unpowered/syndicate_lava_base/cargo)
"fa" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/turf/open/floor/plating,
/area/ruin/unpowered/syndicate_lava_base/cargo)
Expand Down Expand Up @@ -1345,7 +1345,7 @@
/area/ruin/unpowered/syndicate_lava_base/chemistry)
"fn" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/turf/open/floor/plating,
/area/ruin/unpowered/syndicate_lava_base/chemistry)
Expand Down Expand Up @@ -2397,7 +2397,7 @@
/area/ruin/unpowered/syndicate_lava_base/virology)
"hH" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/poddoor/preopen{
id = "lavalandsyndi_virology"
},
Expand Down Expand Up @@ -3331,7 +3331,7 @@
/area/ruin/unpowered/syndicate_lava_base/engineering)
"jx" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/obj/machinery/door/poddoor/preopen{
id = "lavalandsyndi_bar"
Expand Down Expand Up @@ -3893,7 +3893,7 @@
/area/ruin/unpowered/syndicate_lava_base/engineering)
"kD" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/ruin/unpowered/syndicate_lava_base/engineering)
"kE" = (
Expand Down Expand Up @@ -4103,7 +4103,7 @@
/area/ruin/unpowered/syndicate_lava_base/engineering)
"lb" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/atmospherics/pipe/simple/supplymain/visible{
dir = 4
},
Expand Down Expand Up @@ -4702,7 +4702,7 @@
/area/ruin/unpowered/syndicate_lava_base/telecomms)
"mp" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/obj/machinery/door/poddoor/preopen{
id = "lavalandsyndi_telecomms"
Expand Down Expand Up @@ -4912,7 +4912,7 @@
/area/ruin/unpowered/syndicate_lava_base/arrivals)
"mU" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/turf/open/floor/plating,
/area/ruin/unpowered/syndicate_lava_base/bar)
Expand Down Expand Up @@ -5788,7 +5788,7 @@
/area/ruin/unpowered/syndicate_lava_base/telecomms)
"ox" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/obj/machinery/door/poddoor{
id = "lavalandsyndi_arrivals"
Expand Down Expand Up @@ -5898,7 +5898,7 @@
dir = 8
},
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating/airless,
/area/ruin/unpowered/syndicate_lava_base/engineering)
"wi" = (
Expand All @@ -5914,7 +5914,7 @@
/area/ruin/unpowered/syndicate_lava_base/engineering)
"BF" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/firedoor,
/obj/machinery/door/poddoor/preopen{
id = "lavalandsyndi";
Expand Down Expand Up @@ -5979,12 +5979,12 @@
"IG" = (
/obj/machinery/atmospherics/pipe/simple/dark/visible,
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating/airless,
/area/ruin/unpowered/syndicate_lava_base/engineering)
"IH" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating/airless,
/area/ruin/unpowered/syndicate_lava_base/engineering)
"IJ" = (
Expand Down
2 changes: 1 addition & 1 deletion _maps/RandomZLevels/snowdin.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -12004,7 +12004,7 @@
/turf/open/floor/plasteel/dark,
/area/awaymission/snowdin/cave)
"DH" = (
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/structure/grille,
/turf/open/floor/plating,
/area/awaymission/snowdin/cave)
Expand Down
4 changes: 2 additions & 2 deletions _maps/shuttles/emergency_pubby.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@
/turf/open/floor/mineral/plastitanium/red/brig,
/area/shuttle/escape)
"bv" = (
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/structure/grille,
/turf/open/floor/plating,
/area/shuttle/escape)
Expand Down Expand Up @@ -652,7 +652,7 @@
/area/shuttle/escape)
"bE" = (
/obj/structure/shuttle/engine/heater,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/escape)
"bG" = (
Expand Down
4 changes: 2 additions & 2 deletions _maps/shuttles/emergency_raven.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/area/template_noop)
"ab" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/poddoor/preopen{
id = "escape_cockpit_windows";
name = "Cockpit Blast Door"
Expand Down Expand Up @@ -590,7 +590,7 @@
/area/shuttle/escape)
"br" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/escape)
"bs" = (
Expand Down
2 changes: 1 addition & 1 deletion _maps/shuttles/emergency_zeta.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/turf/closed/wall/mineral/abductor,
/area/shuttle/escape)
"c" = (
/obj/effect/spawner/structure/window/plastitanium,
/obj/effect/spawner/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating/abductor,
/area/shuttle/escape)
"d" = (
Expand Down
2 changes: 1 addition & 1 deletion _maps/shuttles/hunter_bounty.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
/area/shuttle/hunter)
"i" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/hunter)
"j" = (
Expand Down
12 changes: 6 additions & 6 deletions _maps/shuttles/infiltrator_advanced.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/turf/closed/wall/r_wall/syndicate/nodiagonal,
/area/shuttle/syndicate/bridge)
"ab" = (
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/poddoor/shutters{
id = "syndieshutters";
name = "blast shutters"
Expand Down Expand Up @@ -399,7 +399,7 @@
/area/shuttle/syndicate/airlock)
"aQ" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/syndicate/eva)
"aR" = (
Expand Down Expand Up @@ -883,7 +883,7 @@
/area/shuttle/syndicate/medical)
"bQ" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/syndicate/hallway)
"bR" = (
Expand Down Expand Up @@ -1226,7 +1226,7 @@
/area/shuttle/syndicate/medical)
"cx" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/structure/shuttle/engine/heater,
/turf/open/floor/plating,
/area/shuttle/syndicate/medical)
Expand Down Expand Up @@ -1286,7 +1286,7 @@
/area/shuttle/syndicate/armory)
"cH" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/structure/shuttle/engine/heater,
/turf/open/floor/plating,
/area/shuttle/syndicate/armory)
Expand Down Expand Up @@ -1317,7 +1317,7 @@
/area/shuttle/syndicate/hallway)
"cN" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/structure/shuttle/engine/heater,
/turf/open/floor/plating,
/area/shuttle/syndicate/hallway)
Expand Down
12 changes: 6 additions & 6 deletions _maps/shuttles/infiltrator_basic.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/turf/closed/wall/r_wall/syndicate,
/area/shuttle/syndicate/hallway)
"ae" = (
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/poddoor/shutters{
id = "syndieshutters";
name = "blast shutters"
Expand Down Expand Up @@ -405,7 +405,7 @@
/area/shuttle/syndicate/eva)
"aV" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/syndicate/hallway)
"aW" = (
Expand Down Expand Up @@ -517,12 +517,12 @@
/area/shuttle/syndicate/eva)
"bg" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/syndicate/eva)
"bh" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/syndicate/airlock)
"bi" = (
Expand Down Expand Up @@ -619,12 +619,12 @@
/area/shuttle/syndicate/medical)
"bv" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/syndicate/medical)
"bw" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/syndicate/armory)
"bx" = (
Expand Down
2 changes: 1 addition & 1 deletion _maps/shuttles/pirate_default.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@
id = "piratebridge"
},
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/turf/open/floor/plating,
/area/shuttle/pirate)
"ez" = (
Expand Down
2 changes: 1 addition & 1 deletion _maps/shuttles/ruin_pirate_cutter.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@
/area/shuttle/caravan/pirate)
"Bi" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/poddoor{
id = "caravanpirate_bridge"
},
Expand Down
2 changes: 1 addition & 1 deletion _maps/shuttles/ruin_syndicate_dropship.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
/area/shuttle/caravan/syndicate3)
"rU" = (
/obj/structure/grille,
/obj/structure/window/plastitanium,
/obj/structure/window/plasma/reinforced/plastitanium,
/obj/machinery/door/poddoor{
id = "caravansyndicate3_bridge"
},
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/effects/spawners/structure.dm
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ again.

//plastitanium window

/obj/effect/spawner/structure/window/plastitanium
/obj/effect/spawner/structure/window/plasma/reinforced/plastitanium
name = "plastitanium window spawner"
icon_state = "plastitaniumwindow_spawner"
spawn_list = list(/obj/structure/grille, /obj/structure/window/plastitanium)
spawn_list = list(/obj/structure/grille, /obj/structure/window/plasma/reinforced/plastitanium)


//ice window
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/stacks/sheets/glass.dm
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ GLOBAL_LIST_INIT(titaniumglass_recipes, list(
return ..()

GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
new/datum/stack_recipe("plastitanium window", /obj/structure/window/plastitanium/unanchored, 2, time = 0, on_floor = TRUE, window_checks = TRUE)
new/datum/stack_recipe("plastitanium window", /obj/structure/window/plasma/reinforced/plastitanium/unanchored, 2, time = 0, on_floor = TRUE, window_checks = TRUE)
))

/obj/item/stack/sheet/plastitaniumglass
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/structures/grille.dm
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
else if(istype(W, /obj/item/stack/sheet/titaniumglass))
WD = new/obj/structure/window/shuttle(drop_location())
else if(istype(W, /obj/item/stack/sheet/plastitaniumglass))
WD = new/obj/structure/window/plastitanium(drop_location())
WD = new/obj/structure/window/plasma/reinforced/plastitanium(drop_location())
else
WD = new/obj/structure/window/fulltile(drop_location()) //normal window
WD.setDir(dir_to_set)
Expand Down
Loading

0 comments on commit b18e8ba

Please sign in to comment.