Mods / Day Trader

Tags: #QoL #Tweak #Utility
Author: Darkbrook
Side: Client
Created: Oct 18th 2024 at 2:15 AM
Last modified: Sep 10th at 4:58 AM
Downloads: 4340
Follow Unfollow 151

Latest release (for Vintage Story 1.21.0, potentially outdated):
DayTrader-1.0.5.zip  1-click install


Displays trader price ranges and profit margins.

Trade item tooltips will now include:

  • Better deals if they are offered by another trader:
    [1-3 gears at clothing trader]
  • The price range of an item (next to the price):
    Price: 5 gears (5-9)
  • The resell value of an item, if it can be sold for a profit:
    Resell: +4 gear profit

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
1.0.5 2061 Feb 10th at 1:11 PM DayTrader-1.0.5.zip 1-click install
  • New: Czech translation by Ouk.
1.0.4 511 Feb 5th at 6:58 PM DayTrader-1.0.4.zip 1-click install
  • Fixed: Crash while viewing trade item in villager.
1.0.3 709 Dec 14th 2024 at 2:40 PM DayTrader-1.0.3.zip 1-click install
  • Updated to game version 1.20.0-rc.1
  • Fixed: Crash when mod starts due to outdated trade list load method.
1.0.2 250 Nov 24th 2024 at 7:48 AM DayTrader-1.0.2.zip 1-click install
  • No longer backwards compatible with 1.19.8
  • Tweak: Trade item with the same min and max price now displays price range as (min) instead of (min-max).
  • Fixed: Crash while viewing trade item with only one available price.
  • Fixed: Calculations not rounding correctly.
1.0.1
1.19.8 - 1.20.0-pre.0
422 Nov 9th 2024 at 6:16 AM DayTrader-1.0.1.zip 1-click install
  • Tweak: Added color gradient to price and profit text based on deal quality.
  • Fixed: Crash while viewing trade item with outdated attributes.
  • Fixed: Crash while viewing trade item in modded trader.
  • Fixed: Calculations not accounting for stack size variation.
  • Fixed: Incorrect 'better offer' min value.
1.0.0
1.19.8 - 1.20.0-pre.0
387 Oct 18th 2024 at 3:08 AM Empty DayTrader-1.0.0.zip 1-click install

17 Comments (oldest first | newest first)

💬 eerino, 2 days ago

Thanks Bl0ckparty

💬 Bl0ckparty, Sep 8th at 10:17 PM

This appears to work in 1.21.0 stable.

💬 AnniPicto, Aug 22nd at 1:15 PM

Russian translation

 

Spoiler!

ru.json

{
    "tradeitem-traderpricerange": "[{0} шестеренок у {1}]",
    "tradeitem-demand": "Спрос: {0}",
    "tradeitem-price": "Цена: <font color=\"{2}\">{0} шестеренок</font> ({1})",
    "tradeitem-resell": "Перепродажа: <font color=\"{1}\">+{0} прибыль</font>",
"tradeitem-supply": "В наличии: {0}",
    "tradeitem-traderseperator": " & ",
    "tradeitem-withdurability": "Минимум 95% прочности"
}
 
💬 eerino, Jul 20th at 11:05 AM

Just dropping by to say I love this mod! 

Like FentonCheese I would love to see buyer/seller info considered for future updates!

💬 FentonCheese, Jul 6th at 8:30 PM

would it be possible to say where to resell to?

💬 Aimli_, Apr 21st at 7:16 AM

I'm sorry, maybe I forgot to load the mod. It's working now

💬 Darkbrook , Apr 20th at 10:11 PM

Aimli_ Currently working for me in 1.20.8, could you describe your issue?

💬 Aimli_, Apr 20th at 8:22 AM

It didn't work anymore 1.20.6

💬 Darkbrook , Feb 5th at 6:59 PM

Datanazush Thanks for the heads up, should be fixed in the latest version :)

💬 Datanazush, Feb 3rd at 10:53 PM

1.20 Spoilers.

Seems to be a crash when trading with some NPCs at Nadiya, just a heads up.

💬 Darkbrook , Nov 22nd 2024 at 6:10 PM

DoodleGarbage could you provide the full log either here or in the discord.

Found the issue; it's related to a calculation that only occurs when a trade has no price variation. A patch will be out shortly.

💬 DoodleGarbage, Nov 22nd 2024 at 11:47 AM

Can cause a crash due to the "RedToGreenGradient(Single percent)" having an index outside of the bounds of the array.

💬 TheKhopesh, Nov 20th 2024 at 9:25 AM

Thanks for this mod!
I love it.

💬 Darkbrook , Oct 18th 2024 at 5:45 PM

DanaCraluminum Looked into it, CollectableBehavior allows additional text below Price/Supply/Demand, but can't modify it or append text above it. Will use it if I ever decide to completely separate the mod text from vanilla text; intentionally combined them so you don't have to scan too many extra lines to view the added info. Open to formatting suggestions if anyone thinks there's a better looking solution. Was considering condensing "Resell" and adding it to the "Price" line in brackets, for example: "Price: 5 gears (5-9) [+4]" but assumed that would be too ambiguous.

💬 DanaCraluminum, Oct 18th 2024 at 11:09 AM

You could easily achieve the same thing with CollectibleBehavior without using any Harmony patches

💬 Darkbrook , Oct 18th 2024 at 6:25 AM

JunidO How so? 1.19.8 is the version it's based on, these changes are only visible inside trader menus.

💬 JunidO, Oct 18th 2024 at 5:24 AM

Don´t work at 1.19.8 :(

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом