I’m pretty sure this is a bug, and it’s not just my stupidness, but I could be wrong.
Summary: When a mod adds an item, it shows up properly if it’s the item being crafted, but if it is an ingredient it does not.
Steps to Reproduce:
- Install a mod which uses an item from a mod.
- Play game
- Open up a crafting workshop menu and look at a recipe which requires an item from a mod to produce.
Expected Results:
Modded in items have an icon when used as an ingredient.
Actual Results:
Modded in items do not have an icon when used as an ingredient.
Notes:
It’s not just my mod(colors/wildflowers), but it is also happening to @OneLaughingLlama’s Garden/Forest mod. At least on my computer it is.
The recipes are craftable, but there is no icon.
It does not happen to stonehearth.smod icons.
Attachments:
Original Code:
{
"mixins": "stonehearth:mixins:item_properties",
"type": "entity",
"components": {
"item": {
"stacks": 10
},
"model_variants": {
"default": {
"models": [
"file(cloth_bolt.qb)"
]
}
},
"unit_info": {
"name": "Bolt of Cloth",
"description": "Soft and comforting.",
"icon" : "file(cloth_bolt.png)"
},
"stonehearth:material" : {
"tags" : "cloth resource cloth_asset"
},
"mob" : {
"model_origin" : { "x": -0.05, "y": 0, "z": 0.05 }
}
}
}
My Code:
{
"mixins": "stonehearth:mixins:item_properties",
"type": "entity",
"components": {
"item": {
"stacks": 10
},
"model_variants": {
"default": {
"models": [
"file(cloth_bolt_red.qb)"
]
}
},
"unit_info": {
"name": "Red Bolt of Cloth",
"description": "Soft and comforting.",
"icon" : "cloth_bolt_red.png"
},
"stonehearth:material" : {
"tags" : "cloth resource cloth_asset red"
},
"mob" : {
"model_origin" : { "x": -0.05, "y": 0, "z": 0.05 }
}
}
}
Identical, except for the added red.
I have tried other file path formats and none of them worked.
There were no errors in the .log file
Top Secret Upload of my Mod here
Version and Mods:
Stonehearth a6 0.1.0 r166
Colors Mod by Me (testing unreleased version)
Wildflowers Mod by Me
Garden Mod by OneLaughingLlama
Forest Mod by OneLaughingLlama
System Info:
OS: Windows 8.1 x64
CPU: Intel Core i7-4700HQ 2.40GHz
Memory: 12GB
GPU: GTX860M