Added sprite and updated compact rifle icon (#12825)

This commit is contained in:
AzuleUtama
2020-04-11 05:39:18 +01:00
committed by GitHub
parent 221a06e891
commit a6330d5977
2 changed files with 8 additions and 1 deletions

View File

@@ -43,7 +43,8 @@
/obj/item/gun/projectile/automatic/sniper_rifle/compact //holds very little ammo, lacks zooming, and bullets are primarily damage dealers, but the gun lacks the downsides of the full size rifle
name = "compact sniper rifle"
desc = "a compact, unscoped version of the standard issue syndicate sniper rifle. Still capable of sending people crying."
desc = "A compact, unscoped version of the standard issue syndicate sniper rifle. Still capable of sending people crying."
icon_state = "snipercompact"
recoil = 0
weapon_weight = WEAPON_LIGHT
fire_delay = 0
@@ -52,6 +53,12 @@
can_suppress = FALSE
zoomable = FALSE
/obj/item/gun/projectile/automatic/sniper_rifle/compact/update_icon()
if(magazine)
icon_state = "snipercompact-mag"
else
icon_state = "snipercompact"
//Normal Boolets
/obj/item/ammo_box/magazine/sniper_rounds
name = "sniper rounds (.50)"