MerchantPriceConfig.xml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <merchantPriceConfig defaultPriceConfig="18">
  2. <priceConfig id="0" name="Giran Town" baseTax="10" castleId="3" zoneId="11020" />
  3. <priceConfig id="1" name="DE Village" baseTax="15" castleId="4" zoneId="11021" />
  4. <priceConfig id="2" name="Talking Island" baseTax="15" castleId="1" zoneId="11022" />
  5. <priceConfig id="3" name="Elven Village" baseTax="15" castleId="4" zoneId="11023" />
  6. <priceConfig id="4" name="Orc Village" baseTax="15" castleId="8" zoneId="11024" />
  7. <priceConfig id="5" name="Gludin Village" baseTax="20" castleId="1" zoneId="11025" />
  8. <priceConfig id="6" name="Dwarven Village" baseTax="15" castleId="9" zoneId="11026" />
  9. <priceConfig id="7" name="Kamael Village" baseTax="15" castleId="5" zoneId="11038" />
  10. <priceConfig id="8" name="Gludio Town" baseTax="20" castleId="1" zoneId="11027" />
  11. <priceConfig id="9" name="Dion Town" baseTax="20" castleId="2" zoneId="11028" />
  12. <priceConfig id="10" name="Oren Town" baseTax="15" castleId="4" zoneId="11029" />
  13. <priceConfig id="11" name="Hunters Village" baseTax="30" castleId="5" zoneId="11030" />
  14. <priceConfig id="12" name="Aden Town" baseTax="20" castleId="5" zoneId="11031" />
  15. <priceConfig id="13" name="Goddard Town" baseTax="20" castleId="7" zoneId="11032" />
  16. <priceConfig id="14" name="Rune Town" baseTax="20" castleId="8" zoneId="11033" />
  17. <priceConfig id="15" name="Heine Town" baseTax="20" castleId="6" zoneId="11034" />
  18. <priceConfig id="16" name="Schuttgart Town" baseTax="20" castleId="9" zoneId="11035" />
  19. <priceConfig id="17" name="Floran Village" baseTax="50" castleId="2" zoneId="11036" />
  20. <priceConfig id="18" name="Neutral Territory" baseTax="50"/>
  21. <priceConfig id="19" name="Gludio Castle" baseTax="10" castleId="1" zoneId="11200"/>
  22. <priceConfig id="20" name="Dion Castle" baseTax="10" castleId="2" zoneId="11201"/>
  23. <priceConfig id="21" name="Giran Castle" baseTax="10" castleId="3" zoneId="11202"/>
  24. <priceConfig id="22" name="Oren Castle" baseTax="10" castleId="4" zoneId="11203"/>
  25. <priceConfig id="23" name="Aden Castle" baseTax="10" castleId="5" zoneId="11204"/>
  26. <priceConfig id="24" name="Innadril Castle" baseTax="10" castleId="6" zoneId="11205"/>
  27. <priceConfig id="25" name="Goddard Castle" baseTax="10" castleId="7" zoneId="11206"/>
  28. <priceConfig id="26" name="Rune Castle" baseTax="10" castleId="8" zoneId="11207"/>
  29. <priceConfig id="27" name="Schuttgart Castle" baseTax="10" castleId="9" zoneId="11208"/>
  30. </merchantPriceConfig>
  31. <!-- Documentation
  32. defaultPriceConfig -> ID of one of the price configs defined to be used when NPC has no price config.
  33. Can be ANY of the defined priceConfigs.
  34. Cannot be ommited, althrough you can emulate this by creating a dummy priceConfig.
  35. id -> Defines the ID for relational references.
  36. name -> Name of the area, for human-friendlyness and debugging, cannot be ommited.
  37. baseTax -> Used on merchant item price calculation (see formula in the end), cannot be ommited.
  38. castleId -> ID of the castle that controls merchants of this config, castle tax will apply to merchants price.
  39. Can be ommited. (causes it to assume that no castle controls this config)
  40. zoneId -> Attaches a given Town Zone to this priceConfig for convenience.
  41. Merchant NPCs that dont explicit define an priceConfig will check if they are inside of the zone of an
  42. priceConfig, if yes that priceConfig is used for that npc.
  43. Can be ommited, then no NPC will be added based on zone.
  44. (ie priceConfig direct assigned to NPCs through config or when used as the default priceConfig)
  45. # Merchant Price Formula
  46. price = baseItemPrice * (1 + baseTax/100 + castleTax/100)
  47. -->