View Issue Details

IDProjectCategoryView StatusLast Update
0000101Medieval EngineersBugpublic2023-02-28 16:23
Reportershad Assigned Toequinox  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.7.2Product Build8CBFD2 
Target Version0.7.4 (unreleased)Fixed in Version0.7.4 (unreleased) 
Summary0000101: Modding: Merge="Merge" does not work with crafting recipes
Description

Adding the attribute Merge="Merge" to crafting recipes, more specifically prerequisites, does not work.
When you do so, the crafting recipe won't load.
See example in STR.

Steps To Reproduce

Vanilla:

  <Definition xsi:type="MyObjectBuilder_CraftingRecipeDefinition">
    <Id Type="MyObjectBuilder_CraftingRecipeDefinition" Subtype="ProjectileSmall" />
    <Icon>Textures\GUI\Icons\Cubes\CatapultProjectileMedium.dds</Icon>
    <DisplayName>DisplayName_Block_Projectile</DisplayName>
    <Description>Description_Block_Projectile</Description>
    <Category>StoneMasonry</Category>
    <Prerequisites>
      <Item Type="InventoryItem" Subtype="StoneLarge" Amount="1" />
    </Prerequisites>
    <Results>
      <Item Amount="1" Type="Block" Subtype="ProjectileSmall" />
    </Results>
    <CraftingTime Seconds="1" />
  </Definition>

Mod:

  <Definition xsi:type="MyObjectBuilder_CraftingRecipeDefinition" Merge="Merge">
    <Id Type="MyObjectBuilder_CraftingRecipeDefinition" Subtype="ProjectileSmall" />
    <Prerequisites>
      <Item Tag="StoneLarge" Amount="1" />
    </Prerequisites>
  </Definition>
TagsMod API

Activities

shad

2021-04-06 08:23

reporter   #~0000046

Last edited: 2022-04-07 14:57

Vanilla:

  <Definition xsi:type="MyObjectBuilder_CraftingRecipeDefinition">
    <Id Type="MyObjectBuilder_CraftingRecipeDefinition" Subtype="ProjectileSmall" />
    <Icon>Textures\GUI\Icons\Cubes\CatapultProjectileMedium.dds</Icon>
    <DisplayName>DisplayName_Block_Projectile</DisplayName>
    <Description>Description_Block_Projectile</Description>
    <Category>StoneMasonry</Category>
    <Prerequisites>
      <Item Type="InventoryItem" Subtype="StoneLarge" Amount="1" />
    </Prerequisites>
    <Results>
      <Item Amount="1" Type="Block" Subtype="ProjectileSmall" />
    </Results>
    <CraftingTime Seconds="1" />
  </Definition>

Mod:

  <Definition xsi:type="MyObjectBuilder_CraftingRecipeDefinition" Merge="Merge">
    <Id Type="MyObjectBuilder_CraftingRecipeDefinition" Subtype="ProjectileSmall" />
    <Prerequisites>
      <Item Tag="StoneLarge" Amount="1" />
    </Prerequisites>
  </Definition>

equinox

2022-04-07 14:58

administrator   #~0000074

MyMergingList.MergeFrom is missing an implementation of merge mode merge.

Issue History

Date Modified Username Field Change
2021-04-06 08:22 shad New Issue
2021-04-06 08:22 shad Tag Attached: Mod API
2021-04-06 08:23 shad Note Added: 0000046
2022-01-29 21:35 equinox Steps to Reproduce Updated
2022-04-07 14:57 equinox Note Edited: 0000046
2022-04-07 14:58 equinox Note Added: 0000074
2022-04-07 15:03 equinox Target Version => 0.7.4 (unreleased)
2022-12-11 04:35 equinox Assigned To => equinox
2022-12-11 04:35 equinox Status new => assigned
2023-02-10 00:01 equinox Status assigned => in progress
2023-02-28 16:23 equinox Status in progress => resolved
2023-02-28 16:23 equinox Resolution open => fixed
2023-02-28 16:23 equinox Fixed in Version => 0.7.4 (unreleased)