Doing a little customizing to tweak the game more towards my preferences and one of the first steps I want to do is cause flint to be mined from rocks and use the flint to make arrow heads, which then are used to make arrows.
I've got all the coding in, but the flint has a white box with a "?" in it for the icon, but the arrow head icon shows up just fine. I'm probably missing something simple, but I've stared at it long enough that I decided to reach out for help.
Here is the main append in the items.xml to add both items. I copy/pasted Oil Shales item and changed the material to Mstone for both. Once in game, the Arrow Head icon shows fine, but the Flint doesnt. I saw in another mod they were using the CustomIcon tag, so I tried that as well and still no dice.
I've got both icons in the \UIAtlases\ItemIconAtlas path. First one is named resourceArrowhead_icon.png and the second one is named resourceFlint_icon.png
Can anyone spot what is causing the flint not to load? I've watched the console while loading and it doesnt give any errors. Both files are 360x360. Arrow Head is 90 kbs and Flint is 20 kbs.
If there is more info you need that I am missing just let me know, I am going to continue staring at it.
<append xpath="/items">
<item name="resourceFlint">
<property name="HoldType" value="45"/>
<property name="CustomIcon" value="resourceFlint_icon"/>
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="Mstone"/>
<property name="Stacknumber" value="6000"/>
<property name="EconomicValue" value="10"/>
<property name="EconomicBundleSize" value="10"/>
<property name="Group" value="Resources"/>
</item>
<item name="resourceArrowhead">
<property name="HoldType" value="45"/>
<property name="CustomIcon" value="resourceArrowhead_icon"/>
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="Mstone"/>
<property name="Stacknumber" value="6000"/>
<property name="EconomicValue" value="10"/>
<property name="EconomicBundleSize" value="10"/>
<property name="Group" value="Resources"/>
</item>
</append>