Add glitch DISPLAYS_INCORRECTLY_BUT_CAUSE_UNKNOWN

I'm applying this to the "MiniMME11-S1: Approaching Eventide Skirt" on the Acara, which seems to load all 1000 images from the manifest, but then show no animation and no errors. Not sure what's up, and not inclined to deep-debug until we have a check on whether it works on-site!
This commit is contained in:
Emi Matchu 2021-04-12 19:36:08 -07:00
parent 5212375c34
commit 1e4063f0d9
3 changed files with 28 additions and 0 deletions

View file

@ -89,6 +89,23 @@ function OutfitKnownGlitchesBadge({ appearance }) {
}
}
// Look for items with the DISPLAYS_INCORRECTLY_BUT_CAUSE_UNKNOWN glitch.
for (const item of items) {
const itemHasGlitch = item.appearance.layers.some((l) =>
(l.knownGlitches || []).includes("DISPLAYS_INCORRECTLY_BUT_CAUSE_UNKNOWN")
);
if (itemHasGlitch) {
glitchMessages.push(
<Box key={`displays-incorrectly-but-cause-unknown-for-item-${item.id}`}>
There's a glitch in the art for <i>{item.name}</i> that causes it to
display incorrectlybut we're not sure if it's on our end, or TNT's.
If you own this item, please email me at matchu@openneo.net to let us
know how it looks on-site!
</Box>
);
}
}
// Look for items with the OFFICIAL_BODY_ID_IS_INCORRECT glitch.
for (const item of items) {
const itemHasOfficialBodyIdIsIncorrect = item.appearance.layers.some((l) =>

View file

@ -442,6 +442,12 @@ function ItemLayerSupportKnownGlitchesFields({
(Will use the PNG instead)
</Box>
</Checkbox>
<Checkbox value="DISPLAYS_INCORRECTLY_BUT_CAUSE_UNKNOWN">
Displays incorrectly, but cause unknown{" "}
<Box display="inline" color="gray.400" fontSize="sm">
(Will display a vague message)
</Box>
</Checkbox>
<Checkbox value="OFFICIAL_BODY_ID_IS_INCORRECT">
Fits all pets on-site, but should not{" "}
<Box display="inline" color="gray.400" fontSize="sm">

View file

@ -100,6 +100,11 @@ const typeDefs = gql`
# For affected layers, svgUrl will be null, regardless of the manifest.
OFFICIAL_SVG_IS_INCORRECT
# This glitch means that we know the layer doesn't display correctly on
# DTI, but we're not sure why, or whether it works differently on-site. We
# show a vague apologetic message, asking users to send us info.
DISPLAYS_INCORRECTLY_BUT_CAUSE_UNKNOWN
# This glitch means that the official body ID for this asset is not correct
# (usually 0), so it will fit some pets that it shouldn't. We reflect this
# accurately on DTI, with a message to explain that it's not our error, and