here we go again (#2456)

This commit is contained in:
LetterJay
2017-08-24 19:24:25 -07:00
committed by kevinz000
parent c7ed043fd5
commit 188193eb61
1107 changed files with 25420 additions and 25417 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
/obj/mecha/combat/CheckParts(list/parts_list)
..()
var/obj/item/weapon/stock_parts/capacitor/C = locate() in contents
var/obj/item/weapon/stock_parts/scanning_module/SM = locate() in contents
var/obj/item/stock_parts/capacitor/C = locate() in contents
var/obj/item/stock_parts/scanning_module/SM = locate() in contents
step_energy_drain = 20 - (5 * SM.rating) //10 is normal, so on lowest part its worse, on second its ok and on higher its real good up to 0 on best
armor["energy"] += (C.rating * 10) //Each level of capacitor protects the mech against emp by 10%
qdel(C)
+1 -1
View File
@@ -39,7 +39,7 @@
ME.attach(src)
return
/obj/mecha/combat/gygax/dark/add_cell(obj/item/weapon/stock_parts/cell/C=null)
/obj/mecha/combat/gygax/dark/add_cell(obj/item/stock_parts/cell/C=null)
if(C)
C.forceMove(src)
cell = C