banner
Rating
Voted0

Traders expanded

0
Mod version:1
Game version:all
The mod has been successfully tested for the absence of viruses
421.46K73.22K

Report mod

  • image
  • image
  • image
modalImage

About This Mod

Lists of items to buy/sell for each merchant. Purchase and sales lists, filters and repair buttons in the store user interface. Controller support. The use of tokens by traders. Markups and discounts.

Features.

Improved store user interface with list of items for sale.

Additional purchase/sale lists of items that can be customized for a particular merchant or for general use.

Live updates of configuration changes

Set up synchronization with the server

Configurations are saved as JSON files

Configurations can be stored next to the DLL, in the config folder of any subdirectory, or embedded in the DLL.

Custom elements are added to the existing list (do not replace existing vanilla elements)

Double-click on the item you want to buy and enter the number of items you want to buy.

Merchants can repair armor and weapons at coins (by default Haldor repairs weapons and Hildir repairs armor).

Merchants can limit the number of coins that can be redeemed.

Merchants can lower or increase prices depending on the number of coins available.

Vendors can filter the purchase/sale list by item name.

Traders can adjust the weight of coins and the size of the full stack.

Support for EpicLoot (color icons and coins spent in adventure mode).

You can redeem the last item sold.

Hotbar, QuickSlot, and Equipment Armour items do not appear in the sales list.

Waiting for items to be found

Vendors wait for the item to be found before it appears in the store.

To exclude items from this rule, set the prefab name in the Undetected Items for Sale List preference.

Vanilla items are available (unless they are disabled and the global key is full).

If automatic addition of vanilla items to the merchant list is disabled, you must manually add the item to the shopping list and add its collective name to the 'Undiscovered items list to be sold' configuration.

Repair.

Merchants repair items for 2 coins. The price can be set in coins.

If the name of the merchant or the name of the assembled item is set in the appropriate list, the item will be repaired according to the set type. Weapons, armor, etc.

Redemption.

Items sold to merchants appear at the top of the redemption list and are color-coded.

Color can be customized.

Only the last item sold can be redeemed.

Use of merchant tokens.

You can limit the number of tokens that the retailer can spend. The merchant spends his coins when selling the item. The merchant receives coins when buying the item.

Each morning (at a predetermined recharge rate), the merchant receives a certain number of coins until the predetermined maximum is reached.If the merchant has more tokens than the minimum quantity, the sale price increases and the purchase price decreases. If the trader has less than the minimum amount of coins, the sale price decreases and the purchase price increases.

If you want your private traders to be able to manipulate coins, you need to set the prefab name in the 'Private trader prefab name' setting. It must be case sensitive and separated by commas.

If you are an administrator on the host (or use devcommands on the server), you can use the console command

settradercoins [trader name] [number].

You can manually set the trader's coins using the [tradercoins] command.

The default value is 2000 coins of the trader.

Each morning the trader will replenish the stocks for 1000 coins until it reaches 6000 coins. If the trader has 0 coins, the purchase price will be +50%, and the sale price will be -30%.

If the dealer has 6000 coins, the discount on the purchase price will be -30%, and on the sale price - +50%.

The regular price will change gradually, starting with 2000 coins.

Controller support.

Scroll through your shopping list with the left stick on your controller.

Scroll the sales list using the right stick on the controller.

The DPad manages both lists.

Press (X) for XBox and (☐) for PS to sell the selected items.

While holding down the alternative action, press (A) for XBox or (X) for PS to open the Quantity dialog for the item.

Right-click to repair the item.

Configuration File Name

Windows is case insensitive.

The MOD ID file name begins with 'shudnal.TradersExtended' and ends with '. Extension 'json' (case sensitive).

Contains the name of the trader (or "partner") and the type of listing (purchase/sale).

Traders can also be given non-standard names.

The name of the configuration file.

shudnal.TradersExtended.haldor.buy.json (items to buy from Haldor (in-game name $npc_haldor)).

shudnal.TradersExtended.haldor.sell.json (items for sale to Haldor (in-game name $npc_haldor)).

shudnal.TradersExtended.hildir.buy.json (items you can buy from Hildir (in-game name $npc_hildir)).

shudnal.TradersExtended.hildir.sell.json (item to sell to Hildir (in-game name $npc_hildir)).

shudnal.TradersExtended.common.buy.json (items to be purchased from all merchants).shudnal.TradersExtended.common.sell.json (items to be sold to all merchants).

Configuration FormatA configuration is a JSON file that contains a set of objects with different purchase and sale list formats.

The configuration uses the prefab name of the game object. Prefab names are case sensitive. Current list of items.

For example, the "Simple Hat in Red" sold by Hildir becomes the "HelmetHat5". Incorrect prefab names are safely ignored.

The configuration filters the list of items for sale using the bosses' keys (wiki page).

The tradersextended registration console command.

A ObjectDB.list.json file is created next to MOD dll.

Google Sheets JSON Assistant

Google Sheets JSON Helper can be used for easy configuration formatting. It was created specifically for this mode and can assist in editing the configuration.

See more information in your spreadsheet.Replaceable part model.{"prefab": "prefabName","stack": 1,.price": 100, 'price': 100, 'price': 100, 'price': 100, 'price': 100, 'price': 100

requiredGlobalKey": „“, „notRequiredGlobalKey“ notRequiredPlayerKey": „“, „notRequiredPlayerKey“: „“, „notRequiredPlayerKey“: »

prefab - string - Name of the item prefab. column Item from the item list.

stack - Integer is the number of items in the stack; if set to 0, the item is ignored.

price - integer - stack price; if set to 0, the item is ignored.

quality - Whole number - Item quality; if set to 0, the default purchase list quality and sales list quality is not checked.

requiredGlobalKey - string, comma separated - if set, all global keys in the list must be set to display the item. In other words, if no global keys are set, the item will be unavailable.

notRequiredGlobalKey - string, comma separated - if set, all global keys in the list must not be set to display the item. In other words, if the global key is set, the item will be unavailable.

requiredPlayerKey - string, comma separated - If set, all keys of a particular player in the list must be set to display the item. In other words, if none of the player's keys are set, the item will be unavailable.

notRequiredPlayerKey - a string, separated by commas - if set, to display the element should not be set all keys for a particular player in the list. In other words, the item will be unavailable if a player-specific key is specified. Examples of lists sold (purchased)

I want to buy dragon eggs for 500 coins. I want to buy wild boar meat for 10 coins.

I want to be able to buy Daye Seed until I defeat the elder.

I want to be able to buy a top quality cultivator after defeating the Elder. prefab": "DragonEgg","stack": 1,."price": 500,.

requiredGlobalKey": «deferred_dragon»}, }

{'prefabricated': 'RawMeat',«stack": 1,10}, }

{"national team": "AncientSeed","stack": 1, "price"."price": 1000,.

notRequiredGlobalKey": «deferred_gdking»}, }

{'prefabricated': 'Cultivator',"stack": 1,."price": 500,.

«requiredGlobalKey": „deferred_gdking“,

Quality": 4, 'quality': 4, 'quality': 4}]

Sample list for sale (Sell).

I want to sell a fishing line for 200 coins.

I want to sell a wooden pile for 25 coins after the elder's murder.

I want to sell sea bass for 50 gold, but I want to sell 4 quality x5 sea bass for more.

[{"prefabricated": "fishing rod",{ "stack": 1,."price": 200}, }

{prefabricated: wood, stack: 50, }Price 25,

«requiredGlobalKey": «deferred_gdking»}, }

{«prefabricated": „fish1“,

«stack": 1,.

"price": 50}, }{prefab": "Fish1", "stack": 1, 'price': 50 }, {"stack": 5, "price".

"price": 500 }, { "prefab": "fish1", "stack": 5, "price": 500

Quality }]

Installation (manual) Copy the TradersExtended folder to the BepInExPlugins folder.

Create a new configuration file next to the dll and add items.

Compatibility.

This mod is compatible with mods that change the price of items and make them available for sale, as well as mods that expand the list of items that can be traded.

It is not compatible with mods that change the user interface of the vanilla store.

Compatible with mods that add merchants with unique names (until the vanilla store user interface is used).

The mod must be compatible with mods that add items to the store (until the patch is non-intrusive).

Similar Mods/Addons

Game Version *

all (TradersExtended.zip-2509-1-3-3-1721258331.zip)