Clothing Price Customization
You can assign specific prices to each clothing item based on its category and variation using the configuration in config/prices.lua
. This gives you full control over the cost of props (like hats and glasses) and components (like shirts or pants) directly in-game.
How to Modify Prices
Here’s an example of how the pricing system is structured:
In this configuration you can see:
props
handles accessories like hats, glasses, watches, etc.[0]
corresponds to hats.The inner indices (
[1]
,[2]
, etc.) represent drawable variations, each with its own defined price.
components
handles clothing items like shirts, pants, shoes, etc.[11]
corresponds to tops.Each variation has a separate cost based on its index.
Last updated