mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes missing sprites for the somatoray and advanced SMG
Fine. I'll do it myself. Literally 1 line of code change fixes the invisible sprites, because all the gun DMI files are all over the place instead of a parent file anymore. I tried to fix the WT-550 sprites too but I cant read the code and I AINT touching parent files any time soon.
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
name = "floral somatoray"
|
name = "floral somatoray"
|
||||||
desc = "A tool that discharges controlled radiation which induces mutation in plant cells."
|
desc = "A tool that discharges controlled radiation which induces mutation in plant cells."
|
||||||
description_fluff = "The floral somatoray is a relatively recent invention of the NanoTrasen corporation, turning a process that once involved transferring plants to massive mutating racks, into a remote interface. Do not look directly into the transmission end."
|
description_fluff = "The floral somatoray is a relatively recent invention of the NanoTrasen corporation, turning a process that once involved transferring plants to massive mutating racks, into a remote interface. Do not look directly into the transmission end."
|
||||||
|
icon = 'icons/obj/guns/energy/flora.dmi'
|
||||||
icon_state = "floramut100"
|
icon_state = "floramut100"
|
||||||
item_state = "floramut"
|
item_state = "floramut"
|
||||||
projectile_type = /obj/item/projectile/energy/floramut
|
projectile_type = /obj/item/projectile/energy/floramut
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
name = "advanced SMG"
|
name = "advanced SMG"
|
||||||
desc = "An advanced submachine gun with a reflective laser optic that makes burst fire less inaccurate than other SMGs. Uses 9mm rounds."
|
desc = "An advanced submachine gun with a reflective laser optic that makes burst fire less inaccurate than other SMGs. Uses 9mm rounds."
|
||||||
icon = 'icons/obj/gun.dmi'
|
icon = 'icons/obj/gun.dmi'
|
||||||
icon_state = "advanced_smg-empty"
|
icon_state = "advanced_smg-e"
|
||||||
w_class = ITEMSIZE_NORMAL
|
w_class = ITEMSIZE_NORMAL
|
||||||
load_method = MAGAZINE
|
load_method = MAGAZINE
|
||||||
caliber = "9mm"
|
caliber = "9mm"
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
/obj/item/weapon/gun/projectile/automatic/advanced_smg/update_icon()
|
/obj/item/weapon/gun/projectile/automatic/advanced_smg/update_icon()
|
||||||
..()
|
..()
|
||||||
icon_state = (ammo_magazine)? "advanced_smg" : "advanced_smg-empty"
|
icon_state = (ammo_magazine)? "advanced_smg" : "advanced_smg-e"
|
||||||
return
|
return
|
||||||
|
|
||||||
/obj/item/weapon/gun/projectile/automatic/advanced_smg/loaded
|
/obj/item/weapon/gun/projectile/automatic/advanced_smg/loaded
|
||||||
@@ -365,7 +365,7 @@
|
|||||||
icon_state = "mini-uzi"
|
icon_state = "mini-uzi"
|
||||||
else
|
else
|
||||||
icon_state = "mini-uzi-empty"
|
icon_state = "mini-uzi-empty"
|
||||||
|
|
||||||
// CHOMPEdit: Uzi tilting
|
// CHOMPEdit: Uzi tilting
|
||||||
/obj/item/weapon/gun/projectile/automatic/mini_uzi/Initialize()
|
/obj/item/weapon/gun/projectile/automatic/mini_uzi/Initialize()
|
||||||
. = ..()
|
. = ..()
|
||||||
|
|||||||
Reference in New Issue
Block a user