rechargers now show their contents and charge status on examine

This commit is contained in:
Arkatos1
2019-05-18 19:56:30 +02:00
parent 6e43fb5400
commit e000e29b09
8 changed files with 47 additions and 9 deletions
@@ -8,6 +8,9 @@
var/obj/item/stock_parts/cell/battery = null
device_type = MC_CELL
/obj/item/computer_hardware/battery/get_cell()
return battery
/obj/item/computer_hardware/battery/New(loc, battery_type = null)
if(battery_type)
battery = new battery_type(src)