mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
[MIRROR] Refactors area stuff (#265)
* Refactors area stuff (#52751) -bitfielded a bunch of bools on /area, I left some untouched cus they get called a lot -Unused vars -Fixed a var pretending to be a fake bool -Probably more * Refactors area stuff Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
dynamic_lighting = DYNAMIC_LIGHTING_FORCED
|
||||
requires_power = FALSE
|
||||
has_gravity = STANDARD_GRAVITY
|
||||
valid_territory = FALSE
|
||||
area_flags = BLOBS_ALLOWED | UNIQUE_AREA
|
||||
flags_1 = CAN_BE_DIRTY_1
|
||||
|
||||
//Survival Capsule
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
/obj/item/warp_cube/attack_self(mob/user)
|
||||
var/turf/current_location = get_turf(user)
|
||||
var/area/current_area = current_location.loc
|
||||
if(!linked || current_area.noteleport)
|
||||
if(!linked || (current_area.area_flags & NOTELEPORT))
|
||||
to_chat(user, "<span class='warning'>[src] fizzles uselessly.</span>")
|
||||
return
|
||||
if(teleporting)
|
||||
|
||||
Reference in New Issue
Block a user