The heart of traders.xml is the full rollout of quality 6 (526-line diff, no structural removals). The element names and id scheme of trader_info / trader_item_group are unchanged, so id-based xpath targeting is largely unaffected.
Main Changes
traderstage_template (adding the 6th quality tier)
- A single
<entry ... quality="6"/>line has been added to nearly every template, includingbaseTier0/1/2/3,bowsTier0/1/2/3,baseMelee, and more. modsTier1/2/3expanded to cover all qualities (0–6). The starting thresholds for Tier2/3 have also been relaxed (modsTier2: 25→20, modsTier3: 55→40).- New
qualityItemstemplate added (quality 1–6).
trader_item_group (expanded quality range)
- For
itementries ingroupMeleeAll/groupRangedAll/groupArmorLight/Medium/Heavy/rareTools/toolsand others,quality="1,5"→quality="1,6". groupModsAll: addedunique_only="true" count="2,4"to the child group reference.- New mods added to each mod group (
modMeleeFiremansAxeMod,modGunDrumMagazineExtender, and others).
trader_info / trader_items
tools:toolAnvil/toolBellowspromoted from aprob="0.2"slot to guaranteed stock viacount="1,3".- Vending machine traders (id=4 drinks / id=10 food) newly given
is_vending="true". - An XML declaration added at the top of the file.
Impact on MODs
- No impact if you set prices/stock as attributes on a per-id basis. However, if you replace entire
trader_infonodes, be careful not to drop the newis_vendingon id=4/10. - Any xpath that searches for or replaces
quality="1,5"via string matching needs to be updated to expect1,6. - Appending your own items to
trader_item_groupis unaffected, since the group names are intact.
Reference: Example Diff
- <item name="meleeWpnBladeT1HuntingKnife" quality="1,5"/>
+ <item name="meleeWpnBladeT1HuntingKnife" quality="1,6"/>
- <trader_info id="4" reset_interval="1" override_buy_markup="3" allow_sell="false" >
+ <trader_info id="4" reset_interval="1" override_buy_markup="3" allow_sell="false" is_vending="true" >
* Based on investigation immediately after applying the experimental build (equivalent to B252).
Related: List of MOD Creation Articles