With new TFS 1.4 I can't seem to be able to add '%' into any text, I'm recieving error.
Code snippet:
When removing the %, it the name shows, but not the % ofcourse.
Code snippet:
Lua:
item:setAttribute(ITEM_ATTRIBUTE_NAME, "1000%")
Lua Script Error: [Event Interface]
data/events/scripts/player.lualayer@onLook
data/lib/core/item.lua:45: bad argument #2 to 'format' (no value)
stack traceback:
[C]: at 0x7ff786756630
[C]: in function 'format'
data/lib/core/item.lua:45: in function 'append'
data/lib/core/item.lua:263: in function 'getDescription'
...14\data\scripts\eventcallbacks\player\default_onLook.lua:4: in function <...14\data\scripts\eventcallbacks\player\default_onLook.lua:3>
C:\GameFatev2 -vc14\data\scripts/lib\event_callbacks.lua:127: in function 'EventCallback'
data/events/scripts/player.lua:11: in function <data/events/scripts/player.lua:8>