Update Adding new vanity items authored by Jake Harrington's avatar Jake Harrington
Below are the steps to adding a new vanity item: Below are the steps to adding a new vanity item:
1. The sprite png must be created and added to the correct vanity type folder in [ui-data](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/tree/main/FreshmanRPG/GameClient-desktop/ui-data) (i.e. a hat would be added to the "hats" folder) 1. The sprite png must be created and added to the correct vanity type folder in [ui-data](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/tree/main/FreshmanRPG/GameClient-desktop/ui-data) (i.e. a hat would be added to the "hats" folder)
2. (Something about database stuff) 2. A vanity item consists of several pieces of information:
\ No newline at end of file ID - an identifying number, but the database provides this for new items so it is not something you have to give
name - the name of the vanity item
description - short explanation of what the vanity item looks like
textureName - name of the sprite png (from above step, without “.png”)
type - the type of vanity item (eyes, hat, shirt, etc., all types can be found in VanityType.java)
For use with testing, this information can be added to VanityForTest.java, and when the database is rebuilt it will be added to the VanityItems table on the database.
\ No newline at end of file