REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

"displayname" attribute

Open BabyblueSheep opened this issue 10 months ago • 1 comments

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).

BabyblueSheep avatar Feb 15 '25 17:02 BabyblueSheep

Since we added (currently disabled) content support for translation strings for upcoming update, you can just add string key and use it with GetItemIdByName

epfly6 avatar Feb 15 '25 17:02 epfly6