[V3.0] What's Changed in traders.xml — The Full Rollout of Quality 6

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, including baseTier0/1/2/3, bowsTier0/1/2/3, baseMelee, and more.
  • modsTier1/2/3 expanded to cover all qualities (0–6). The starting thresholds for Tier2/3 have also been relaxed (modsTier2: 25→20, modsTier3: 55→40).
  • New qualityItems template added (quality 1–6).

trader_item_group (expanded quality range)

  • For item entries in groupMeleeAll/groupRangedAll/groupArmorLight/Medium/Heavy/rareTools/tools and others, quality="1,5"quality="1,6".
  • groupModsAll: added unique_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/toolBellows promoted from a prob="0.2" slot to guaranteed stock via count="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_info nodes, be careful not to drop the new is_vending on id=4/10.
  • Any xpath that searches for or replaces quality="1,5" via string matching needs to be updated to expect 1,6.
  • Appending your own items to trader_item_group is 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

コメントする

お名前(ニックネーム)だけで投稿できます。ログイン・メール登録は不要です。お気軽にどうぞ。

※ AIの回答は管理者の確認後に表示されます。内容は不正確な場合があります。