[MIRROR] converts area booleans to flags (#9595)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-08 07:57:55 -07:00
committed by GitHub
parent 7131e4602e
commit 893b4e2ac0
64 changed files with 221 additions and 559 deletions

View File

@@ -8,86 +8,30 @@
outdoors = FALSE
flags = RAD_SHIELDED
/area/casino/dorms
name = "\improper Casino dorm"
flags = RAD_SHIELDED | AREA_SOUNDPROOF | AREA_ALLOW_LARGE_SIZE | AREA_BLOCK_SUIT_SENSORS | AREA_BLOCK_TRACKING
// Areas for the actual casino
/area/casino/dorm1
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm1
/area/casino/dorm2
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm2
/area/casino/dorm3
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm3
/area/casino/dorm4
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm4
/area/casino/dorm5
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm5
/area/casino/dorm6
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm6
/area/casino/dorm7
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm7
/area/casino/dorm8
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm8
/area/casino/dorm9
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm9
/area/casino/dorm10
name = "\improper Casino dorm"
flags = RAD_SHIELDED
soundproofed = TRUE
limit_mob_size = FALSE
block_suit_sensors = TRUE
block_tracking = TRUE
/area/casino/dorms/dorm10
/area/casino/helm
name = "\improper Casino helm"
@@ -145,37 +89,6 @@
/area/casino/wizard_home
name = "\improper That's pretty wizard"
// Old casino areas. Apparently we don't want these.
/*
/area/casino/casino_ship
name = "\improper Casino Ship"
icon_state = "yellow"
requires_power = 0
dynamic_lighting = 1
/area/casino/casino_ship/wing_left
name = "\improper Casino Ship left wing"
icon_state = "yellow"
/area/casino/casino_ship/wing_right
name = "\improper Casino Ship right wing"
icon_state = "yellow"
/area/casino/casino_ship/dorms
name = "\improper Casino Ship dorms"
icon_state = "yellow"
soundproofed = TRUE
/area/casino/casino_ship/cockpit
name = "\improper Casino Ship left wing"
icon_state = "yellow"
/area/shuttle/casino/
name = "\improper Casino Shuttle"
dynamic_lighting = 0
icon_state = "shuttlegrn"
*/
// Gear dispenser datums. Organized alphabetically by typepath for your viewing pleasure.
/datum/gear_disp/casino_buried_reward
name = "Buried treasure"

View File

@@ -146,11 +146,11 @@
/area/survivalpod/superpose/XenoBotanySetup
/area/survivalpod/superpose/secondlifebar
limit_mob_size = FALSE //Second life bars dont have ceilings
flags = AREA_ALLOW_LARGE_SIZE
/area/survivalpod/superpose/secondlifebar/dorms
icon_state = "toilet"
soundproofed = TRUE
flags = AREA_ALLOW_LARGE_SIZE | AREA_SOUNDPROOF
/obj/item/survivalcapsule/superpose
name = "superposed surfluid shelter capsule"

View File

@@ -15,7 +15,7 @@
return FALSE
//RS Port #658 Start
var/area/A = get_area(src)
if(!client?.holder && A.block_phase_shift)
if(!client?.holder && A.flag_check(AREA_BLOCK_PHASE_SHIFT))
to_chat(src, span_warning("You can't do that here!"))
return FALSE
//RS Port #658 End