mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
[MIRROR] borg privacy in droms (#7504)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
var/enter_message
|
||||
var/exit_message
|
||||
var/limit_mob_size = TRUE //If mob size is limited in the area.
|
||||
var/block_suit_sensors = FALSE //If mob size is limited in the area.
|
||||
var/block_suit_sensors = FALSE //If suit sensors are blocked in the area.
|
||||
var/block_tracking = FALSE //If camera tracking is blocked in the area.
|
||||
var/turf/ceiling_type
|
||||
|
||||
// Size of the area in open turfs, only calculated for indoors areas.
|
||||
|
||||
@@ -228,7 +228,9 @@
|
||||
var/obj/item/weapon/card/id/id = GetIdCard()
|
||||
if(id && id.prevent_tracking())
|
||||
return TRACKING_TERMINATE
|
||||
if(InvalidPlayerTurf(get_turf(src)))
|
||||
var/turf/pos = get_turf(src)
|
||||
var/area/B = pos?.loc // No cam tracking in dorms!
|
||||
if(InvalidPlayerTurf(pos) || B.block_tracking)
|
||||
return TRACKING_TERMINATE
|
||||
if(invisibility >= INVISIBILITY_LEVEL_ONE) //cloaked
|
||||
return TRACKING_TERMINATE
|
||||
|
||||
@@ -80,8 +80,10 @@
|
||||
/datum/tgui_module/camera/tgui_interact(mob/user, datum/tgui/ui = null)
|
||||
// Update UI
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
var/turf/newturf = get_turf(active_camera)
|
||||
var/area/B = newturf?.loc // No cam tracking in dorms!
|
||||
// Show static if can't use the camera
|
||||
if(!active_camera?.can_use())
|
||||
if(!active_camera?.can_use() || B.block_tracking)
|
||||
show_camera_static()
|
||||
if(!ui)
|
||||
var/user_ref = REF(user)
|
||||
@@ -175,15 +177,16 @@
|
||||
. = TRUE
|
||||
|
||||
/datum/tgui_module/camera/proc/update_active_camera_screen()
|
||||
var/turf/newturf = get_turf(active_camera)
|
||||
var/area/B = newturf?.loc // No cam tracking in dorms!
|
||||
// Show static if can't use the camera
|
||||
if(!active_camera?.can_use())
|
||||
if(!active_camera?.can_use() || B.block_tracking)
|
||||
show_camera_static()
|
||||
return TRUE
|
||||
|
||||
// If we're not forcing an update for some reason and the cameras are in the same location,
|
||||
// we don't need to update anything.
|
||||
// Most security cameras will end here as they're not moving.
|
||||
var/turf/newturf = get_turf(active_camera)
|
||||
if(newturf == last_camera_turf)
|
||||
return
|
||||
|
||||
|
||||
@@ -441,6 +441,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
forbid_events = TRUE
|
||||
forbid_singulo = TRUE
|
||||
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
forbid_events = TRUE
|
||||
forbid_singulo = TRUE
|
||||
|
||||
@@ -286,6 +287,7 @@
|
||||
flags = RAD_SHIELDED| BLUE_SHIELDED |AREA_FLAG_IS_NOT_PERSISTENT
|
||||
soundproofed = TRUE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
forbid_events = TRUE
|
||||
|
||||
/area/stellardelight/deck3/portdock
|
||||
@@ -305,4 +307,3 @@
|
||||
name = "Deck Two Exterior"
|
||||
/area/stellardelight/deck3/exterior
|
||||
name = "Deck Three Exterior"
|
||||
|
||||
|
||||
@@ -986,6 +986,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/maintDorm2
|
||||
name = "\improper Construction Dorm 2"
|
||||
@@ -994,6 +995,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/maintDorm3
|
||||
name = "\improper Construction Dorm 3"
|
||||
@@ -1002,6 +1004,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/maintDorm4
|
||||
name = "\improper Construction Dorm 4"
|
||||
@@ -1010,138 +1013,161 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_1
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_2
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_3
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_4
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_5
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_6
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_7
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_8
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_9
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_10
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_11
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/vistor_room_12
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_1
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_2
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_3
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_4
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_5
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_6
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_7
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_8
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_9
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_10
|
||||
flags = RAD_SHIELDED | BLUE_SHIELDED
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/Dorm_1/holo
|
||||
name = "\improper Dorm 1 Holodeck"
|
||||
@@ -1167,6 +1193,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/spacedorm2
|
||||
name = "\improper Visitor Lodging 2"
|
||||
@@ -1176,6 +1203,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/spacedorm3
|
||||
name = "\improper Visitor Lodging 3"
|
||||
@@ -1185,6 +1213,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/crew_quarters/sleep/spacedorm4
|
||||
name = "\improper Visitor Lodging 4"
|
||||
@@ -1194,6 +1223,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_basic
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1201,6 +1231,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_desert
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1208,6 +1239,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_seating
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1215,6 +1247,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_beach
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1222,6 +1255,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_garden
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1229,6 +1263,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_boxing
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1236,6 +1271,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_snow
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1243,6 +1279,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_space
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1250,6 +1287,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/holodeck/holodorm/source_off
|
||||
name = "\improper Holodeck Source"
|
||||
@@ -1257,6 +1295,7 @@
|
||||
soundproofed = TRUE
|
||||
limit_mob_size = FALSE
|
||||
block_suit_sensors = TRUE
|
||||
block_tracking = TRUE
|
||||
|
||||
/area/ai_core_foyer
|
||||
name = "\improper AI Core Access"
|
||||
|
||||
Reference in New Issue
Block a user