You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setting the clothing's asset via setClothingItemAsset is a clientside change, but what you could do is store their menu selection in a variable, get that selection's stats (scratch defense, other defenses etc) values and apply them to a new additem, the 'transmog', and have them wear that; that way the user is not getting a whole new item, armor, etc they only get that item with its texture/model/etc and the same stats as the base item (probably delete the base item after to avoid duping lol)
setting the clothing's asset via setClothingItemAsset is a clientside change, but what you could do is store their menu selection in a variable, get that selection's stats (scratch defense, other defenses etc) values and apply them to a new additem, the 'transmog', and have them wear that; that way the user is not getting a whole new item, armor, etc they only get that item with its texture/model/etc and the same stats as the base item (probably delete the base item after to avoid duping lol)
here's the reference for the clothing stats: https://zomboid-javadoc.com/41.65/zombie/inventory/types/Clothing.html#getScratchDefense()
the new item should sync automatically, but in the event that it does not,
The text was updated successfully, but these errors were encountered: