Elin
44 ratings
Item Sell Price & Buy Value
   
Award
Favorite
Favorited
Unfavorite
Gameplay: General, QoL
File Size
Posted
Updated
64.364 KB
16 Apr @ 1:15pm
20 Apr @ 9:10pm
2 Change Notes ( view )

Subscribe to download
Item Sell Price & Buy Value

Description
Item Sell Price & Buy Value
An Elin mod that adds the selling price and buy value to every item's tooltip.

It will show:
  • The buy value (if identified)
  • The shop sell value (identified/unidentified)
  • The shipping sell value (identified/unidentified)
  • The vendor (sell to npc) value (identified/unidentified)

Identified/unidentified prices are different. So remember to identify your expensive stuff.
If the item has no purchase value, that line will not be shown.
If the item has no sell value, that line will not be shown.

Scales with negotiation & active deeds.

Not the prettiest, but it's functional :)
Let me know if you want to see anything else!


Config file
This is optional.
You can edit the config file for this mod which will allow you to format the text that is displayed.
The config file is located here (generated when you first start the game with the mod loaded):
\Steam\steamapps\common\Elin\BepInEx\config\li3.elin.itemsellvalue.cfg

There are 3 customizable lines. You can leave a line empty to omit it completely. You can include "<isIdentified>" in a line to make it so that line only shows when the item is identified. ex:
Line1 = Line2 = Sells for {shopValue} orens at your shop, or ship it for {shippedValue} orens Line3 = <isIdentified>Bought for {buyValue} orens
Note: If the sum of all variable values on a line is zero, the line will not show.

The variables are:
{buyValue}, {shopValue}, {shippedValue}, {npcValue}
Note: The variables are case-sensitive. If something isn't showing, double check your config.

* Changes will take place only when the game is restarted.
* Delete the config file to restore the settings to default.



Updates
- 1.1.0 Added config file



Some keywords to aid the search: price, value, tooltip, item info, sell, buy, shipping, items, shop, shipped
10 Comments
Li3  [author] 13 Jun @ 7:56pm 
You're welcome! I'm glad you like the approach I went with. :D
Punished Vorst 13 Jun @ 1:00am 
Thank you! I appreciate the tidiness of this one compared to a similar mod I've seen.
Daezz0r 21 Apr @ 1:42am 
Great :D time to tinker a little bit xD
Li3  [author] 20 Apr @ 10:08pm 
Added a config file :)
Daezz0r 19 Apr @ 12:25am 
Yay, well done and keep it up =)
Li3  [author] 18 Apr @ 5:17pm 
Thank you! Yeah, I could add a way to configure what's displayed. I'll do that in a future revision.

As for your issue, it appears to be a bug in the base game (unmodded, as I tested without mods as well). In simple terms, the game uses a function to get the price. That function doesn't see all the equipment mods right away; but when that function runs, it brings those equipment mods into view. After that, the next time the game calls that function to get the price, it sees them and evaluates those too.

Thankfully, because of this strange behaviour and the way my mod is coded, my mod should always reflect the final value.
Daezz0r 18 Apr @ 9:40am 
Well, looks like its not the mod, as that happens without it too. No idea why the price is changing tho.
No skill involved has had a level up recently (base/char).
Daezz0r 18 Apr @ 9:26am 
Looks very basic and clean. I like that.
Can you add options to further show/hide values (or a simple config file)?

Yet I noticed some odd behavior for weapons with mods installed. The mod seems to recalculate the price and sets it accordingly, unlike the base game.
Have a look: https://drive.google.com/file/d/19Dv4NVMivgMHQFDRUqySBvplI6fP7HT_/view?usp=sharing
Is this intentional?
Li3  [author] 17 Apr @ 6:24pm 
Thank you! Just a side note, this is currently working on the nightly build as well which is what I'm playing. I think maybe in the future; tying this to appraise/merchant's guild or something might be the best way to make it feel more authentic and part of the base game. But regardless, this genuinely felt like a must have in this game for me, so here we are. :P
Yuri Portela 16 Apr @ 3:15pm 
Value is very accurate, a must have mod!