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

Modsuit module layering on wrong layer #27250

Open
1 task done
Bm0n opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

Modsuit module layering on wrong layer #27250

Bm0n opened this issue Oct 31, 2024 · 0 comments
Labels
Bug This is a bug in our game code Sprites This PR modifies the game sprites

Comments

@Bm0n
Copy link
Contributor

Bm0n commented Oct 31, 2024

Exploit Reports

  • I confirm this issue is not an exploit. (Required)

BYOND Version

515.1645

Issue Description

Modsuit modules (when they have additional sprites) are layered above almost everything else including in hand sprites.

Example:
Image
This mirage grenade module for the security modsuit is layered above the riot shields in hand sprite on Paradise.

While on TG it is layered below the in hand sprite:
Image

The offending proc is /obj/item/mod/module/proc/generate_worn_overlay(mob/living/carbon/human/user), more specifically how it draws modules onto the EFFECTS_LAYER in Paracode, EFFECTS_LAYER should not be used here as it is a very high layer.

TG solves this issue by layering the modules 0.1 above the standing layer of the modsuit.

What did you expect to happen?

For modsuit modules not to layer above in hand sprites

What happened instead?

Modsuit modules layered above in hand sprites

Why is this bad/What are the consequences?

Broken layer for sprites is bad

Steps to reproduce the issue.

Get a modsuit with module sprites

Wear it

See modules layered above in hands

When did the problem start happening?

Since we've had modsuits

Extra information

No response

Relevant log output/runtime error

No response

@Bm0n Bm0n changed the title Modsuit module laying on wrong layer Modsuit module layering on wrong layer Oct 31, 2024
@silverplatedelta silverplatedelta added Bug This is a bug in our game code Sprites This PR modifies the game sprites labels Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug in our game code Sprites This PR modifies the game sprites
Projects
None yet
Development

No branches or pull requests

2 participants