Skip to content

[Phoenix] Cosmetic Wardrobe 8 - #186

Open
KiplingFFXI wants to merge 1 commit into
betafrom
Cosmetic-Wardrobe
Open

[Phoenix] Cosmetic Wardrobe 8#186
KiplingFFXI wants to merge 1 commit into
betafrom
Cosmetic-Wardrobe

Conversation

@KiplingFFXI

@KiplingFFXI KiplingFFXI commented Aug 25, 2026

Copy link
Copy Markdown

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

This PR adds a module and setting for cosmetic wardrobe 8. It allows players to have a full wardrobe 8 for cosmetic items only, and only the ones on the approved list contained in the lua file. If you try to place something that isn't on the list, you get error text so the player knows what's wrong.

  • modules/phoenix/cpp/cosmetic_wardrobe.cpp is the piece that actually blocks the items. When someone tries to move something into Wardrobe 8 that isn't on the list, it bounces the item back to their bag and tells them why. This part has to be cpp because Lua doesn't have a way to intercept item movement packets.
  • modules/phoenix/lua/custom/cosmetic_wardrobe.lua opens Wardrobe 8 to the full 80 slots when a player logs in and hands the item list over to the cpp side. It grows the wardrobe with changeContainerSize the same way the wardrobe unlock module grants its space
  • modules/phoenix/lua/data/cosmetic_wardrobe_items.lua is the list of what's allowed in. There are 147 items on it, all from events or promotions, and everything was obtainable before Abyssea. It lives in its own file so we can add new items down the road without touching any code or rebuilding the server.
  • settings/default/main.lua gets one new setting called ENABLE_COSMETIC_WARDROBE that defaults to off. That way the feature is opt in and anyone reading the settings file can see that it exists.
image

Steps to test these changes

Load the module and enable the setting. Try to put cosmetic items in/out of wardrobe 8 and see it works. Try to put anything else in there and see you can't and get an error instead.

@KiplingFFXI
KiplingFFXI force-pushed the Cosmetic-Wardrobe branch 2 times, most recently from 52fd5a4 to 6beefcc Compare August 25, 2026 20:27
@KiplingFFXI

Copy link
Copy Markdown
Author

PR updated and description updated

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.

1 participant