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
+1 -3
View File
@@ -98,9 +98,7 @@
use_power(5000) // Use a lot of power.
var/mob/living/silicon/robot/R = H.Robotize()
R.cell.maxcharge = robot_cell_charge
R.cell.charge = robot_cell_charge
R.cell = new /obj/item/stock_parts/cell/upgraded/plus(R, robot_cell_charge)
// So he can't jump out the gate right away.
R.SetLockdown()
+43
View File
@@ -24,6 +24,7 @@
max_temperature = 35000
leg_overload_coeff = 100
operation_req_access = list(ACCESS_SYNDICATE)
<<<<<<< HEAD
wreckage = /obj/structure/mecha_wreckage/gygax/dark
max_equip = 4
@@ -66,3 +67,45 @@
..()
thrusters_action.Remove(user)
=======
wreckage = /obj/structure/mecha_wreckage/gygax/dark
max_equip = 4
/obj/mecha/combat/gygax/dark/loaded/New()
..()
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/carbine
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/launcher/flashbang
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/teleporter
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/tesla_energy_relay
ME.attach(src)
return
/obj/mecha/combat/gygax/dark/add_cell(obj/item/stock_parts/cell/C=null)
if(C)
C.forceMove(src)
cell = C
return
cell = new /obj/item/stock_parts/cell/hyper(src)
/obj/mecha/combat/gygax/GrantActions(mob/living/user, human_occupant = 0)
..()
overload_action.Grant(user, src)
/obj/mecha/combat/gygax/dark/GrantActions(mob/living/user, human_occupant = 0)
..()
thrusters_action.Grant(user, src)
/obj/mecha/combat/gygax/RemoveActions(mob/living/user, human_occupant = 0)
..()
overload_action.Remove(user)
/obj/mecha/combat/gygax/dark/RemoveActions(mob/living/user, human_occupant = 0)
..()
thrusters_action.Remove(user)
>>>>>>> ccfe2d4... Merge pull request #33481 from AutomaticFrenzy/patch/celldesc
+1 -3
View File
@@ -231,9 +231,7 @@
C.forceMove(src)
cell = C
return
cell = new(src)
cell.charge = 15000
cell.maxcharge = 15000
cell = new /obj/item/stock_parts/cell/high/plus(src)
/obj/mecha/proc/add_cabin()
cabin_air = new