Buffs the powerfist (#18798)

* Buffs the powerfist

* Update code/game/objects/items/weapons/powerfist.dm

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
This commit is contained in:
PopeDaveThe3th
2022-08-25 16:29:43 +01:00
committed by GitHub
co-authored by Charlie
parent b6f1b7e038
commit 5833f98ac5
+5 -4
View File
@@ -14,10 +14,9 @@
origin_tech = "combat=5;powerstorage=3;syndicate=3"
var/click_delay = 1.5
var/fisto_setting = 1
var/gasperfist = 3
var/gasperfist = 0.5
var/obj/item/tank/internals/tank = null //Tank used for the gauntlet's piston-ram.
/obj/item/melee/powerfist/Destroy()
QDEL_NULL(tank)
return ..()
@@ -66,7 +65,8 @@
if(!tank)
to_chat(user, "<span class='notice'>[src] currently has no tank attached to it.</span>")
return
to_chat(user, "<span class='notice'>You detach [thetank] from [src].</span>")
to_chat(user, "<span class='notice'>As you detach [thetank] from [src], the fist unlocks.</span>")
flags &= ~NODROP
tank.forceMove(get_turf(user))
user.put_in_hands(tank)
tank = null
@@ -76,9 +76,10 @@
return
if(!user.unEquip(thetank))
return
to_chat(user, "<span class='notice'>You hook [thetank] up to [src].</span>")
to_chat(user, "<span class='notice'>As you hook [thetank] up to [src], the fist locks into place around your arm.</span>")
tank = thetank
thetank.forceMove(src)
flags |= NODROP
/obj/item/melee/powerfist/attack(mob/living/target, mob/living/user)