diff --git a/nsv13/code/modules/munitions/ship_weapons/_ship_weapon.dm b/nsv13/code/modules/munitions/ship_weapons/_ship_weapon.dm index 3072234350b..998b9ffa7f9 100644 --- a/nsv13/code/modules/munitions/ship_weapons/_ship_weapon.dm +++ b/nsv13/code/modules/munitions/ship_weapons/_ship_weapon.dm @@ -75,9 +75,13 @@ // These variables only pertain to energy weapons, but need to be checked later in /proc/fire var/charge = 0 + var/heat = 0 var/charge_rate = 0 //How quickly do we charge? var/charge_per_shot = 0 //How much power per shot do we have to use? - + var/heat_per_shot = 0 //how much heat do we make per shot + var/heat_rate = 0 // how fast do we discharge heat + var/max_heat = 0 //how much heat before ::fun:: happens + var/overloaded = 0 //have we cooked ourself /** * Constructor for /obj/machinery/ship_weapon * Attempts to link the weapon to an overmap ship. @@ -521,6 +525,7 @@ local_fire() overmap_fire(target) charge -= charge_per_shot + heat += heat_per_shot after_fire() . = TRUE if(shots > 1)