[V3.0] Changes to recipes.xml — Making Forge Smelting a Sandbox Option

The central theme of recipes.xml is the “Forge Smelting Sandbox Option” (a diff of roughly 1,300 lines).

1. Splitting Forge Smelting into Two Systems (the biggest change)

  • Added tags="use_smelter" to forge smelting recipes (resourceClayLump/resourceScrapIron, etc.) — 34 locations.
  • Created paired replace_smelter versions of the recipes (marked with FORGE_SANDBOX_OPTION_VERSION, 28 locations each).
  • Whereas the use_smelter version uses melting units such as [unit_iron](https://7daystodie.jp/items/[unit_iron](https://7daystodie.jp/items/unit_iron/)/)/[unit_clay](https://7daystodie.jp/items/[unit_clay](https://7daystodie.jp/items/unit_clay/)/), the replace_smelter version consumes physical items directly, such as resourceScrapIron.
  • This is a mechanism that lets server settings choose between “melt materials into the forge and stockpile them” and “consume physical materials each time.”

2. Resource Bundle Recipes (new)

The *Bundle group, such as resourceWoodBundle/resourceScrapIronBundle. With tags="learnable,packMuleCrafting,sandboxIgnore" and craft_time="10", this is portable packing that consolidates resources into a single stack.

3. Adding craft_time to Ammo Recipes

craft_time was explicitly added to numerous ammo9mm/44Magnum/762mm/Shotgun/Arrow recipes (about 30 locations).

The recipe for the Combine Station is not found in recipes.xml and is presumed to be on the block side.

Impact on MODs

  • If you are modifying forge smelting recipes, in V3.0 there are two recipes with the same name: the use_smelter version and the replace_smelter version. A naive xpath like recipe[@name='resourceScrapIron'] will hit both/one of them and cause inconsistent behavior, so you need to narrow the target with a tags condition.
  • If you set/replace the tags of forge recipes, you will wipe out the new tags and break the sandbox option (use append instead).
  • The new *Bundle recipes and ammo craft_time are additions/adjustments, so the impact is minor as long as you aren’t overwriting same-name entries.

Reference: Example Diff

-<recipe name="resourceScrapIron" ... use_ingredient_modifier="false">
+<recipe name="resourceScrapIron" ... use_ingredient_modifier="false" tags="use_smelter">

+<!-- ### FORGE_SANDBOX_OPTION_VERSION -->
+<recipe name="..." craft_area="forge" tags="replace_smelter,perkAdvancedEngineering">
+   <ingredient name="resourceScrapIron" count="15"/>
+</recipe>

* Based on investigation immediately after applying the experimental version (equivalent to B252).

コメントする

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

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