• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Craft list problem

LHc_Biu

New member
我遇到了一个新问题,我的工艺列表中的材料名称错误。有人可以帮我一把或建议吗?🙁

20220302185211_1.png

 
Last edited by a moderator:
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?

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

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

 
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

 
Last edited by a moderator:
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.png

 
Back
Top