This object is in archive! 

[Scripting] Allow usage of MyTexts (or at least a subset)

posthy shared this feedback 3 months ago
Not Enough Votes

Recently I created a script showing inventory items, and found out that currently this class is prohibited, which leads to a series of problems:

To show the inventory item's name we has two options. Either show the subtypeid, which is not really meant to be shown to players. Or to create a custom 'dictionary' to translate the type/subtypeid to a more digestable name. Tedious, not future proof (many updates extended the list of inventory items) and doesn't provide any means for localization (except for uploading muliple versions of the same script).

Allowing to use the built-in and already localised item names would solve this, and would be a big help.

Replies (1)

photo
1

I've posted a bug report regarding this, but the answer was "not a bug, the MyTexts class is prohibited because it can cause potential complications for scripters". Could someone elaborate, explain what these complications were/could be?

Leave a Comment
 
Attach a file