Village merchant: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "{{qud look|title=&Wvillage merchant|text=Come. Browse my wares, friend.|bottomtext=none}} thumb|700px|A [[horned chameleon village merchant]] A '...")
 
m (update zone tier links)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{qud look|title=&Wvillage merchant|text=Come. Browse my wares, friend.|bottomtext=none}}
__NOTOC__
[[File:Village_merchant.png|thumb|700px|A [[horned chameleon]] village merchant]]
{{Character
A '''{{name}}''' is a somewhat rare trader that can appear in procedurally-generated villages.
| title = {{Qud text|village merchant}}
| image = village merchant.png
| desc = Come. Browse my wares, friend.
| categories = Creatures
}}
[[File:Village_merchant_example.png|thumb|400px|A [[horned chameleon]] village merchant]]
A '''{{name}}''' is a somewhat rare trader that can appear in procedurally-generated [[village]]s.


== Overview ==
== Overview ==
Broadly speaking, villages have the following merchant-related generation features:
Broadly speaking, villages have the following merchant-related generation features:
* The player's starting village has a 100% chance to include a {{favilink|dromad trader}}. It will never include a '''village merchant'''
* The player's starting village has a 100% chance to include a {{favilink|dromad trader}}. It will never include a '''village merchant'''{{Code Reference|namespace=XRL.World.ZoneBuilders|class=Village|method=BuildZone}}{{Code Reference|name=GenerateMerchant|namespace=XRL.World.ZoneBuilders|class=Village|method=generateMerchant}}
* All other procedurally-generated villages have a 30% chance to include a trader of any kind. If a village does generate with a trader:
* All other procedurally-generated villages have a 30% chance to include a trader of any kind. If a village does generate with a trader:<ref name="GenerateMerchant" />
** There is an 80% chance for that trader to be a '''dromad trader'''.
** There is an 80% chance for that trader to be a '''dromad trader'''.
** There is a 20% chance for that trader to be a '''village merchant''' generated from a random member of the village. This is the type of merchant described on this wiki page.
** There is a 20% chance for that trader to be a '''village merchant''' generated from a random member of the village. This is the type of merchant described on this wiki page.


== Visual Features ==
== Qualities ==
'''Village merchants''' will always have a yellow primary color. This is the same primary color used by named village members that do not have another village role.
* '''Village merchants''' will always have a yellow primary color. This is the same primary color used by named village members that do not have another village role.{{Code Reference|name=GenerateMerchant|namespace=XRL.World.ZoneBuilders|class=Village|method=generateMerchant}}<ref name="ObjectBlueprints"><code>ObjectBlueprints.xml</code></ref>
* '''Village merchants''' will also have a +3 bonus to their [[Ego]] stat.<ref name="ObjectBlueprints" />


== Stock ==
== Stock ==
'''Village merchants''' are unique for the potentially large amount of stock that they carry. Their total amount of stock can be up to three times the amount of stock carried by a {{favilink|dromad trader|plural}}.
'''Village merchants''' are unique for the potentially large amount of stock that they carry. Their total amount of stock can be up to three times the amount of stock carried by a {{favilink|dromad trader|plural}}.


The merchant's inventory will be composed of all of the following:
The merchant's inventory will be composed of all of the following:<ref name="GenerateMerchant" />
* A full set of items from [[Data:Tier-based_merchant_wares|Tier{X}Wares]], where X equals the village's [[World Map#World_Tier|world map tier]].
* A full set of items from [[Data:Tier-based_merchant_wares|Tier{X}Wares]], where X equals the village's [[zone tier|regional zone tier]].
* If the village is in a world map tier of 2 or higher, the merchant will also have a full set of items from [[Data:Tier-based_merchant_wares|Tier{X-1}Wares]].
* If the village is in a world map tier of 2 or higher, the merchant will also have a full set of items from [[Data:Tier-based_merchant_wares|Tier{X-1}Wares]].
* If the village is in a world map tier of 3 or higher, the merchant will also have a full set of items from [[Data:Tier-based_merchant_wares|Tier{X-2}Wares]].
* If the village is in a world map tier of 3 or higher, the merchant will also have a full set of items from [[Data:Tier-based_merchant_wares|Tier{X-2}Wares]].


For example, a merchant in a {{favilink|deathlands}} village will have a full set of combined wares from [[Data:Tier-based_merchant_wares#Tier5Wares|Tier5Wares]], [[Data:Tier-based_merchant_wares#Tier4Wares|Tier4Wares]], and [[Data:Tier-based_merchant_wares#Tier3Wares|Tier3Wares]].
For example, a merchant in a {{favilink|deathlands}} village will have a full set of combined wares from [[Data:Tier-based_merchant_wares#Tier5Wares|Tier5Wares]], [[Data:Tier-based_merchant_wares#Tier4Wares|Tier4Wares]], and [[Data:Tier-based_merchant_wares#Tier3Wares|Tier3Wares]].
{{references|2.0.201.52}}
{{Village NPC Navbox}}

Latest revision as of 17:18, 27 December 2020

village merchant
Village merchant.png
village merchant

Come. Browse my wares, friend.

Perfect
A horned chameleon village merchant

A village merchant is a somewhat rare trader that can appear in procedurally-generated villages.

Overview

Broadly speaking, villages have the following merchant-related generation features:

  • The player's starting village has a 100% chance to include a dromad trader. It will never include a village merchant[1][2]
  • All other procedurally-generated villages have a 30% chance to include a trader of any kind. If a village does generate with a trader:[2]
    • There is an 80% chance for that trader to be a dromad trader.
    • There is a 20% chance for that trader to be a village merchant generated from a random member of the village. This is the type of merchant described on this wiki page.

Qualities

  • Village merchants will always have a yellow primary color. This is the same primary color used by named village members that do not have another village role.[2][3]
  • Village merchants will also have a +3 bonus to their Ego stat.[3]

Stock

Village merchants are unique for the potentially large amount of stock that they carry. Their total amount of stock can be up to three times the amount of stock carried by a dromad traders.

The merchant's inventory will be composed of all of the following:[2]

  • A full set of items from Tier{X}Wares, where X equals the village's regional zone tier.
  • If the village is in a world map tier of 2 or higher, the merchant will also have a full set of items from Tier{X-1}Wares.
  • If the village is in a world map tier of 3 or higher, the merchant will also have a full set of items from Tier{X-2}Wares.

For example, a merchant in a deathlands(favilink error!) village will have a full set of combined wares from Tier5Wares, Tier4Wares, and Tier3Wares.

References

This information is reliable as of patch 2.0.201.52.
  1. XRL.World.ZoneBuilders.Village, method BuildZone
  2. 2.0 2.1 2.2 2.3 XRL.World.ZoneBuilders.Village, method generateMerchant
  3. 3.0 3.1 ObjectBlueprints.xml