Fixes accessories getting endlessly offset into oblivion after repeated attachment (#90512)

## About The Pull Request

So a lot of accessories when applied to an outfit shrink and offset
themselves.
A recent `pixel_x/y`>`pixel_w/z` transition pr seems to have adjusted
the offset used to instead use `pixel_w/z`, but didn't actually adjust
the *resetting* part to use `pixel_w/z` as well. This caused the offsets
to slowly accumulate, further and further offsetting the accessory.

We fix this by adding two lines resetting our `pixel_w/z` offset.
We don't remove or rename the `pixel_x/y` part, because that is still
needed to randomly offset our position when dropped, and we don't use
`pixel_w/z` for that as of writing.
## Why It's Good For The Game

Fixes #90492.
## Changelog
🆑
fix: Fixed accessories getting slowly but surely offset further
down-right each time you attached them to an outfit.
/🆑
This commit is contained in:
_0Steven
2025-04-29 17:49:24 -06:00
committed by Shadow-Quill
parent 9112fad94b
commit a25f9eaa3c
@@ -143,6 +143,9 @@
if(minimize_when_attached)
transform *= 2
// Reset our applied offset
pixel_w = 0
pixel_z = 0
// just randomize position
pixel_x = rand(4, -4)
pixel_y = rand(4, -4)