Jump to content

Craft list problem


LHc_Biu

Recommended Posts

I'm running into a new problem, I have the wrong material name in my crafting list. Can someone give me a hand or advice?

 

It looks like you've broken the localization/lost the English localization, because those are the names for those items in the xml. Maybe take a look and check that your localization.txt file is still there?

Link to comment
Share on other sites

1 hour ago, Cranberry Monster said:

我遇到了一个新问题,我的制作列表中有错误的材料名称。有人可以给我帮助或建议吗?

 

看起来您已经破坏了本地化/丢失了英文本地化,因为这些是 xml 中这些项目的名称。也许看看并检查您的本地化.txt 文件是否仍然存在?

This error is from mod other lists are still fine

Link to comment
Share on other sites

unit_clay should be resourceClayLump

unit_iron should be resourceScrapIron

unit_lead should be resourceScrapLead

 

This is assuming that you didn't create new objects called unit_clay, unit_iron, and unit_lead.

 

Ignore all this, I got confused for a second.  Looking into the issue

Edited by BFT2020 (see edit history)
Link to comment
Share on other sites

Can you also post the code directly?  With the SS, I believe we might be missing some important information

 

Post it so it looks like this

 

<recipe name="resourceBulletCasing" count="1" material_based="true" craft_area="forge" tags="perkAdvancedEngineering">
    <ingredient name="unit_brass" count="5"/>
    <ingredient name="unit_clay" count="1"/>
    <effect_group>
        <passive_effect name="CraftingIngredientCount" operation="perc_add" level="0,1,2,3,4" value=".25,.25,.25,.12,.06" tags="unit_brass"/>
    </effect_group>
</recipe>

 

Copy and paste the code.  Then select the code and press the </> button at the top

 

image.thumb.png.a50f361605ad64c26bac97536eeac7e6.png

Link to comment
Share on other sites

1小时前,BFT2020 说道:

对于SS ,我相信我们可能会遗漏一些重要信息

 

发布它,看起来像这样

 

     
      
      
    
             
    

 

复制并粘贴代码。然后选择代码并按顶部的</>按钮

 

image.thumb.png.a50f361605ad64c26bac97536eeac7e6.png

I solved the problem. <"material_based="true"> should only appear in the forge recipe, not the workbench😂

Thank you for working with me to find the answer🤝

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...