Finishes id computer

adds designs for computer parts to rnd and cases to the autolathe.
This commit is contained in:
Shadowlight213
2016-08-09 22:55:07 -07:00
parent 6bb69d760e
commit 8035651400
37 changed files with 744 additions and 251 deletions
@@ -43,16 +43,16 @@ var/list/global_modular_computers = list()
/obj/machinery/modular_computer/update_icon()
icon_state = icon_state_unpowered
overlays.Cut()
cut_overlays()
if(!cpu || !cpu.enabled)
if (!(stat & NOPOWER) || battery_powered)
overlays.Add(screen_icon_screensaver)
// set_light(0)
add_overlay(screen_icon_screensaver)
SetLuminosity(0)
return
// set_light(light_strength)
SetLuminosity(light_strength)
if(cpu.active_program)
overlays.Add(cpu.active_program.program_icon_state ? cpu.active_program.program_icon_state : screen_icon_state_menu)
add_overlay(cpu.active_program.program_icon_state ? cpu.active_program.program_icon_state : screen_icon_state_menu)
else
overlays.Add(screen_icon_state_menu)
@@ -14,7 +14,7 @@
base_active_power_usage = 500
max_hardware_size = 3
steel_sheet_cost = 20
light_strength = 4
light_strength = 2
_max_damage = 300
_break_damage = 150