WIP: Enhanced Figure Validation with Comprehensive Checks
development of figure validation:
Mandatory Items: If an item is marked as mandatory and is missing, the validation will ensure it's added to the figure.
Habbo Club Constraints:
If an item requires a Habbo Club membership and the user doesn't have it:
The item is removed if it's not mandatory.
If it's mandatory, the validation selects the first valid non-HC item for the given gender.
Colorable Items:
The validation ensures that the selected colors are valid and belong to the correct palette for the set type.
If a color is club-exclusive and the user doesn't have a membership, it will:
Replace the color with the first valid non-HC color from the relevant palette.
Palette Restrictions: Only specific palette colors associated with a particular set type are allowed, ensuring figures remain consistent with the design constraints.
Gender Specifics: For items that are gender-specific, the validation ensures they align with the user's gender. If not, it selects the first valid item for that gender.
WIP: Enhanced Figure Validation with Comprehensive Checks
development of figure validation:
Examples