Merchant

**Merchants** are Non-Playable-Characters (or NPCs) that come periodically to the player Sect with various objects to Trade. They are more than willing to barter, but their currency of choice are Spirit Stones.

## Behavior

### Visiting Player Sect

The merchant first comes on the 21st day of the game, then randomly between 10 and 40 days later, possibly doubled if the Immortal setting "Tricky Path" has been checked. In case no trade area has been built, the merchant still enters the map but can't be traded with until a trade area is built.

### Exchange

A Merchant may sometimes offer to exchange one of the rare items in stock (or some Spirit Stones) for another rare item that is owned by the Player Sect. This is indicated through an ambiguous message:

```
Traveling Merchant {0} has been tasked to exchange a {2} with {1}.

```

If accepted, the player loses item {2} and gains item {1}.

### Killing the Merchant

If the Merchant is killed while in the Player Sect map, the player will be banned from the Merchants' Guild, and merchants will no longer arrive at the Player Sect.

Killing the Merchant does **not** drop any of their trade inventory, and is therefore not beneficial to the Player Sect since the lack of merchants makes the acquisition of various rare resources much more difficult.

## Item Prices

Merchants tend to give better item prices for sold goods than Factions do, but also charge a higher price for items bought in return. They, however, do not require Connection for purchasing rare items.

### Preference

Individual merchants have preferences (displayed at the top of the trading screen), meaning they will be paying more for certain items and refusing to pay any for others. The Immortal Tribulation "Limited Deal" makes them no longer pay more for a certain category, and pay nothing for all except a single category of items.

### Materials

Many Materials are worth a single Spirit Stone, which is the lowest possible value (above 0), but some can be crafted into several others, effectively multiplying in value, while at the same time training the Outer Disciple's relevant Skill Level:

* 4 x Cotton (4 ) -> 20 x Cloth (20 ), trains Crafting
* 1 x Brownstone (1 ) -> 4 x Brownstone Block (4 ), trains Crafting
* 1x Soil EssenceDLC (1 ) -> 5x Soil Essence Powder (5 ), trains Medicine

### Gear Tiers

The value of Gear is

5
∗
(
T
i
e
r
1
)

{\displaystyle 5\*(Tier+1)}

, starting at 10 Spirit Stones for T1 and increasing in increments of 5/Tier.

E.g., Tier 9 items are worth 50 Spirit Stones and Tier 12 items are worth 65 Spirit Stones

## Auction

Merchants carry in stock an Auction Invitation item, worth 100 Spirit Stones in value. It allows the player to access the Auction, where bids can be placed for certain rare items.

## Mods

### Call The Merchant

Call The Merchant (Mod) allows the player to call merchants at their whim, as well as, e.g., set the time interval at which they arrive. [Steam Workshop LINK]

### MODModifier

MODModifier (Mod) can be used to summon Merchants.

### Console

Merchant arrival manipulation is also doable through the in-game console, though it flags the game's anti-cheat response.

*See also: Mods*

## References

1. ↑ `XiaoWorld.WalkTraderData.Step()`
2. ↑ `WalkTraderData.ResetComeInterval()`
3. ↑ `Settings/World/Immortal/Constraint/Constraint.xml [LessWalkTrader]`
4. ↑ Settings\Language\OfficialEnglish\codedictionary.txt
5. ↑ `XiaWorld.WalkTraderData.WalkTraderBeenKill`, Settings\World\Events\EventList.txt
6. ↑ `XiaWorld.TradePriceDef.GetItemPrice()`