mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Unfuck sawed off shotgun sprites because we have better sprites
Virgo hardcoded sprite recolors.
This commit is contained in:
@@ -118,7 +118,7 @@
|
||||
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 1)
|
||||
ammo_type = /obj/item/ammo_casing/a12g/beanbag
|
||||
|
||||
var/unique_reskin
|
||||
// var/unique_reskin CHOMP Remove
|
||||
var/sawn_off = FALSE
|
||||
|
||||
burst_delay = 0
|
||||
@@ -137,7 +137,7 @@
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/doublebarrel/unload_ammo(user, allow_dump)
|
||||
..(user, allow_dump=1)
|
||||
|
||||
/*CHOMP Remove start
|
||||
/obj/item/weapon/gun/projectile/shotgun/doublebarrel/verb/rename_gun()
|
||||
set name = "Name Gun"
|
||||
set category = "Object"
|
||||
@@ -175,7 +175,7 @@
|
||||
unique_reskin = options[choice]
|
||||
to_chat(M, "Your gun is now sprited as [choice]. Say hello to your new friend.")
|
||||
return 1
|
||||
|
||||
*/ //CHOMP Remove end
|
||||
//this is largely hacky and bad :( -Pete //less hacky and bad now :) -Ghost
|
||||
/obj/item/weapon/gun/projectile/shotgun/doublebarrel/attackby(var/obj/item/A as obj, mob/user as mob)
|
||||
if(sawn_off)
|
||||
@@ -193,10 +193,10 @@
|
||||
if(do_after(user, 30)) // SHIT IS STEALTHY EYYYYY
|
||||
if(sawn_off)
|
||||
return
|
||||
if(unique_reskin)
|
||||
icon_state = "[unique_reskin]_sawn"
|
||||
else
|
||||
icon_state = "dshotgun_sawn"
|
||||
// if(unique_reskin) //CHOMP Remove
|
||||
// icon_state = "[unique_reskin]_sawn" //CHOMP Remove
|
||||
// else //CHOMP Remove
|
||||
// icon_state = "dshotgun_sawn" //CHOMP Remove
|
||||
item_state = "sawnshotgun"
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
force = 5
|
||||
|
||||
Reference in New Issue
Block a user