Skip to content

👔 NPC Clothes ​

Documentation relating to the jo_clothingstore_npc add-on for Clothing store script.

1. Installation ​

WARNING

Clothing store script is required to use this add-on

To install jo_clothingstore_npc:

  • Drag and drop the resource into your resources folder
    • jo_clothingstore_npc
  • Add this ensure in your server.cfg after ensure jo_clothingstore
    • ensure jo_clothingstore_npc

Congratulation, the NPC Clothes add-on is ready to be used!

2. Usage ​

The scripts add a new intermediate menu in the store which allow you to choose between Classic Clothes or NPC Clothes. NPC clothing categories share some categories with classic clothes, but there are also many new categories.

With jo_clothingstore v4.4.0 or newer, every variation of the NPC clothes has its thumbnail, displayed with the clothing store's thumbnail options.

3. Number of clothes ​

The add-on adds NaN unique clothes (NaN variations):

  • NaN unique clothes for male (NaN variations)
  • NaN unique clothes for female (NaN variations)

Here are charts of the number of clothes by categories:

Unique clothes by categories (NaN)
All colors variations by categories (NaN)

4. Configuration ​

The configuration files are located in the config folder within the resource. This folder contains two subfolders:

  • _default.lock/ - Contains the default configuration files. Do not edit these files directly as they may be overwritten during updates.
  • custom/ - This is where you place your custom configuration files to override the defaults.

How to customize the configuration ​

  1. Navigate to jo_clothingstore_npc/config/_default.lock/
  2. Copy the file you want to modify (e.g., prices.lua )
  3. Paste it into jo_clothingstore_npc/config/custom/
  4. Edit the copied file in the custom folder

The script automatically loads files from custom/ first, and only uses _default.lock/ as a fallback. This system ensures your customizations are preserved when updating the script.

Default configuration files ​

Loading configuration...

Language Configuration ​

The script supports full translation through the language system. To override any text:

  1. Find the key you want to change in config/_default.lock/lang.lua
  2. Copy lang.lua to config/custom/ and add only the keys you want to override

Example:

lua
Lang.npcCategoryName = "Одежда NPC"
Lang.bodyPartsMenuTitle = "Исправить части телa"
Lang.upperBody = "Верхняя часть тела"

Available translation categories include:

  • General UI & Common Terms
  • NPC clothes categories names

💡Only change the key you need to translate

You only need to include the specific keys you want to change in config/custom/lang.lua. Don't copy the entire language file if you don't need to.

Last updated: