Skip to content

Commit

Permalink
Fixes powerpack worn icon states. (#16219)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 authored Jul 2, 2024
1 parent f1fed40 commit eb91ace
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/modules/projectiles/magazines/energy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
slot_l_hand_str = 'icons/mob/inhands/equipment/backpacks_left.dmi',
slot_r_hand_str = 'icons/mob/inhands/equipment/backpacks_right.dmi',
)
icon_state = "volkite"
icon_state = "volkite_powerpack"
icon = 'icons/obj/items/ammo/powerpack.dmi'
charge_overlay = null
atom_flags = CONDUCT
Expand Down
9 changes: 5 additions & 4 deletions code/modules/projectiles/magazines/specialist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@
name = "\improper MG-100 Vindicator powerpack"
desc = "A heavy reinforced backpack with support equipment, power cells, and spare rounds for the MG-100 Minigun System.\nClick the icon in the top left to reload your MG-100."
icon_state = "powerpack"
worn_icon_state = "powerpack"
icon = 'icons/obj/items/ammo/powerpack.dmi'
atom_flags = CONDUCT
equip_slot_flags = ITEM_SLOT_BACK
Expand All @@ -437,21 +438,21 @@
item_map_variant_flags = (ITEM_JUNGLE_VARIANT|ITEM_ICE_VARIANT|ITEM_PRISON_VARIANT)

/obj/item/ammo_magazine/minigun_powerpack/snow
icon_state = "snow"
icon_state = "powerpack_snow"
item_map_variant_flags = null

/obj/item/ammo_magazine/minigun_powerpack/fancy
icon_state = "fancy"
icon_state = "powerpack_fancy"
item_map_variant_flags = null

/obj/item/ammo_magazine/minigun_powerpack/merc
icon_state = "merc"
icon_state = "powerpack_merc"
item_map_variant_flags = null

/obj/item/ammo_magazine/minigun_powerpack/smartgun
name = "\improper SG-85 powerpack"
desc = "A reinforced backpack heavy with the IFF altered ammunition, onboard micro generator, and extensive cooling system which enables the SG-85 gatling gun to operate. \nUse the SG-85 on the backpack itself to connect them."
icon_state = "sg"
icon_state = "powerpack_sg"
magazine_flags = MAGAZINE_WORN|MAGAZINE_REFILLABLE
default_ammo = /datum/ammo/bullet/smart_minigun
current_rounds = 1000
Expand Down
Binary file modified icons/mob/clothing/back.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/weapons/ammo_left.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/weapons/ammo_right.dmi
Binary file not shown.
Binary file modified icons/obj/items/ammo/powerpack.dmi
Binary file not shown.

0 comments on commit eb91ace

Please sign in to comment.