Correctly set description of nonstandard cells
This commit is contained in:
committed by
CitadelStationBot
parent
a5cd43ae61
commit
129cd705d1
@@ -23,9 +23,15 @@
|
||||
/obj/item/stock_parts/cell/get_cell()
|
||||
return src
|
||||
|
||||
<<<<<<< HEAD
|
||||
/obj/item/stock_parts/cell/New()
|
||||
=======
|
||||
/obj/item/stock_parts/cell/Initialize(mapload, override_maxcharge)
|
||||
>>>>>>> ccfe2d4... Merge pull request #33481 from AutomaticFrenzy/patch/celldesc
|
||||
. = ..()
|
||||
START_PROCESSING(SSobj, src)
|
||||
if (override_maxcharge)
|
||||
maxcharge = override_maxcharge
|
||||
charge = maxcharge
|
||||
if(ratingdesc)
|
||||
desc += " This one has a rating of [DisplayEnergy(maxcharge)], and you should not swallow it."
|
||||
|
||||
Reference in New Issue
Block a user