Jump to content

Character clothes are not saved


Narrnika

Recommended Posts

When you use saving in the "Customise Character" screen, the DisplayNames of clothes are written to the file Zomboid/Lua/saved_outfits.txt (taking into account the included translation).

This creates two errors:
1. If the translation is not Unicode (Russian, Chinese, Japanese, etc.), then instead of the names, question marks are written to the file, which are then not read; that is, a set of clothes is not actually saved;
2. If you configure and save the character in one language, and then switch to another translation, the saved set of clothes does not load correctly (because the names are different in different languages).

Perhaps it makes sense to use not the DisplayName, but the code name of the item (for example, "Tshirt_Profession_RangerGreen" instead of "Green Ranger T-Shirt").

Link to comment
Share on other sites

Using the item name would also make it so you could put more things on the list that have the same name, since right now there are several items that are distinct yet share the same display name.

 

Getting around this restriction for the purposes of modding is pretty awkward.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...