Skip to content

Commit

Permalink
fixes plasma caster onmob (#7175)
Browse files Browse the repository at this point in the history
# About the pull request
how did this even happen
also changed some sprite layering
<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game

# Testing Photographs and Procedure

<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog

:cl:
fix: plasma caster onmob fixed
code: layering changed a bit
/:cl:
  • Loading branch information
Mister-moon1 authored Oct 1, 2024
1 parent 1c2593b commit 0b9c992
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions code/__DEFINES/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@
#define SUIT_SQUAD_LAYER 28
#define GLASSES_LAYER 27
#define BELT_LAYER 26
#define SUIT_STORE_LAYER 25
#define BACK_LAYER 24
#define HAIR_LAYER 23
#define HAIR_GRADIENT_LAYER 22
#define BACK_LAYER 25
#define HAIR_LAYER 24
#define HAIR_GRADIENT_LAYER 23
#define SUIT_STORE_LAYER 22
#define FACIAL_LAYER 21
#define EARS_LAYER 20
#define FACEMASK_LAYER 19
Expand Down
2 changes: 1 addition & 1 deletion code/modules/cm_preds/yaut_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@

/obj/item/weapon/gun/energy/yautja/plasma_caster/Initialize(mapload, spawn_empty, caster_material = "ebony")
icon_state = "[base_icon_state]_[caster_material]"
item_state = "[base_icon_state]_[caster_material]"
item_state = "[base_item_state]_[caster_material]"
item_state_slots[WEAR_BACK] = "[base_item_state]_off_[caster_material]"
item_state_slots[WEAR_J_STORE] = "[base_item_state]_off_[caster_material]"
. = ..()
Expand Down

0 comments on commit 0b9c992

Please sign in to comment.