space-station-14
space-station-14 copied to clipboard
State 'trinkets-equipped-INNERCLOTHING' not found in RSI: '/Textures/Clothing/Uniforms/Jumpsuit/cargotech.rsi'
we've poked around in the code and the way it seems...colored jumpsuits, including prisoner jumpsuits are actually built in two layers, the base colored layer, and the uncolored things such as the belt and zipper and such that's on top of that. that upper layer is the trinkets-equipped layer and its only ever referenced in correlation with the colored jumpsuits and we couldn't actually find any overlap that would make the cargo tech jumpsuit be treated like a colored jumpsuit on spawn which means that it has to be some sort of weird interaction...after testing with the chameleon jumpsuit, which seemed like the most likely culprit, we were able to recreate the error after switching from a colored jumpsuit to a cargo jumpsuit and we're seeing if we can fix it
update:
what the FUCK this is such a rabbit hole 🐇
beginner friendly they said
difficulty 1 easy they said
Content.Client/Clothing/ClientClothingSystem.cs#L273-L336 needs rework to fix bug
https://github.com/space-wizards/space-station-14/blob/5476daf64ec8ac16b3e600d3cacfeb2fff3ee6d4/Content.Client/Clothing/ClientClothingSystem.cs#L306-L312
Layer data on jumpsuit doesn't fit cargo jumpsuit on line 312
I have bumped the difficulty level and removed Beginner Friendly as I thought it was gonna be just a state path fix. Rewriting part or the entirety of a system is not all that Beginner Friendly