Skip to content

Issue #306 Split Non-color Variants#307

Merged
jrconway3 merged 4 commits intoLiberatedPixelCup:masterfrom
jrconway3:feature/issue-306-split-non-color-variants
Feb 25, 2026
Merged

Issue #306 Split Non-color Variants#307
jrconway3 merged 4 commits intoLiberatedPixelCup:masterfrom
jrconway3:feature/issue-306-split-non-color-variants

Conversation

@jrconway3
Copy link
Contributor

@jrconway3 jrconway3 commented Feb 13, 2026

Resolves #306

Split off several variants that aren't related to colors:

  • Belt Other
  • Shield
  • Wound

These are separate assets to make credit searching easier. I'm about to refactor generating the credits to not rely on variants and enable the ability to split by animation, as currently the paths credits are checking do not work. These assets were throwing errors when I did a trial run of that fix.

This is a pre-requisite for #284.

Copilot AI review requested due to automatic review settings February 13, 2026 23:33
@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for liberatedpixelcup ready!

Name Link
🔨 Latest commit cb267fc
🔍 Latest deploy log https://app.netlify.com/projects/liberatedpixelcup/deploys/698fb4c033bbde0008f4dc50
😎 Deploy Preview https://deploy-preview-307--liberatedpixelcup.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Splits several non-color-related variants (belt “other”, shields, and wounds) into separate, dedicated assets/definitions to improve credit lookups and reduce errors during upcoming credits-generation refactors.

Changes:

  • Introduces new standalone sheet definitions for round shield and multiple belt subtypes; removes aggregated “shield” and “other belts” definitions.
  • Refactors wound definitions to use per-wound directories and a concrete "red" variant, updating metadata and credit entries accordingly.
  • Updates z-position mapping and item-metadata.js category/tree entries to reflect the new item split.

Reviewed changes

Copilot reviewed 20 out of 360 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sheet_definitions/weapons/shields/shield_spartan.json Normalizes Spartan shield naming/paths and adds teen layer support.
sheet_definitions/weapons/shields/shield_round.json Adds a dedicated “Round Shield” definition with its own credits/path.
sheet_definitions/weapons/shields/shield.json Removes the old combined shield definition that bundled multiple shield types/variants.
sheet_definitions/torso/waist/belt_robe.json Adds a dedicated robe belt definition split from “other belts”.
sheet_definitions/torso/waist/belt_other_male.json Removes old aggregated male “other belts” definition.
sheet_definitions/torso/waist/belt_other_female.json Removes old aggregated female “other belts” definition.
sheet_definitions/torso/waist/belt_mage.json Adds dedicated mage belt definition with animations and credits.
sheet_definitions/torso/waist/belt_loose.json Fixes teen path mapping for loose belt.
sheet_definitions/torso/waist/belt_leather2.json Adds dedicated alternate leather belt definition.
sheet_definitions/torso/waist/belt_leather.json Fixes teen path mapping for leather belt.
sheet_definitions/torso/waist/belt_formal.json Adds dedicated formal belt definition.
sheet_definitions/body/wounds/wound_ribs.json Moves ribs wound to its own directory + adds priority and “red” variant.
sheet_definitions/body/wounds/wound_mouth.json Moves mouth wound to its own directory + adds priority and “red” variant.
sheet_definitions/body/wounds/wound_eye_right.json Moves right-eye wound to its own directory + adds priority and “red” variant.
sheet_definitions/body/wounds/wound_eye_left.json Moves left-eye wound to its own directory + adds priority and “red” variant.
sheet_definitions/body/wounds/wound_brain.json Moves brain wound to its own directory + adds priority and “red” variant.
sheet_definitions/body/wounds/wound_arm.json Moves arm wound to its own directory + adds priority and “red” variant.
scripts/zPositioning/z_positions.csv Updates/extends z-position mappings for newly split items and new wound directories.
item-metadata.js Updates generated metadata/category entries to match the newly split definitions.
CREDITS.csv Re-keys credit rows to match new asset paths and newly split item files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

],
"path": [
"weapons",
"shield",
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path segment uses "shield" (singular) here, but the rest of this PR places shields under "shields" (plural) (e.g. item-metadata.js uses ["weapons","shields","shield_round"], and the file lives under sheet_definitions/weapons/shields/). This mismatch is likely to break lookups/grouping for the round shield. Update the path array to use "shields" for consistency with the directory/category structure.

Suggested change
"shield",
"shields",

Copilot uses AI. Check for mistakes.
@Gaurav0
Copy link
Member

Gaurav0 commented Feb 14, 2026

Do you think we should do any mitigations for old imports or old urls that will no longer work?

@jrconway3
Copy link
Contributor Author

Do you think we should do any mitigations for old imports or old urls that will no longer work?

I'm not really sure what we can do here. If we want paint in place to work we cannot have "variants" that are completely different assets...

That said, the shields and wounds shouldn't be a problem anyway. The only actual change is Shield > Round Shield. Crusader Shield and Spartan Shield were already separate assets and Wound was already separate anyway.

Belt Other I doubt is something that a lot of people have bookmarked.

@Gaurav0
Copy link
Member

Gaurav0 commented Feb 14, 2026

I'm going to move the question to discussions and approve this.

@jrconway3
Copy link
Contributor Author

Since this is approved, I'll merge it, but I'll also be whipping up a theorycraft update to support forwarding.

@jrconway3 jrconway3 merged commit 96763a4 into LiberatedPixelCup:master Feb 25, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split Non-Color "Variants" Into Separate Assets

3 participants