Add OFFICIAL_BODY_ID_IS_INCORRECT glitch
Applied to - Colourful Female Kiko Dancer Tambourine - Magma Usul Bow - Stealthy Elephante Mask - Wocky Gadgeteer Air Balloon
This commit is contained in:
parent
8487d9674a
commit
e0c7a4d82c
3 changed files with 29 additions and 0 deletions
|
@ -89,6 +89,22 @@ function OutfitKnownGlitchesBadge({ appearance }) {
|
|||
}
|
||||
}
|
||||
|
||||
// Look for items with the OFFICIAL_BODY_ID_IS_INCORRECT glitch.
|
||||
for (const item of items) {
|
||||
const itemHasOfficialBodyIdIsIncorrect = item.appearance.layers.some((l) =>
|
||||
(l.knownGlitches || []).includes("OFFICIAL_BODY_ID_IS_INCORRECT")
|
||||
);
|
||||
if (itemHasOfficialBodyIdIsIncorrect) {
|
||||
glitchMessages.push(
|
||||
<Box key={`official-body-id-is-incorrect-for-item-${item.id}`}>
|
||||
Last we checked, <i>{item.name}</i> actually is compatible with this
|
||||
pet, even though it seems like it shouldn't be. But TNT might change
|
||||
this at any time, so be careful!
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Look for Dyeworks items that aren't converted yet.
|
||||
for (const item of items) {
|
||||
const itemIsDyeworks = item.name.includes("Dyeworks");
|
||||
|
|
|
@ -442,6 +442,13 @@ function ItemLayerSupportKnownGlitchesFields({
|
|||
(Will use the PNG instead)
|
||||
</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">
|
||||
(TNT's fault. Will show a message, and keep the compatibility
|
||||
settings above.)
|
||||
</Box>
|
||||
</Checkbox>
|
||||
<Checkbox value="REQUIRES_OTHER_BODY_SPECIFIC_ASSETS">
|
||||
Only fits pets with other body-specific assets{" "}
|
||||
<Box display="inline" color="gray.400" fontSize="sm">
|
||||
|
|
|
@ -100,6 +100,12 @@ const typeDefs = gql`
|
|||
# For affected layers, svgUrl will be null, regardless of the manifest.
|
||||
OFFICIAL_SVG_IS_INCORRECT
|
||||
|
||||
# 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
|
||||
# as a warning that this might not work if TNT changes it later.
|
||||
OFFICIAL_BODY_ID_IS_INCORRECT
|
||||
|
||||
# This glitch is a hack for a bug in DTI: some items, like "Living in
|
||||
# Watermelon Foreground and Background", have a background layer that's
|
||||
# shared across all bodies - but it should NOT fit pets that don't have a
|
||||
|
|
Loading…
Reference in a new issue