Adds more in hand sprites for certain items (#3392)

Adds a lot of more in hands and back sprites, wielded shotgun sprites, guns, bags and things like mining satchels and bee nets.
This commit is contained in:
Alberyk
2017-09-08 15:14:52 -03:00
committed by Lohikar
parent f962f3be1b
commit 0d8fe2e6a4
19 changed files with 29 additions and 12 deletions

View File

@@ -512,6 +512,7 @@
name = "tesla gun"
desc = "A gun that shoots a projectile that bounces from living thing to living thing. Keep your distance from whatever you are shooting at."
icon_state = "tesla"
item_state = "tesla"
icon = 'icons/obj/gun.dmi'
charge_meter = 0
w_class = 4
@@ -529,6 +530,7 @@
name = "gravity gun"
desc = "This nifty gun disables the gravity in the area you shoot at. Use with caution."
icon_state = "gravity_gun"
item_state = "gravity_gun"
icon = 'icons/obj/gun.dmi'
charge_meter = 0
w_class = 4

View File

@@ -305,7 +305,7 @@
name = "railgun"
desc = "An advanced rifle that magnetically propels hyperdense rods at breakneck speeds to devastating effect."
icon_state = "railgun"
item_state = "arifle"
item_state = "railgun"
w_class = 4
force = 10
caliber = "trod"

View File

@@ -73,7 +73,7 @@
w_class = 3
recoil = 2
accuracy = -2
item_state = "gun"
item_state = "obrez"
slot_flags &= ~SLOT_BACK
slot_flags |= (SLOT_BELT|SLOT_HOLSTER)
name = "\improper obrez"
@@ -86,7 +86,7 @@
name = "obrez"
desc = "A shortened bolt action rifle, not really accurate. Uses 7.62mm rounds."
icon_state = "obrez"
item_state = "gun"
item_state = "obrez"
w_class = 3
recoil = 2
accuracy = -2

View File

@@ -60,6 +60,14 @@
update_icon()
/obj/item/weapon/gun/projectile/shotgun/pump/update_icon()
..()
if(wielded)
item_state = "[icon_state]-wielded"
else
item_state = "[icon_state]"
update_held_icon()
/obj/item/weapon/gun/projectile/shotgun/pump/combat
name = "combat shotgun"
desc = "Built for close quarters combat, the Hephaestus Industries KS-40 is widely regarded as a weapon of choice for repelling boarders."