Portable turret overhaul (#11874)

* Portable turret overhaul

* caps

* visible_message

* revision 1

* thought I did this

* Temperature gun turrets work fully now

* revision 2

* Magic number removal

* energy weapon power usage isn't helpful for this

* more defines
This commit is contained in:
Sprok0
2016-09-18 20:40:25 -04:00
committed by clusterfack
parent fd95360411
commit a0276aab47
8 changed files with 252 additions and 559 deletions

View File

@@ -3308,11 +3308,10 @@
return
var/obj/item/weapon/gun/energy/gun = new choice()
var/obj/machinery/porta_turret/Turret = new(get_turf(usr))
Turret.installation = choice
Turret.gun_charge = gun.power_supply.charge
Turret.installed = gun
gun.forceMove(Turret)
Turret.update_gun()
qdel(gun)
var/emag = input("Emag the turret?") in list("Yes", "No")
var/emag = input("Emag the turret?") in list("No", "Yes")
if(emag=="Yes")
Turret.emag(usr)
if("hardcore_mode")