• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Getting an item's description

Narzerus

Full-stack developer and old OT Developer
Joined
Oct 29, 2007
Messages
202
Reaction score
11
Well I do know how to get an item's SPECIAL description. But I need to know how to get an item's description. (The one you set on items.xml)

Like for example
Code:
<attribute key="description" value="It is made of dragon scales." />
THAT description, how do I get it by lua?

Thanks
 
Alright this didn't work
Code:
local desc = getItemAttribute(UID, 'description')

It always returns a nil value even if the item HAS a description.

Cmon people! The has to be a function to get an Item's description..
 
Back
Top