mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
use_power var now uses a define to reflect it not being a bool
NO_POWER_USE IDLE_POWER_USE ACTIVE_POWER_USE holopads now correctly set use_power and the active_power_usage
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
last_change = world.time
|
||||
active = (A != offline_program)
|
||||
use_power = active+1
|
||||
use_power = active ? ACTIVE_POWER_USE : IDLE_POWER_USE
|
||||
|
||||
for(var/obj/effect/holodeck_effect/HE in effects)
|
||||
HE.deactivate(src)
|
||||
@@ -108,4 +108,4 @@
|
||||
|
||||
if(!silent)
|
||||
visible_message("The [obj.name] fades away!")
|
||||
qdel(obj)
|
||||
qdel(obj)
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
var/eventstarted = 0
|
||||
|
||||
anchored = 1.0
|
||||
use_power = 1
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 2
|
||||
active_power_usage = 6
|
||||
power_channel = ENVIRON
|
||||
|
||||
Reference in New Issue
Block a user