Skip to content

Commit

Permalink
reflectors anchor on mapload (#26745)
Browse files Browse the repository at this point in the history
* anchors reflectors on 2 maps to not troll engineering

* anchors on mapload
  • Loading branch information
Qwertytoforty authored Sep 14, 2024
1 parent 9c4a4c6 commit 7be7ec7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
7 changes: 1 addition & 6 deletions _maps/map_files/stations/boxstation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -54612,7 +54612,6 @@
/area/station/maintenance/apmaint)
"fdg" = (
/obj/structure/reflector/single{
anchored = 1;
dir = 1
},
/turf/simulated/floor/plasteel{
Expand Down Expand Up @@ -68256,7 +68255,6 @@
/area/station/aisat/service)
"lKP" = (
/obj/structure/reflector/single{
anchored = 1;
dir = 4
},
/turf/simulated/floor/plasteel{
Expand Down Expand Up @@ -73969,9 +73967,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/atmos)
"oBR" = (
/obj/structure/reflector/double{
anchored = 1
},
/obj/structure/reflector/double,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
Expand Down Expand Up @@ -77730,7 +77726,6 @@
/area/station/maintenance/aft)
"qpq" = (
/obj/structure/reflector/box{
anchored = 1;
dir = 1
},
/turf/simulated/floor/plasteel{
Expand Down
1 change: 0 additions & 1 deletion _maps/map_files/stations/deltastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4299,7 +4299,6 @@
/area/station/engineering/controlroom)
"aue" = (
/obj/structure/reflector/single{
anchored = 1;
dir = 4
},
/turf/simulated/floor/plasteel/dark,
Expand Down
4 changes: 0 additions & 4 deletions _maps/map_files/stations/metastation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -9555,7 +9555,6 @@
/area/station/engineering/engine/supermatter)
"aSp" = (
/obj/structure/reflector/box{
anchored = 1;
dir = 8
},
/turf/simulated/floor/plasteel{
Expand Down Expand Up @@ -57292,7 +57291,6 @@
/area/station/service/clown)
"jbk" = (
/obj/structure/reflector/double{
anchored = 1;
dir = 8
},
/turf/simulated/floor/plasteel{
Expand Down Expand Up @@ -66842,7 +66840,6 @@
/area/station/legal/courtroom/gallery)
"mZJ" = (
/obj/structure/reflector/single{
anchored = 1;
dir = 8
},
/turf/simulated/floor/plating,
Expand Down Expand Up @@ -84733,7 +84730,6 @@
/area/station/medical/chemistry)
"uLE" = (
/obj/structure/reflector/single{
anchored = 1;
dir = 1
},
/turf/simulated/floor/plating,
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/structures/reflector.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
var/obj/item/stack/sheet/build_stack_type
var/build_stack_amount

/obj/structure/reflector/Initialize(mapload)
. = ..()
if(mapload)
anchored = TRUE

/obj/structure/reflector/bullet_act(obj/item/projectile/P)
var/turf/reflector_turf = get_turf(src)
Expand Down

0 comments on commit 7be7ec7

Please sign in to comment.