A displayname attribute for stuff like items.xml, entities2.xml, etc. that would be used when displaying the name of an object. If not present, this would just default to/the game would display the name attribute.
This would then make name be used solely as an identifier. Could be useful to avoid conflicts with modded items that have the same name, or make items that use several sprites/forms be a tad bit easier to make (currently, whitespace or zero-width space characters are used to achieve this).
Since we added (currently disabled) content support for translation strings for upcoming update, you can just add string key and use it with GetItemIdByName
A
displayname
attribute for stuff like items.xml, entities2.xml, etc. that would be used when displaying the name of an object. If not present, this would just default to/the game would display thename
attribute.This would then make
name
be used solely as an identifier. Could be useful to avoid conflicts with modded items that have the same name, or make items that use several sprites/forms be a tad bit easier to make (currently, whitespace or zero-width space characters are used to achieve this).