StrangeLoopGames / EcoModKit

Eco Modkit
https://docs.play.eco
69 stars 25 forks source link

Unable to set header image for new professions #38

Closed jlai closed 2 years ago

jlai commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently, while it's possible to add a new profession, the header image doesn't seem to show up. For example, in this screenshot:

profession-wrongicon

if you click on the profession, the header image shows the image from the last profession tab that you clicked on, in this case the Chef profession. Per discussions on the Discord, this is supposed to be set via the "Extended Image" object on the Icon for the profession skill. However, it looks like if you try to set this via the modkit, Eco does not recognize the image.

Describe the solution you'd like

My theory is that this could be solved by adding the missing script used for the "Item Template" prefab which is not currently included in the modkit. As a plus, it would get rid of the error trying to use that prefab. (Side note: it would also be nice to have prefabs for common things like Skills and custom images and such)

Describe alternatives you've considered

Not sure how Eco handles the icons, but it seems to find the Foreground/Background/Tool images despite the missing script, so maybe the fix could be in the game instead of the modkit.

serpopov commented 2 years ago

added fix for 9.5 you will need to add ExtendedImage (117x199px) image