mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
Merge pull request #13806 from KorPhaeron/detective_buffs
Gun reskin (Detective) on alt click instead of left click
This commit is contained in:
@@ -357,12 +357,14 @@
|
||||
azoom.Remove(user)
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/gun/attack_hand(mob/user)
|
||||
/obj/item/weapon/gun/AltClick(mob/user)
|
||||
..()
|
||||
if(user.incapacitated())
|
||||
user << "<span class='warning'>You can't do that right now!</span>"
|
||||
return
|
||||
if(unique_reskin && !reskinned && loc == user)
|
||||
reskin_gun(user)
|
||||
return
|
||||
..()
|
||||
|
||||
|
||||
/obj/item/weapon/gun/proc/reskin_gun(mob/M)
|
||||
var/choice = input(M,"Warning, you can only reskin your weapon once!","Reskin Gun") in options
|
||||
|
||||
Reference in New Issue
Block a user