added get_cell() proc to remaining items using cells

This commit is contained in:
Arkatos1
2019-05-18 23:52:18 +02:00
parent e000e29b09
commit fdd2ca94d4
16 changed files with 47 additions and 7 deletions
@@ -22,6 +22,9 @@
var/obj/item/stock_parts/cell/cell = null // Used for firing superheated rods.
var/list/possible_tensions = list(XBOW_TENSION_20, XBOW_TENSION_40, XBOW_TENSION_60, XBOW_TENSION_80, XBOW_TENSION_FULL)
/obj/item/gun/throw/crossbow/get_cell()
return cell
/obj/item/gun/throw/crossbow/emp_act(severity)
if(cell && severity)
emp_act(severity)