
Displays both trader and flea market prices in the description of most goods. Changes item icon colour depending on either the trader or the flea market value. Highly configurable.
Don’t know what’s worth your backpack space? Don’t know if some random attachment is actually worth 666k in the flea market? (Looking at you M-LOK 4.1“). Introducing Eyes of a Trader. With this mod, you’ll know approximately how much your loot is worth so you can decide whether you want to haul it to extract or dump it on the floor.
Features:
- Displays Trader price & Flea market price in the description of most items (item types and whether to use custom background colours configurable in categories.json)
- Changes item icon background colour to represent item value (Price range, colours, trader vs flea, all configurable. Uses trader value per slot by default)
- Ability to automatically use Flea market value for icon colour when Flea market value is much higher than the Trader value (Enabled by default. Can be disabled or ratio tweaked)
- Changes backpack background colours depending on how many slots they hold.
Custom colours (can be disabled via useCustomBackgroundColours set to false):
From cheapest to most valuable:
brown (<3k per slot vendor, <5k per slot flea)
red (3-6k per slot vendor, 5-9k per slot flea)
yellow (6-9k per slot vendor, 9-12k per slot flea)
green (9-11k per slot vendor, 12-16k per slot flea)
blue (11k-13k per slot vendor, 16-20k per slot flea)
violet (>13k per slot vendor, >20k per slot flea)
You can change the colours for any price range in config.json using the colours found in: Resources: Item properties list
Auto use flea market value for background colour:
There’s a lot of items that vendor poorly like toothpaste or syringes ~1k but actually have a flea value of around 10k. By default, when the flea value is twice the vendor value, the mod will display the flea market value icon colour. This can be disabled in config.json via autoUseFleaPricing.enabled = false if you don’t sell on the flea much.
If you have useFleaPricesForBackground = true however, the above logic will not apply since you’re always using the flea price for the icon colour anyway.
Installation:
Copy contents of .zip to your <spt_aki_dir>/user/mods folder.
Config help:
Most of the config values should be self explanatory but here are some of the more confusing ones explained.
delayStartInSeconds (default 7): makes the mod load later so other mods like Lua’s flea market updater can be loaded first which allows my mod to retrieve the updated values. Set this higher to maybe 10s if it’s still not showing the updated prices. A sure way is to see in the console that it says
[Eyes of a Trader]: Success! Found xxxx items to update. after
Lua-FleaMarketPriceUpdater: Generated initial flea market offers
updateVioletItemBackground (default false): updates the background of items with an existing violet backgrounds. These are generally special items (that are already valuable) so I didn’t want to touch them at all, just like keys.
Screenshots:
8.1K Downloads
Updated for SPT-AKI 3.7.0
7.8K Downloads
Compatible with SPT-AKI 3.5.*, SPT-AKI 3.6.*
- Added setting forceCustomBackgroundColours to categories.json. This setting allows you to force custom background colours for a category and its children even if you have other background settings disabled. Mainly used so that purple backpacks are using the new colour system.
- Added setting useSlotsBasedBackgroundColours to categories.json. This allows you to change the background colours of things like backpacks depending on how many slots it can hold.
- Added wearable gear items to display their price values and uses custom background colours.
- Updated flea pricing calculations to be more accurate.
1.0K Downloads
- Updated for SPT-AKI 3.5.0
3.4K Downloads
Changes:
- Added config delayStartInSeconds (defaulted to 7s) which delays the loading of the mod. This gives other mods like Lua’s flea market updater to be loaded first so my mod can then display the updated values. If you don’t use this mod, feel free to change this value lower but in my testing, a lower number doesn’t make any difference. Just don’t go too high (>30s) otherwise my mod will not load properly.
320 Downloads
Changes:
- Added config useCustomBackgroundColours which allows you to enable or disable the custom icon background colours globally. Enabled by default.
- Added categoryConfig disableCustomBackgroundColours which allows you to disable the custom icon background for specific categories. You can add any sub or parent category then include this flag.
- Disabled custom background colours for keys so it works with other mods like BetterKeys.
Possible future changes:
- Config to disable the text description so you can just use the background colours if you want.
Details
-
GUID
Not Available
-
License
-
Source Code
Would like to suggest the introduction of a special colour for Flea Banned items, Dark red or something perhaps?
This still seems to work in 3.8.0 - all you need to do is go into the package.json file and change the “akiVersion” field to “3.8.*”
Hope this helps for people interested in using it before the official update.
Great mod , wondering if you could add a setting to make it use the flea price only if item is Found in raid?
Is there a way for this mod to also affect modded items on new traders? For instance Painter, Artem.
It would be cool if the mod didn’t display ragfair price colors if the item isn’t marked found in raid.
May i make a suggestion?
Why not have the default colour scheme the same as most RPGs use to indicated loot rarity?
i.e.
TIA
For version 3.7.0: change the line getDynamicOfferPrice to getDynamicOfferPriceForOffer in the mod.ts file for the mod to work
Screenshot https://imgur.com/a/Dxlf1vk
any update for SPT-AKI 3.6.0?
Would be cool if there was some fast way (without opening the item dialog) to see if the price is based on flea or trader price. That way it’d be really fast to sort out the items you’re going to sell on the flea. It would be especially useful when combined with the already existing fleaToTraderValueThresholdRatio setting.
quick question… how often does the mod update the prices? I guess it only updates prices once at start?