mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
Area tweaks (#20391)
Reworked area changes and power define channels No player visible changes (hopefully)
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
|
||||
var/area/A = finalize_area(area_name)
|
||||
for(var/turf/T in selected_turfs)
|
||||
ChangeArea(T, A)
|
||||
T.change_area(T.loc, A)
|
||||
remove_selection() // Reset the selection for clarity.
|
||||
|
||||
/mob/abstract/eye/blueprints/proc/finalize_area(var/area_name)
|
||||
@@ -99,7 +99,7 @@
|
||||
if(SSodyssey.scenario && (GET_Z(owner) in SSodyssey.scenario_zlevels))
|
||||
background_area = SSodyssey.scenario.base_area
|
||||
for(var/turf/T in A.contents)
|
||||
ChangeArea(T, background_area)
|
||||
T.change_area(T.loc, background_area)
|
||||
if(!locate(/turf) in A)
|
||||
qdel(A)
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
if(SSodyssey.scenario && (GET_Z(owner) in SSodyssey.scenario_zlevels))
|
||||
background_area = SSodyssey.scenario.base_area
|
||||
for(var/turf/T in A.contents)
|
||||
ChangeArea(T, background_area)
|
||||
T.change_area(T.loc, background_area)
|
||||
if(!(locate(/turf) in A))
|
||||
qdel(A) // uh oh, is this safe?
|
||||
|
||||
|
||||
@@ -318,7 +318,7 @@ var/list/ai_verbs_default = list(
|
||||
name = "power supply"
|
||||
active_power_usage = 50000 // Station AIs use significant amounts of power. This, when combined with charged SMES should mean AI lasts for 1hr without external power.
|
||||
use_power = POWER_USE_ACTIVE
|
||||
power_channel = EQUIP
|
||||
power_channel = AREA_USAGE_EQUIP
|
||||
var/mob/living/silicon/ai/powered_ai
|
||||
invisibility = 100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user