Correctly set description of nonstandard cells

This commit is contained in:
Jordan Brown
2017-12-13 10:12:35 -05:00
committed by CitadelStationBot
parent a5cd43ae61
commit 129cd705d1
7 changed files with 55 additions and 18 deletions
@@ -115,9 +115,7 @@
ident = rand(1, 999)
if(!cell)
cell = new /obj/item/stock_parts/cell(src)
cell.maxcharge = 7500
cell.charge = 7500
cell = new /obj/item/stock_parts/cell/high(src, 7500)
if(lawupdate)
make_laws()
@@ -854,8 +852,7 @@
/mob/living/silicon/robot/modules/syndicate/Initialize()
. = ..()
cell.maxcharge = 25000
cell.charge = 25000
cell = new /obj/item/stock_parts/cell/hyper(src, 25000)
radio = new /obj/item/device/radio/borg/syndicate(src)
laws = new /datum/ai_laws/syndicate_override()
addtimer(CALLBACK(src, .proc/show_playstyle), 5)
@@ -54,9 +54,7 @@
var/datum/job/cargo_tech/J = new/datum/job/cargo_tech
access_card.access = J.get_access()
prev_access = access_card.access
cell = new(src)
cell.charge = 2000
cell.maxcharge = 2000
cell = new /obj/item/stock_parts/cell/upgraded(src, 2000)
var/static/mulebot_count = 0
mulebot_count += 1
+1 -4
View File
@@ -378,10 +378,7 @@
var/mob/living/silicon/robot/R = new /mob/living/silicon/robot(loc)
// cyborgs produced by Robotize get an automatic power cell
R.cell = new(R)
R.cell.maxcharge = 7500
R.cell.charge = 7500
R.cell = new /obj/item/stock_parts/cell/high(R, 7500)
R.gender = gender
R.invisibility = 0