The Witcher 3

File information

Last updated

Original upload

Created by

Michel7890

Uploaded by

Michel7890

Virus scan

Safe to use

Tags for this mod

About this mod

Merchants are now richer, buy and sell at a better price. Updated for 1.2.

Permissions and credits
Changelogs
In the vanilla game, you have to run to several merchants just to sell all your stuff. More, they buy it at a very low price.
This mod just simplify your life. Its a little cheating, but don't break the game. Merchants take always a margin, they have to live too !!

This version now takes care of the relics. In the vanilla game, when you buy a relic from the merchant, you pay twice the price. Its no more true!
You can now have a normal price for the relics, or not. You can customize this feature.

Installation
Extract the archive in your Mods directory : ...Witcher 3\Mods

Files modified
scripts\game\components\inventoryComponent.ws
scripts\game\gui\_old\components\guiPlayerInventoryComponent.ws
scripts\game\gui\_old\components\guiShopInventoryComponent.ws
scripts\game\gui\_old\components\guiTooltipComponent.ws
scripts\game\gui\menus\inventoryMenu.ws

For 'Richer Merchant', only the first file is modified.

Customisation for 'Better Merchant'
  • Open the file X:\The Witcher 3 Wild Hunt\Mods\modBetterMerchant\content\scripts\game\components\inventoryComponent.ws
  • line 67 : delays between two merchant refund
  • line 68 : fund multiplier
  • line 73 : merchant selling price
  • line 77 : merchant buying price
  • line 2650 : multiplier for selling price, by default = 1
  • line 2651 : multiplier for buying price, by default = 2
  • line 2652 : tell if you want to modify the relic's selling price, default : true
  • line 2653 : tell if you want to modify the relic's buying price, default = true (like in vanilla game)

If you want to have the vanilla method for relic's price, put relicSell to "false", and relicBuy to "true"
If you want to have both selling and buying price as "relic", put relicSell and relicBuy to "true" (new default)
If you want to have normal selling and buying price, put relicSell and relicBuy to "false"

Customisation for 'Richer Merchant'
  • Open the file X:\The Witcher 3 Wild Hunt\Mods\modRicherMerchant\content\scripts\game\components\inventoryComponent.ws
  • line 65 : delays between two merchant refund
  • line 66 : fund multiplier

Important note
If you have error messages about "LogWithName", you have to modify the file : X:\The Witcher 3 Wild Hunt\content\content0\engine\telemetryKeyword.ws
Like that : (from http://forums.cdprojektred.com/threads/56044-How-to-solve-script-compilation-issues-when-launching-the-game-with-mods/page16)

/*
Copyright © CD Projekt RED 2015
*/

import class CR4TelemetryScriptProxy extends CObject
{
import final function LogWithName( eventType : ER4TelemetryEvents );
import final function LogWithLabel( eventType : ER4TelemetryEvents, label : String );
import final function LogWithValue( eventType : ER4TelemetryEvents, value : int );
import final function LogWithValueStr( eventType : ER4TelemetryEvents, value : String );


import final function LogWithLabelAndValue( eventType : ER4TelemetryEvents, label : String, value : int );
import final function LogWithLabelAndValueStr( eventType : ER4TelemetryEvents, label : String, value : String );

import final function SetCommonStatFlt( statType: ER4CommonStats, value : float );
import final function SetCommonStatI32( statType: ER4CommonStats, value : int );


import final function SetGameProgress( value : float );


import final function AddSessionTag( tag : String );
import final function RemoveSessionTag( tag : String );


import final function XDPPrintUserStats( statisticName : String );
import final function XDPPrintUserAchievement( achievementName : String );
}


Changelog
1.1 : patch 1.10
1.2 : patch 1.11
1.2.1 : better customisation
1.3 : patch 1.12
1.4 : take care of relic items
1.4.1 : bug correction
1.4.2 : cosmetic modification, added some comments
1.4.3 : clarification, hopefully better to understand for people wishingto customize ...

Thanks
to tbellovics for his ideas about customisation