Is there an easy way of getting item names of IMyInventoryItem? Preferably using the item's DisplayName_Item found in the MyTexts .xml file in SpaceEngineers\Content\Data\Localization?
IMyInventoryItem item.ToString() on the item gravel produces "Stone Ingot" at best after some string rearranging.
Currently, my only method is to create switches and find exceptions like so. I've just started with the Ores and Ingots cases and it already seems like this will be an ungraceful method. The...
Getting display names of IMyInventoryItem cleanly?
IMyInventoryItem item.ToString() on the item gravel produces "Stone Ingot" at best after some string rearranging.
Currently, my only method is to create switches and find exceptions like so. I've just started with the Ores and Ingots cases and it already seems like this will be an ungraceful method. The...
Getting display names of IMyInventoryItem cleanly?