Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
Fix: Wall machinery under windows (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Jul 15, 2023
1 parent 1d65e93 commit 45e33da
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 55 deletions.
62 changes: 7 additions & 55 deletions _maps/map_files/Delta/delta.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -52120,9 +52120,6 @@
/area/security/permabrig)
"fWD" = (
/obj/effect/decal/warning_stripes/west,
/obj/structure/cable{
icon_state = "4-8"
},
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
Expand Down Expand Up @@ -57769,21 +57766,6 @@
icon_state = "greencorner"
},
/area/medical/virology/lab)
"hmo" = (
/obj/effect/spawner/window/reinforced,
/obj/structure/cable,
/obj/machinery/door/poddoor{
density = 0;
icon_state = "open";
id_tag = "Brig_lockdown";
name = "Brig Lockdown";
opacity = 0
},
/obj/machinery/door/poddoor/shutters/preopen{
id_tag = "SecPilotPriv"
},
/turf/simulated/floor/plating,
/area/security/podbay)
"hmq" = (
/obj/structure/window/reinforced{
dir = 4
Expand Down Expand Up @@ -61608,15 +61590,8 @@
},
/area/atmos)
"ihp" = (
/obj/machinery/door/poddoor/multi_tile/two_tile_ver{
id_tag = "secpilot";
req_access = list(71)
},
/obj/structure/cable{
icon_state = "2-8"
},
/obj/structure/cable{
icon_state = "1-8"
/obj/structure/spacepoddoor{
luminosity = 3
},
/obj/machinery/door/poddoor{
density = 0;
Expand All @@ -61625,8 +61600,9 @@
name = "Brig Lockdown";
opacity = 0
},
/obj/structure/spacepoddoor{
luminosity = 3
/obj/machinery/door/poddoor/multi_tile/two_tile_ver{
id_tag = "secpilot";
req_access = list(71)
},
/turf/simulated/floor/plasteel{
icon_state = "dark"
Expand Down Expand Up @@ -77222,24 +77198,6 @@
/obj/effect/landmark/tiles/damageturf,
/turf/simulated/floor/plating,
/area/maintenance/asmaint4)
"maX" = (
/obj/effect/spawner/window/reinforced,
/obj/structure/cable{
d2 = 2;
icon_state = "0-2"
},
/obj/machinery/door/poddoor{
density = 0;
icon_state = "open";
id_tag = "Brig_lockdown";
name = "Brig Lockdown";
opacity = 0
},
/obj/machinery/door/poddoor/shutters/preopen{
id_tag = "SecPilotPriv"
},
/turf/simulated/floor/plating,
/area/security/podbay)
"mbm" = (
/obj/machinery/light/small{
dir = 1
Expand Down Expand Up @@ -113767,9 +113725,6 @@
},
/area/security/warden)
"uoA" = (
/obj/structure/cable{
icon_state = "4-8"
},
/obj/structure/cable{
icon_state = "1-8"
},
Expand Down Expand Up @@ -126819,9 +126774,6 @@
},
/area/maintenance/starboard)
"xqr" = (
/obj/structure/cable{
icon_state = "1-2"
},
/obj/machinery/door/poddoor{
density = 0;
icon_state = "open";
Expand Down Expand Up @@ -191973,10 +191925,10 @@ aaq
aaq
coE
wyD
maX
wyD
xqr
ihp
hmo
wyD
wyD
coE
ylx
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/alarm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
name = "alarm"
icon = 'icons/obj/machines/monitors.dmi'
icon_state = "alarm0"
layer = ABOVE_WINDOW_LAYER
anchored = 1
use_power = IDLE_POWER_USE
idle_power_usage = 4
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/door_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
desc = "A remote control-switch for a door."
icon = 'icons/obj/stationobjs.dmi'
icon_state = "doorctrl"
layer = ABOVE_WINDOW_LAYER
power_channel = ENVIRON
var/id = null
var/safety_z_check = 1
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/firealarm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ FIRE ALARM
desc = "<i>\"Pull this in case of emergency\"</i>. Thus, keep pulling it forever."
icon = 'icons/obj/machines/monitors.dmi'
icon_state = "fire0"
layer = ABOVE_WINDOW_LAYER
var/detecting = 1.0
var/working = 1.0
var/time = 10.0
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/lightswitch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
desc = "It turns lights on and off. What are you, simple?"
icon = 'icons/obj/engines_and_power/power.dmi'
icon_state = "light1"
layer = ABOVE_WINDOW_LAYER
anchored = 1.0
var/on = 1
var/area/area = null
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/requests_console.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ GLOBAL_LIST_EMPTY(allRequestConsoles)
anchored = TRUE
icon = 'icons/obj/machines/terminals.dmi'
icon_state = "req_comp0"
layer = ABOVE_WINDOW_LAYER
max_integrity = 300
armor = list("melee" = 70, "bullet" = 30, "laser" = 30, "energy" = 30, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 90, "acid" = 90)
var/department = "Unknown" //The list of all departments on the station (Determined from this variable on each unit) Set this to the same thing if you want several consoles in one department
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/items/devices/radio/intercom.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
desc = "Talk through this."
icon = 'icons/obj/intercom.dmi'
icon_state = INTERCOM_BASE_ICON_STATE
layer = ABOVE_WINDOW_LAYER
anchored = TRUE
w_class = WEIGHT_CLASS_BULKY
canhear_range = 2
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/structures/window.dm
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@
name = "window tint control"
icon = 'icons/obj/stationobjs.dmi'
icon_state = "polarizer-0"
layer = ABOVE_WINDOW_LAYER
desc = "A remote control switch for polarized windows."
anchored = TRUE
var/range = 7
Expand Down
1 change: 1 addition & 0 deletions code/modules/newscaster/obj/newscaster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. All the news you absolutely have no use for, in one place!"
icon = 'icons/obj/machines/terminals.dmi'
icon_state = "newscaster_normal"
layer = ABOVE_WINDOW_LAYER
max_integrity = 200
integrity_failure = 50
light_range = 0
Expand Down
1 change: 1 addition & 0 deletions code/modules/power/apc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
name = "area power controller"
desc = "A control terminal for the area electrical systems."
icon_state = "apc0"
layer = ABOVE_WINDOW_LAYER
use_power = NO_POWER_USE
max_integrity = 200
integrity_failure = 50
Expand Down

0 comments on commit 45e33da

Please sign in to comment.