Makes clicking gun HUD icon swap (#18961)

* Makes gunhud click swap firemodes

* Update fulton.dm

* Update weapons.dm

* user
This commit is contained in:
Cameron Lennox
2026-01-01 14:40:47 -05:00
committed by GitHub
parent 07550b9591
commit a76bc89010
4 changed files with 23 additions and 4 deletions
+6 -3
View File
@@ -24,7 +24,8 @@
/obj/item/gun/energy/gun
description_info = "This is an energy weapon. To fire the weapon, ensure your intent is *not* set to 'help', have your gun mode set to 'fire', \
then click where you want to fire. Most energy weapons can fire through windows harmlessly. To switch between stun and lethal, click the weapon \
in your hand. To recharge this weapon, use a weapon recharger."
in your hand. To recharge this weapon, use a weapon recharger. \
If the gun has multiple firemodes, you can cycle through them by clicking the ammo HUD in the top right of your screen."
/obj/item/gun/energy/gun/taser
description_info = "This is an energy weapon. To fire the weapon, ensure your intent is *not* set to 'help', have your gun mode set to 'fire', \
@@ -37,7 +38,8 @@
/obj/item/gun/energy/gun/nuclear
description_info = "This is an energy weapon. To fire the weapon, ensure your intent is *not* set to 'help', have your gun mode set to 'fire', \
then click where you want to fire. Most energy weapons can fire through windows harmlessly. To switch between stun and lethal, click the weapon \
in your hand. Unlike most weapons, this weapon recharges itself."
in your hand or by clicking the ammo HUD in the top right of your screen. \
Unlike most weapons, this weapon recharges itself."
/obj/item/gun/energy/captain
description_info = "This is an energy weapon. To fire the weapon, ensure your intent is *not* set to 'help', have your gun mode set to 'fire', \
@@ -51,7 +53,8 @@
/obj/item/gun/projectile
description_info = "This is a ballistic weapon. To fire the weapon, ensure your intent is *not* set to 'help', have your gun mode set to 'fire', \
then click where you want to fire. To reload, click the weapon in your hand to unload (if needed), then add the appropriate ammo. The description \
will tell you what caliber you need."
will tell you what caliber you need. \
If the gun has multiple firemodes, you can cycle through them by clicking the ammo HUD in the top right of your screen."
/obj/item/gun/energy/chameleon
description_info = null //The chameleon gun adopts the description_info of the weapon it is impersonating as, to make meta-ing harder.
-1
View File
@@ -149,7 +149,6 @@
if(.)
return TRUE
var/turf/T = get_turf(user)
var/outdoors = T.is_outdoors()
if(do_after(user, 1.5 SECONDS, target = user) && !QDELETED(src))
new /obj/structure/extraction_point(get_turf(user))
qdel(src)