Tablet resprite (#2098)

This commit is contained in:
CitadelStationBot
2017-07-24 06:07:51 -05:00
committed by kevinz000
parent beae44c47e
commit d54d52c7e0
2 changed files with 9 additions and 0 deletions

View File

@@ -12,3 +12,12 @@
slot_flags = SLOT_ID | SLOT_BELT
has_light = TRUE //LED flashlight!
comp_light_luminosity = 2.3 //Same as the PDA
var/finish_color = null
/obj/item/device/modular_computer/tablet/update_icon()
..()
if(!finish_color)
finish_color = pick("red","blue","brown","green","black")
icon_state = "tablet-[finish_color]"
icon_state_unpowered = "tablet-[finish_color]"
icon_state_powered = "tablet-[finish_color]"