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:
oranges
2017-06-29 23:20:47 +00:00
parent d7e1eee8e0
commit ae3740d84b
103 changed files with 155 additions and 149 deletions

View File

@@ -4,7 +4,7 @@
name = "modular computer"
desc = "An advanced computer."
use_power = 1
use_power = IDLE_POWER_USE
idle_power_usage = 5
var/hardware_flag = 0 // A flag that describes this device type
var/last_power_usage = 0 // Power usage during last tick