- Joined
- May 24, 2023
- Posts
- 674
I can't help with the crash if you don't show the errorlog. Anyway, you just add the clothes names (the one you defined in
Example:
As a note, you have to add a , at the end of each line except the last one (like with the Ruby Outfit one).
The item list in the code I shared would then be:
Again, you have to add , at the end of each line except the last one.
NAME =
) on that array and then match it with the item ID. Be aware that the array starts numbering from 0 so the first element on the list will have 0 as index.Example:
Ruby:
OUTFITS = [
"Classic Ourfit",
"Magma Outfit",
"Ruby Outfit"
]
The item list in the code I shared would then be:
Ruby:
items = {
:CLASSICOUTFIT_M => 0,
:MAGMAOUTFIT_M => 1,
:RUBYOUTFIT => 2
}