Add "Baby Body Paint" warning to Known Glitches badge in-app, too
I previously added a warning to the item page, and thought about doing one here but was sicky and misjudged the complexity and forgot you don't need to hook into the `knownGlitches` API field to do it! Easy peasy for a hacky little bug message!
This commit is contained in:
parent
6a0afb330b
commit
0ed4e8f216
1 changed files with 15 additions and 0 deletions
|
@ -171,6 +171,21 @@ function OutfitKnownGlitchesBadge({ appearance }) {
|
|||
}
|
||||
}
|
||||
|
||||
// Look for Baby Body Paint items.
|
||||
for (const item of items) {
|
||||
const itemIsBabyBodyPaint = item.name.includes("Baby Body Paint");
|
||||
if (itemIsBabyBodyPaint) {
|
||||
glitchMessages.push(
|
||||
<Box key={`baby-body-paint-warning-for-item-${item.id}`}>
|
||||
<i>{item.name}</i> seems to have new zone restriction rules that our
|
||||
system doesn't support yet, whuh oh! This might require major changes
|
||||
to how we handle zones. Until then, this item will be very buggy,
|
||||
sorry!
|
||||
</Box>,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Check whether the pet is Invisible. If so, we'll show a blanket warning.
|
||||
if (petAppearance?.color?.id === "38") {
|
||||
glitchMessages.push(
|
||||
|
|
Loading…
Reference in a new issue