OverrideImageForItemAvaliable

Tracking Issue: #491

Tags: ui

Allows overriding the image shown for an item in the eAlert_ItemAvailable alert.

This alert is triggered when a tech completes and makes available a new item for building, but, if it happens to target a singular weapon (rather than the upgrade schematic), shows a weapon without attachments (as specified in the Template's strImage). This event gives mods a chance to fix it.

ID: OverrideImageForItemAvaliable,
Data: [inout string ImagePath, in X2ItemTemplate ItemTemplate],
Source: UIAlert

Source code references