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