Skip to content

Commit

Permalink
[MIRROR] Taur fullbody fix (#5096)
Browse files Browse the repository at this point in the history
* Taur fullbody fix (#4476)

* Taur fullbody fix

* Update items.dm

* Update human_update_icons.dm

* Update _suits.dm

* Update code/modules/mob/living/carbon/human/human_update_icons.dm

Co-authored-by: Bloop <[email protected]>

* Resolving

* Update code/modules/clothing/suits/_suits.dm

* Update code/modules/mob/living/carbon/human/human_update_icons.dm

---------

Co-authored-by: Bloop <[email protected]>

* [MIRROR] Taur fullbody fix

---------

Co-authored-by: Feenie <[email protected]>
Co-authored-by: Bloop <[email protected]>
Co-authored-by: StealsThePRs <[email protected]>
  • Loading branch information
4 people authored Oct 14, 2024
1 parent 672f369 commit ecc5eb9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions code/modules/clothing/suits/_suits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@
. += mutable_appearance(bloodfile2use, "[blood_overlay_type]blood")
//NOVA EDIT CHANGE END

// NOVA EDIT TAUR-FULLBODY SUITS START
if(mutant_styles & STYLE_TAUR_ALL)
if (worn_icon_taur_snake)
worn_x_offset = -16
else if (worn_icon_taur_paw)
worn_x_offset = -16
else if (worn_icon_taur_hoof)
worn_x_offset = -16
else
worn_x_offset = 0
// NOVA EDIT END
var/mob/living/carbon/human/wearer = loc
if(!ishuman(wearer) || !wearer.w_uniform)
return
Expand Down
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/human/human_update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@ mutant_styles: The mutant style - taur bodytype, STYLE_TESHARI, etc. // NOVA EDI
.[1] = offsets["x"]
.[2] = offsets["y"]
else
.[1] = worn_x_offset // NOVA EDIT ADDITION - Taur fullbody suits
.[2] = worn_y_offset

//Can't think of a better way to do this, sadly
Expand Down
2 changes: 2 additions & 0 deletions modular_nova/master_files/code/game/objects/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/// How much power would this item use?
var/power_use_amount = POWER_CELL_USE_NORMAL

/// Worn overlay will be shifted by this along x axis
var/worn_x_offset = 0

/// Use the power of an attached component that posesses power handling, will return the signal bitflag.
/obj/item/proc/item_use_power(use_amount, mob/user, check_only)
Expand Down
Binary file modified modular_nova/master_files/icons/mob/clothing/suit_taur_paw.dmi
Binary file not shown.

0 comments on commit ecc5eb9

Please sign in to comment.