[MIRROR] Ports RS 658, 661 and some minor things (#9557)

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-11-29 21:31:19 +01:00
committed by GitHub
co-authored by Heroman3003 Kashargul
parent 06f69815dd
commit 35bf63ec81
8 changed files with 169 additions and 33 deletions
@@ -13,6 +13,12 @@
if((get_area(src).flags & PHASE_SHIELDED)) //CHOMPAdd - Mapping tools to control phasing
to_chat(src,span_warning("This area is preventing you from phasing!"))
return FALSE
//RS Port #658 Start
var/area/A = get_area(src)
if(!client?.holder && A.block_phase_shift)
to_chat(src, span_warning("You can't do that here!"))
return FALSE
//RS Port #658 End
if(ability_flags & AB_PHASE_SHIFTING)
return FALSE