Gun update 2018 version (#4397)

-laser should now produce light
-added a wielded sprite for the lmg
-added a new lwap in hand sprite
This commit is contained in:
Alberyk
2018-03-21 02:13:16 -03:00
committed by Erki
parent c1f138a0a2
commit 1d603e40d2
8 changed files with 50 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ obj/item/weapon/gun/energy/retro
name = "marksman energy rifle"
desc = "The HI L.W.A.P. is an older design of Hephaestus Industries. A designated marksman rifle capable of shooting powerful ionized beams, this is a weapon to kill from a distance."
icon_state = "sniper"
item_state = "sniper"
item_state = "psniper"
fire_sound = 'sound/weapons/marauder.ogg'
origin_tech = list(TECH_COMBAT = 6, TECH_MATERIAL = 5, TECH_POWER = 4)
projectile_type = /obj/item/projectile/beam/sniper

View File

@@ -273,6 +273,10 @@
/obj/item/weapon/gun/projectile/automatic/rifle/l6_saw/update_icon()
icon_state = "l6[cover_open ? "open" : "closed"][ammo_magazine ? round(ammo_magazine.stored_ammo.len, 25) : "-empty"]"
if(wielded)
item_state = "l6closedmag-wielded"
else
item_state = initial(item_state)
/obj/item/weapon/gun/projectile/automatic/rifle/l6_saw/load_ammo(var/obj/item/A, mob/user)
if(!cover_open)