Subject4056
Refugee
I'm trying to add a new item to the game. I've got the item defined as:
<item name="resource_hand_tools">
<property name="HoldType" value="45"/>
<property name="DescriptionKey" value="resource_hand_toolsDesc"/>
<property name="CustomIcon" value="resourceHandTools"/>
<property name="Meshfile" value="#Other/Items?Misc/parcelPrefab.prefab"/>
<property name="DropMeshFile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="Mmetal"/>
<property name="StackNumber" value="1"/>
<property name="EconomicValue" value="0"/>
<property name="EconomicBundleSize" value="1"/>
<property name="SellableToTrader" value="False"/>
<property name="CustomIconTint" value="FFFFFF"/>
<property name="Group" value="Resources"/>
</item>
And my mod structured as:
The item works as I intend in terms of recipes, showing up in loot, etc., But the inventory icon is blank. I have tried not using CustomIcon/CustomIconTint and the effect is the same.
Does anyone have any tips on how to resolve this issue? Attached the icon file for inspection, it's a 160x160 PNG with transparent background which AFAICT is the same as all the vanilla icons.

<item name="resource_hand_tools">
<property name="HoldType" value="45"/>
<property name="DescriptionKey" value="resource_hand_toolsDesc"/>
<property name="CustomIcon" value="resourceHandTools"/>
<property name="Meshfile" value="#Other/Items?Misc/parcelPrefab.prefab"/>
<property name="DropMeshFile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="Mmetal"/>
<property name="StackNumber" value="1"/>
<property name="EconomicValue" value="0"/>
<property name="EconomicBundleSize" value="1"/>
<property name="SellableToTrader" value="False"/>
<property name="CustomIconTint" value="FFFFFF"/>
<property name="Group" value="Resources"/>
</item>
And my mod structured as:
Code:
Directory: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods\Eureka
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 1/28/2023 8:49 PM Config
d----- 2/9/2023 10:48 AM ItemIcons
d----- 2/4/2023 11:36 AM src
-a---- 1/11/2023 7:36 PM 287 ModInfo.xml
Directory: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods\Eureka\Config
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 1/13/2023 9:27 PM 15 blocks.xml
-a---- 1/13/2023 11:47 PM 676 buffs.xml
-a---- 2/5/2023 10:44 AM 3655 entityclasses.xml
-a---- 2/9/2023 10:52 AM 140006 items.xml
-a---- 2/9/2023 10:52 AM 7043 Localization.txt
-a---- 2/9/2023 10:52 AM 541 loot.xml
-a---- 2/9/2023 10:52 AM 3407 progression.xml
-a---- 2/9/2023 10:52 AM 8248 recipes.xml
Directory: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods\Eureka\ItemIcons
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2/5/2023 6:10 PM originals
-a---- 1/15/2023 10:16 AM 100 ATTRIBUTIONS.txt
-a---- 2/5/2023 6:12 PM 40085 masonry.png
-a---- 1/15/2023 10:14 AM 3243 metal_file.png
-a---- 2/9/2023 10:48 AM 41346 resourceHandTools.png
Directory: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods\Eureka\ItemIcons\originals
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2/5/2023 10:49 AM 954692 hand_tools_orig.jpg
-a---- 2/5/2023 11:10 AM 118583 hand_tools_orig.pdn
-a---- 2/5/2023 6:10 PM 1932545 masonry.pdn
-a---- 2/5/2023 6:08 PM 693972 masonry_trowel.jpeg
The item works as I intend in terms of recipes, showing up in loot, etc., But the inventory icon is blank. I have tried not using CustomIcon/CustomIconTint and the effect is the same.
Does anyone have any tips on how to resolve this issue? Attached the icon file for inspection, it's a 160x160 PNG with transparent background which AFAICT is the same as all the vanilla icons.
