Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Taur fullbody fix #5096

Merged
merged 2 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading