mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-10 17:42:15 +00:00
moves core to /area/ subtype, bugfix
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
|
||||
/mob/living/silicon/decoy/syndicate/depot/proc/raise_alert()
|
||||
raised_alert = TRUE
|
||||
var/area/syndicate_depot/depotarea = get_area(src) // Cannot use myArea or areaMaster as neither will be defined for this mob type
|
||||
if(depotarea)
|
||||
var/area/syndicate_depot/core/depotarea = get_area(src) // Cannot use myArea or areaMaster as neither will be defined for this mob type
|
||||
if(istype(depotarea))
|
||||
depotarea.increase_alert("AI Unit Offline")
|
||||
else
|
||||
say("Connection failure!")
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
window_name = "Syndicate Bot Interface"
|
||||
var/turf/saved_turf
|
||||
var/stepsound = 'sound/mecha/mechstep.ogg'
|
||||
var/area/syndicate_depot/depotarea
|
||||
var/area/syndicate_depot/core/depotarea
|
||||
var/raised_alert = FALSE
|
||||
var/pathing_failed = FALSE
|
||||
var/turf/spawn_turf
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
stat_attack = 1
|
||||
universal_speak = 1
|
||||
melee_block_chance = 40
|
||||
var/area/syndicate_depot/depotarea
|
||||
var/area/syndicate_depot/core/depotarea
|
||||
var/raised_alert = FALSE
|
||||
var/alert_on_death = FALSE
|
||||
var/alert_on_timeout = FALSE
|
||||
|
||||
Reference in New Issue
Block a user