Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
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:
-
Version 1.3.1
- Platinum
- 7.4k Downloads
Updated for SPT-AKI 3.7.0
-
Version 1.3.0
- Platinum
- 7.7k 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.
-
Version 1.2.1
- Platinum
- 862 Downloads
- Updated for SPT-AKI 3.5.0
-
Version 1.2.0
- Platinum
- 3.3k 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.
-
Version 1.1.0
- Platinum
- 259 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.
-
Version 1.0.0
- Platinum
- 577 Downloads
samsonsin
Would like to suggest the introduction of a special colour for Flea Banned items, Dark red or something perhaps?
grunklekev
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.
thealtmasterttv
does this work for 3.9??
daking4life.jk
Great mod , wondering if you could add a setting to make it use the flea price only if item is Found in raid?
Geniuswas
Is there a way for this mod to also affect modded items on new traders? For instance Painter, Artem.
Platinum Author
Not at the moment I don't think. Will need to investigate when I have time, I don't normally play with custom traders however.
crazybmanp
It would be cool if the mod didn't display ragfair price colors if the item isn't marked found in raid.
Ozhound
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
Platinum Author
The colour scheme used by default is similar to a mod I used before (can't remember the name). However this mod allows you to freely configure the colours so you can change it to whatever you want
Hacker228
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
Platinum Author
Uploaded v1.3.1 to fix this issue. Thanks for helping!
werefox56
any update for SPT-AKI 3.6.0?
Platinum Author
Does it not work with 3.6.0? Generally server mods are compatible for a few versions until they're not.
FINDarkside
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.
Platinum Author
That's a good idea. Maybe I'll add an asterisk or some symbol to the short form name.
B3N1v93
quick question... how often does the mod update the prices? I guess it only updates prices once at start?
Platinum Author
Correct
deveagle
Hy. One question. How to modify the config or .ts file? Not instead of 4.35k, I want to see: 4350. instead of 4k, 4000. etc.
Platinum Author
Hi, there is no json config to change what you're after. If you're familiar with coding, you can change the mod.ts file and do whatever you want. I believe it gets transpiled to mod.js after your change.
I didn't do what you're asking originally because the value is supposed to be a rough estimate. The traders don't actually sell for exactly the displayed amount. However, there's a mod called ODT Item Info that has a more accurate price version which you may like.
Helldiver
This looks awesome!
footlicker
is possible to add a "Banned" preposition in the description in place of trader price for banned flea items?
Platinum Author
I think it's possible and a great suggestion. I'll keep it in mind for the next build whenever that is
sackstonhail420
looks like the mod is still changing the background color of certain items (most notably backpacks) even when i have "useCustomBackgroundColours": false,
Platinum Author
Change forceCustomBackgroundColours to false in categories.json for backpacks.
sackstonhail420
ah mb missed that config line
Platinum Author
No probs, I know my mod description page isn't the best organised
Sysharp
The trader value is off when using SPT Realism That mod changes traders and this mod doesn't seem to take it's altered imput ...
Platinum Author
Sorry, just had time to double check. The prices look okay to me.
The SPT Realism mod creates a very big price range with some items and traders. The trader price in the description sits somewhere in the middle. For example morphine injector is listed at 13.9k. Prapor buys it for 12.6k and therapist buys it for 15.9k.
You might not see the exact same numbers due to the Charisma skill but I think this mod works ok with the SPT Realism trader changes
vandall
у меня 3.4 аки и уменя заработало поэтому плюс респект ему
ligma929130
Does SPT_AKI traders price them the same as the live Tarkov?
Platinum Author
Probably similar
sackstonhail420
trader prices are the same as live; flea prices are not. unless you use flea price updater
Morfius
Can i exclude items like keys or are they excluded? I am using the mod "better keys" and i dont know what color is displayed now. I am pretty new to tarkov so yea i might be clueless, sorry for that
Platinum Author
Hey Morfius, try the latest version 1.2.0. I recently made a change to make Keys compatible with Better Keys (I also use that mod) so the colours aren't overriden.
Morfius
Oh wow, i missed 2 versions already? Jesus xD Thank you, i will update!
notAlig
What does the "updateVioletItemBackground" option do in the config?
I've been curious ever since I gave this mod a download, but haven't really noticed what it does in-game, though I could very easily be missing something obvious lmao.
Platinum Author
Oh haha, by default it's false but if you set it to true, it will update the background colours of existing violet items. Since a lot of them are already quite valuable, they may not change but some might.
notAlig
Ah, gotcha. Thanks for taking the time to explain.
HyperNeonX
Do I need to tweak any config to show a more accurate value? Im using lua flea market price updater and i have an labs yellow keycard, the price shows an approximate value of 34.6k but the maximum value on the market is 22 million, any way to tweak this?
Platinum Author
I haven't done any testing with Lua's market updater but I think it should match at least the AVG cost if this mod is loaded after Lua's mod.
You can play around with the fleaValueMultiplier in the config to get closer to your number but I don't think the Max value is the best metric as it might not sell on the flea unless you have updated that with a mod too.
HyperNeonX
Changing the fleaValueMultiplier seems to not any effect, but yea it at least it shows the avg value of the market, still such a cool modEDIT: Nevermind It does changes a little bit the value, but still dont know how much should i add, because i obviously i dont want to add 1000000 or something like that lol
Platinum Author
Using a bit of maths, if you want the flea price of that lab card from 34.6k (default 0.77 mult, actually suppose to be close to the lowest flea value) to read as 22 mil, you'll need to set the fleaValueMultiplier to 489. Obviously this would mess up the values for other items.
I'll investigate compability with Lua's mod after work today.
Edit: the multiplier system is quite simple in this mod. Most items have a 'handbook' price and a flea price.
For the trader value, I simply multiply the 'handbook' price by 0.55 by default as the traders have a big markup.
For the flea price, I simply multiply whatever value the flea market returns by 0.77 which is around the lowest flea price and the fee.
If you want to learn some maths, here is how I got 489:
0.77 * x = 34.6k where x is the raw flea price.
x solves for around 45k
now 45k * m = 22000k where m is the new multiplier
m solves for 489.
HyperNeonX
I really appreciate the time you took for the maths, now I really find it more useful, I like to see how value is an item on the market most of the times even if prices varies a lot and are not 100% accurate, I just wanted a more close aproach to a high price, also lua's mod takes price data from tarkov.dev in case you wanna know
Platinum Author
Hey, I uploaded a new version 1.2.0 which should make this mod compatible with Lua's flea market updater. I tested it a bit and it seems the new Flea Price will be close to Lua's lowest flea price minus the fee (which is my intention).
See if the new values are better for you. If you don't see any changes, you may need to increase the new config delayStartInSeconds to a higher number like 10.
Edit: if the mod works now for you and you want the Flea price to be closer to the Max flea value, try setting the fleaPriceMultiplier to maybe 1.3 or just play around with that number.
Yep, the code of Lua's mod basically grabs the prices from tarkov.dev, overwrites the flea price and since my mod loads later now, it should grab these updated prices too.
Djmeowzle
Is there a way to JUST have description prices and not the colors?
Platinum Author
I can add that after work today. Check for an update tomorrow if you're keen. Otherwise you can probably just delete the colour entries for now in config.json.
So have the backgroundColours: []
Platinum Author
I have updated the mod, please try version 1.1.0 and set useCustomBackgroundColours to false in config.json. Enjoy
Djmeowzle
ilysm
Hovelly
tried it with 3.50
Works with no problems
DeltaFrost22
Does this work with the flea market price updater?
Platinum Author
I believe it should but make sure this mod is loaded after any flea market adjuster mods by making sure my mod is alphabetically after the other mod.
I haven't tested it myself so let me know if there are any issues.