mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Separates tabletop/wallmounted ID authorisation panels (#85124)
## About The Pull Request We have an ID authorisation panel machine used for things like red alert, where you need to swipe a card in two different places to validate it. _Normally_ this is mounted on a wall in an office, but sometimes it is on a table. We use the same machine code and sprite for both, This _mostly_ works but is going to become problematic after the Wallening. Resultingly, I've added a sprite and typepath for a desktop version.  Wow! (We need desktop buttons too now that I look at this, I hope the wallening branch already has that!) This sprite is secretly the wall-mounted version from the Wallening (made by Imaginos), but flipped upside down so it looks like it is on a table not a wall. Delightfully devious (and proposed by "Kok0nut" on discord). Also as a result of doing this, I've made wallmounted ID card auth devices _actually_ attach to the wall in terms of "If the wall goes, they go too". This may or may not be a good idea given that as far as I can tell they aren't constructible (and probably shouldn't be given that then you'd just activate both with one ID card all the time) but seems broadly sensible to me? ## Why It's Good For The Game Wallmounted devices should generally deconstruct when associated walls are destroyed. Tablemounted devices are going to need different visuals to the wall-mounted versions. ## Changelog 🆑 Jacquerel, Kok0nut, Imaginos image: Wall-mounted and Table-mounted ID card authorisation machines now use different sprites fix: Wall-mounted ID card authorisation devices will now be destroyed if their wall is destroyed /🆑
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
/turf/open/floor/iron/smooth_edge,
|
||||
/area/ruin/space/has_grav/derelictsulaco)
|
||||
"dk" = (
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/item/stack/sheet/mineral/sandbags{
|
||||
amount = 2
|
||||
},
|
||||
@@ -1110,7 +1110,7 @@
|
||||
/area/template_noop)
|
||||
"KS" = (
|
||||
/obj/machinery/door/window/brigdoor/left/directional/east,
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/obj/structure/barricade/sandbags,
|
||||
/turf/open/floor/iron/stairs{
|
||||
dir = 8
|
||||
|
||||
@@ -2626,7 +2626,7 @@
|
||||
"bah" = (
|
||||
/obj/structure/cable,
|
||||
/obj/item/kirbyplants/organic/applebush,
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/iron/dark/textured_corner{
|
||||
dir = 4
|
||||
},
|
||||
@@ -13242,7 +13242,7 @@
|
||||
/obj/item/aicard,
|
||||
/obj/item/pai_card,
|
||||
/obj/item/circuitboard/aicore,
|
||||
/obj/machinery/keycard_auth/directional/north{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north{
|
||||
pixel_x = -5
|
||||
},
|
||||
/obj/machinery/button/door/directional/north{
|
||||
@@ -16398,7 +16398,7 @@
|
||||
/obj/machinery/computer/security/hos{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/carpet/red,
|
||||
/area/station/command/heads_quarters/hos)
|
||||
"gfb" = (
|
||||
@@ -35237,7 +35237,7 @@
|
||||
/obj/machinery/computer/communications{
|
||||
dir = 1
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/wood/large,
|
||||
/area/station/command/heads_quarters/captain)
|
||||
"mau" = (
|
||||
@@ -39220,7 +39220,7 @@
|
||||
/obj/machinery/modular_computer/preset/id{
|
||||
dir = 1
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/wood,
|
||||
/area/station/command/heads_quarters/qm)
|
||||
"nxX" = (
|
||||
@@ -49784,7 +49784,7 @@
|
||||
/turf/open/floor/wood/tile,
|
||||
/area/station/maintenance/central/lesser)
|
||||
"rdH" = (
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/mineral/titanium,
|
||||
/area/station/command/heads_quarters/ce)
|
||||
"rdM" = (
|
||||
@@ -68090,7 +68090,7 @@
|
||||
pixel_x = 6;
|
||||
req_access = list("medical")
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/turf/open/floor/wood/parquet,
|
||||
/area/station/command/heads_quarters/cmo)
|
||||
"wTX" = (
|
||||
|
||||
@@ -18886,7 +18886,7 @@
|
||||
/obj/structure/sign/nanotrasen{
|
||||
pixel_x = 32
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/effect/turf_decal/tile/purple,
|
||||
/obj/effect/turf_decal/tile/neutral/opposingcorners{
|
||||
dir = 1
|
||||
@@ -22283,7 +22283,7 @@
|
||||
/turf/open/floor/iron,
|
||||
/area/station/service/kitchen)
|
||||
"fyH" = (
|
||||
/obj/machinery/keycard_auth/directional/south{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south{
|
||||
pixel_x = 6
|
||||
},
|
||||
/obj/machinery/light_switch/directional/south{
|
||||
@@ -25563,7 +25563,7 @@
|
||||
/turf/open/floor/iron,
|
||||
/area/station/maintenance/starboard/aft)
|
||||
"goc" = (
|
||||
/obj/machinery/keycard_auth/directional/south{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south{
|
||||
pixel_y = -38
|
||||
},
|
||||
/obj/machinery/atmospherics/components/unary/vent_pump/on/layer4{
|
||||
@@ -27292,7 +27292,7 @@
|
||||
pixel_y = -6;
|
||||
req_access = list("hos")
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east{
|
||||
pixel_x = 38;
|
||||
pixel_y = 6
|
||||
},
|
||||
@@ -74154,7 +74154,7 @@
|
||||
pixel_x = 38;
|
||||
pixel_y = 3
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east{
|
||||
pixel_x = 40;
|
||||
pixel_y = -8
|
||||
},
|
||||
@@ -76979,7 +76979,7 @@
|
||||
/area/station/command/bridge)
|
||||
"tns" = (
|
||||
/obj/structure/table/wood,
|
||||
/obj/machinery/keycard_auth/directional/west,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west,
|
||||
/obj/item/flashlight/lamp,
|
||||
/obj/effect/turf_decal/tile/neutral/fourcorners,
|
||||
/turf/open/floor/iron/dark,
|
||||
@@ -90612,7 +90612,7 @@
|
||||
/obj/machinery/modular_computer/preset/id{
|
||||
dir = 1
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south{
|
||||
pixel_x = -5
|
||||
},
|
||||
/obj/machinery/button/door/directional/south{
|
||||
|
||||
@@ -14374,7 +14374,7 @@
|
||||
/turf/open/floor/iron,
|
||||
/area/station/commons/locker)
|
||||
"ehy" = (
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/obj/machinery/atmospherics/components/unary/vent_scrubber/on/layer2{
|
||||
dir = 1
|
||||
},
|
||||
@@ -27806,7 +27806,7 @@
|
||||
pixel_y = 4
|
||||
},
|
||||
/obj/item/folder/yellow,
|
||||
/obj/machinery/keycard_auth/directional/west{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west{
|
||||
pixel_x = -25;
|
||||
pixel_y = -5
|
||||
},
|
||||
@@ -29286,7 +29286,7 @@
|
||||
/obj/item/bedsheet/cmo,
|
||||
/obj/machinery/light_switch/directional/south,
|
||||
/obj/effect/landmark/start/chief_medical_officer,
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/obj/machinery/camera{
|
||||
c_tag = "Chief Medical Officer Bedroom";
|
||||
dir = 4;
|
||||
@@ -42052,7 +42052,7 @@
|
||||
/turf/open/floor/iron/white,
|
||||
/area/station/medical/medbay/aft)
|
||||
"mGV" = (
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/iron,
|
||||
/area/station/command/heads_quarters/ce)
|
||||
"mHd" = (
|
||||
@@ -43692,7 +43692,7 @@
|
||||
dir = 1
|
||||
},
|
||||
/obj/structure/window/reinforced/spawner/directional/west,
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/machinery/camera/autoname/directional/south{
|
||||
c_tag = "Research Director's Office";
|
||||
network = list("ss13","rd")
|
||||
@@ -61853,7 +61853,7 @@
|
||||
/area/station/maintenance/department/medical/central)
|
||||
"sqU" = (
|
||||
/obj/machinery/newscaster/directional/west,
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/wood,
|
||||
/area/station/command/heads_quarters/captain)
|
||||
"sqW" = (
|
||||
@@ -74304,7 +74304,7 @@
|
||||
/obj/machinery/computer/cargo{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/west,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west,
|
||||
/obj/effect/turf_decal/tile/blue/anticorner/contrasted{
|
||||
dir = 8
|
||||
},
|
||||
|
||||
@@ -13808,7 +13808,7 @@
|
||||
/obj/effect/turf_decal/siding/wood{
|
||||
dir = 9
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/north{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north{
|
||||
pixel_x = -5
|
||||
},
|
||||
/turf/open/floor/wood/large,
|
||||
@@ -16874,7 +16874,7 @@
|
||||
/obj/machinery/computer/crew{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south{
|
||||
pixel_x = 6
|
||||
},
|
||||
/obj/machinery/button/door/directional/south{
|
||||
@@ -21981,7 +21981,7 @@
|
||||
/turf/open/floor/wood,
|
||||
/area/station/command/heads_quarters/captain/private)
|
||||
"hSt" = (
|
||||
/obj/machinery/keycard_auth/directional/west,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west,
|
||||
/obj/effect/turf_decal/tile/neutral/fourcorners,
|
||||
/turf/open/floor/iron/dark,
|
||||
/area/station/command/heads_quarters/ce)
|
||||
@@ -24117,7 +24117,7 @@
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/status_display/ai/directional/north,
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/turf/open/floor/wood,
|
||||
/area/station/command/heads_quarters/captain/private)
|
||||
"iDq" = (
|
||||
@@ -35015,7 +35015,7 @@
|
||||
/obj/machinery/computer/records/security{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/west,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west,
|
||||
/obj/machinery/requests_console/directional/north{
|
||||
department = "Head of Security's Desk";
|
||||
name = "Head of Security Requests Console"
|
||||
@@ -43415,7 +43415,7 @@
|
||||
/turf/open/floor/wood,
|
||||
/area/station/command/heads_quarters/hos)
|
||||
"psy" = (
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/turf/open/floor/carpet,
|
||||
/area/station/command/heads_quarters/hop)
|
||||
"psz" = (
|
||||
@@ -48530,7 +48530,7 @@
|
||||
/area/station/command/teleporter)
|
||||
"rhL" = (
|
||||
/obj/machinery/computer/security/mining,
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/obj/item/radio/intercom/directional/north{
|
||||
pixel_y = 34
|
||||
},
|
||||
@@ -54060,7 +54060,7 @@
|
||||
/obj/item/aicard,
|
||||
/obj/item/pai_card,
|
||||
/obj/item/circuitboard/aicore,
|
||||
/obj/machinery/keycard_auth/directional/north{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north{
|
||||
pixel_x = -5
|
||||
},
|
||||
/obj/machinery/button/door/directional/north{
|
||||
|
||||
@@ -838,7 +838,7 @@
|
||||
id = "captain_privacy";
|
||||
name = "Privacy Shutters"
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/obj/structure/table/wood,
|
||||
/obj/item/book/manual/wiki/security_space_law,
|
||||
/obj/item/hand_tele,
|
||||
@@ -29629,7 +29629,7 @@
|
||||
/obj/structure/railing{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/item/kirbyplants/random,
|
||||
/turf/open/floor/wood/large,
|
||||
/area/station/command/heads_quarters/hop)
|
||||
@@ -30243,7 +30243,7 @@
|
||||
name = "Privacy Shutters Control";
|
||||
pixel_y = 6
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/west{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west{
|
||||
pixel_y = -8
|
||||
},
|
||||
/turf/open/floor/wood,
|
||||
@@ -42277,7 +42277,7 @@
|
||||
/turf/open/floor/carpet,
|
||||
/area/station/command/heads_quarters/captain)
|
||||
"kWD" = (
|
||||
/obj/machinery/keycard_auth/directional/north{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north{
|
||||
pixel_x = -22
|
||||
},
|
||||
/obj/effect/turf_decal/tile/blue/fourcorners,
|
||||
@@ -45077,7 +45077,7 @@
|
||||
/obj/effect/turf_decal/tile/neutral/opposingcorners{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east{
|
||||
pixel_x = 25;
|
||||
pixel_y = 16
|
||||
},
|
||||
@@ -63318,7 +63318,7 @@
|
||||
/obj/structure/chair/wood{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/turf/open/floor/carpet,
|
||||
/area/station/command/heads_quarters/captain)
|
||||
"qoJ" = (
|
||||
@@ -64977,7 +64977,7 @@
|
||||
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2,
|
||||
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
|
||||
/obj/structure/cable,
|
||||
/obj/machinery/keycard_auth/directional/south{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south{
|
||||
pixel_x = 6
|
||||
},
|
||||
/obj/effect/landmark/start/chief_engineer,
|
||||
@@ -75266,7 +75266,7 @@
|
||||
/obj/machinery/computer/security/qm{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/turf/open/floor/wood/large,
|
||||
/area/station/command/heads_quarters/qm)
|
||||
"tun" = (
|
||||
@@ -91848,7 +91848,7 @@
|
||||
/turf/open/floor/iron/smooth,
|
||||
/area/station/cargo/sorting)
|
||||
"xEv" = (
|
||||
/obj/machinery/keycard_auth/directional/north{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north{
|
||||
pixel_x = 9
|
||||
},
|
||||
/obj/machinery/button/door/directional/north{
|
||||
|
||||
@@ -215,10 +215,10 @@
|
||||
/obj/effect/turf_decal/stripes/line{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/west{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west{
|
||||
pixel_y = 7
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/west{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west{
|
||||
pixel_y = -7
|
||||
},
|
||||
/turf/open/indestructible,
|
||||
|
||||
@@ -957,7 +957,7 @@
|
||||
/area/station/hallway/secondary/exit/departure_lounge)
|
||||
"fP" = (
|
||||
/obj/machinery/light/directional/north,
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/turf/open/floor/iron,
|
||||
/area/station/hallway/secondary/exit/departure_lounge)
|
||||
"fQ" = (
|
||||
@@ -1055,7 +1055,7 @@
|
||||
"gz" = (
|
||||
/obj/structure/table,
|
||||
/obj/item/card/id/advanced/gold/captains_spare,
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/turf/open/floor/iron,
|
||||
/area/station/hallway/secondary/exit/departure_lounge)
|
||||
"gE" = (
|
||||
|
||||
@@ -9593,7 +9593,7 @@
|
||||
/turf/open/floor/iron,
|
||||
/area/centcom/tdome/arena)
|
||||
"TO" = (
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/structure/table/reinforced,
|
||||
/obj/item/stack/package_wrap{
|
||||
pixel_y = 11;
|
||||
@@ -10389,7 +10389,7 @@
|
||||
/turf/open/floor/wood,
|
||||
/area/centcom/central_command_areas/admin)
|
||||
"Xr" = (
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/structure/table/reinforced,
|
||||
/obj/machinery/recharger,
|
||||
/obj/machinery/button/door/indestructible{
|
||||
|
||||
@@ -8609,7 +8609,7 @@
|
||||
/area/station/engineering/gravity_generator)
|
||||
"bWb" = (
|
||||
/obj/machinery/suit_storage_unit/hos,
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/turf/open/floor/carpet,
|
||||
/area/station/command/heads_quarters/hos)
|
||||
"bWi" = (
|
||||
@@ -8748,7 +8748,7 @@
|
||||
/obj/effect/turf_decal/trimline/brown/filled/line{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/obj/structure/cable,
|
||||
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
|
||||
/obj/machinery/button/door/directional/east{
|
||||
@@ -12937,7 +12937,7 @@
|
||||
/obj/machinery/modular_computer/preset/id{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/obj/machinery/button/door/directional/north{
|
||||
name = "CMO Privacy Shutters";
|
||||
pixel_y = 38;
|
||||
@@ -43044,7 +43044,7 @@
|
||||
id = "hopqueuestart";
|
||||
req_access = list("kitchen")
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south{
|
||||
pixel_x = 26
|
||||
},
|
||||
/obj/machinery/button/door/directional/south{
|
||||
@@ -50250,7 +50250,7 @@
|
||||
/area/station/science/server)
|
||||
"qKW" = (
|
||||
/obj/structure/table/reinforced,
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/item/rcl/pre_loaded,
|
||||
/obj/machinery/computer/security/telescreen/ce/directional/west,
|
||||
/obj/effect/turf_decal/trimline/yellow/filled/line{
|
||||
@@ -56560,7 +56560,7 @@
|
||||
/obj/machinery/computer/communications{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/north{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north{
|
||||
pixel_x = 26
|
||||
},
|
||||
/obj/machinery/status_display/ai/directional/north,
|
||||
|
||||
@@ -4470,7 +4470,7 @@
|
||||
/obj/machinery/computer/security/mining{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/obj/effect/turf_decal/tile/dark_blue/half/contrasted{
|
||||
dir = 4
|
||||
},
|
||||
@@ -4631,7 +4631,7 @@
|
||||
/area/station/commons/toilet/restrooms)
|
||||
"bFe" = (
|
||||
/obj/machinery/suit_storage_unit/hos,
|
||||
/obj/machinery/keycard_auth/directional/east{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east{
|
||||
pixel_y = -12
|
||||
},
|
||||
/turf/open/floor/iron/dark,
|
||||
@@ -12562,7 +12562,7 @@
|
||||
/obj/effect/turf_decal/trimline/dark_blue/filled/line{
|
||||
dir = 6
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/obj/machinery/button/door/directional/east{
|
||||
pixel_y = 12;
|
||||
name = "privacy shutter control";
|
||||
@@ -37730,7 +37730,7 @@
|
||||
id = "qmprivacy";
|
||||
name = "Privacy Shutters Control"
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/west{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west{
|
||||
pixel_y = 12
|
||||
},
|
||||
/turf/open/floor/wood,
|
||||
@@ -51356,7 +51356,7 @@
|
||||
/turf/closed/wall,
|
||||
/area/station/cargo/storage)
|
||||
"sdn" = (
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/glass/reinforced/plasma,
|
||||
/area/station/command/heads_quarters/rd)
|
||||
"sdA" = (
|
||||
@@ -56698,7 +56698,7 @@
|
||||
/obj/structure/table/wood,
|
||||
/obj/item/flashlight/lamp,
|
||||
/obj/machinery/camera/autoname/directional/north,
|
||||
/obj/machinery/keycard_auth/directional/north,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/north,
|
||||
/turf/open/floor/carpet/green,
|
||||
/area/station/command/heads_quarters/hop)
|
||||
"tUG" = (
|
||||
@@ -57974,7 +57974,7 @@
|
||||
dir = 10
|
||||
},
|
||||
/obj/structure/cable,
|
||||
/obj/machinery/keycard_auth/directional/west{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west{
|
||||
pixel_y = -10
|
||||
},
|
||||
/obj/item/pen/screwdriver,
|
||||
@@ -67454,7 +67454,7 @@
|
||||
name = "Captain's Fax Machine"
|
||||
},
|
||||
/obj/structure/table/reinforced,
|
||||
/obj/machinery/keycard_auth/directional/south{
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south{
|
||||
pixel_y = -24;
|
||||
pixel_x = 8
|
||||
},
|
||||
|
||||
@@ -325,7 +325,7 @@
|
||||
/obj/structure/chair/comfy/shuttle{
|
||||
dir = 8
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/east,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/east,
|
||||
/turf/open/floor/mineral/plastitanium,
|
||||
/area/shuttle/escape)
|
||||
"bZ" = (
|
||||
@@ -962,7 +962,7 @@
|
||||
/obj/structure/chair/comfy/shuttle{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/west,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/west,
|
||||
/obj/effect/turf_decal/tile/neutral{
|
||||
dir = 1
|
||||
},
|
||||
|
||||
@@ -1696,7 +1696,7 @@
|
||||
/obj/effect/turf_decal/siding/wood{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/turf/open/floor/carpet/royalblue,
|
||||
/area/shuttle/escape)
|
||||
"Gh" = (
|
||||
@@ -2129,7 +2129,7 @@
|
||||
/area/shuttle/escape)
|
||||
"NZ" = (
|
||||
/obj/machinery/status_display/evac/directional/west,
|
||||
/obj/machinery/keycard_auth/directional/south,
|
||||
/obj/machinery/keycard_auth/wall_mounted/directional/south,
|
||||
/obj/machinery/light/floor,
|
||||
/turf/open/floor/carpet/royalblue,
|
||||
/area/shuttle/escape)
|
||||
|
||||
@@ -178,7 +178,7 @@ GLOBAL_LIST_INIT(WALLITEMS_INTERIOR, typecacheof(list(
|
||||
/obj/machinery/defibrillator_mount,
|
||||
/obj/machinery/firealarm,
|
||||
/obj/machinery/flasher,
|
||||
/obj/machinery/keycard_auth,
|
||||
/obj/machinery/keycard_auth/wall_mounted,
|
||||
/obj/machinery/light_switch,
|
||||
/obj/machinery/newscaster,
|
||||
/obj/machinery/power/apc,
|
||||
|
||||
@@ -9,7 +9,7 @@ GLOBAL_DATUM_INIT(keycard_events, /datum/events, new)
|
||||
/obj/machinery/keycard_auth
|
||||
name = "Keycard Authentication Device"
|
||||
desc = "This device is used to trigger station functions, which require more than one ID card to authenticate, or to give the Janitor access to a department."
|
||||
icon = 'icons/obj/machines/wallmounts.dmi'
|
||||
icon = 'icons/obj/machines/keycard_auth_table.dmi'
|
||||
icon_state = "auth_off"
|
||||
power_channel = AREA_USAGE_ENVIRON
|
||||
req_access = list(ACCESS_KEYCARD_AUTH)
|
||||
@@ -23,8 +23,6 @@ GLOBAL_DATUM_INIT(keycard_events, /datum/events, new)
|
||||
|
||||
COOLDOWN_DECLARE(access_grant_cooldown)
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/keycard_auth, 26)
|
||||
|
||||
/obj/machinery/keycard_auth/Initialize(mapload)
|
||||
. = ..()
|
||||
activated = GLOB.keycard_events.addEvent("triggerEvent", CALLBACK(src, PROC_REF(triggerEvent)))
|
||||
@@ -158,6 +156,16 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/keycard_auth, 26)
|
||||
if(KEYCARD_BSA_UNLOCK)
|
||||
toggle_bluespace_artillery()
|
||||
|
||||
/// Subtype which is stuck to a wall
|
||||
/obj/machinery/keycard_auth/wall_mounted
|
||||
icon = 'icons/obj/machines/wallmounts.dmi'
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/keycard_auth/wall_mounted, 26)
|
||||
|
||||
/obj/machinery/keycard_auth/wall_mounted/Initialize(mapload)
|
||||
. = ..()
|
||||
find_and_hang_on_wall()
|
||||
|
||||
GLOBAL_VAR_INIT(emergency_access, FALSE)
|
||||
/proc/make_maint_all_access()
|
||||
for(var/area/station/maintenance/area in GLOB.areas)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 610 B |
@@ -0,0 +1 @@
|
||||
/obj/machinery/keycard_auth/directional/@SUBTYPES : /obj/machinery/keycard_auth/wall_mounted/directional/@SUBTYPES{@OLD}
|
||||
Reference in New Issue
Block a user