Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-23-22, 11:31 AM   #1
Cowky
A Defias Bandit
Join Date: Oct 2022
Posts: 2
Lua Constant - Currency?

Hey,

i've started with my very first self made addon. I wanted to start with some very basic.
Just to adjust some "constants" for the trade chat window. So that i have some very short text strings for a tiny loot log.

So far its working very well. Just for the Currency stuff i cant find the constant name to adjust. Can you help me?

It would be nice if you can tell me where/how to find stuff like that. And maybe a good beginner friendly guide for .lua programming?

Here's some code as example what i mean:
Code:
LOOT_ITEM = "%s |cffffff00+|r %s"
LOOT_ITEM_MULTIPLE = "%s |cffffff00+|r %sx%d"
LOOT_ITEM_SELF = "|cffffff00+|r %s"
LOOT_ITEM_SELF_MULTIPLE = "|cffffff00+|r %sx%d"

FACTION_STANDING_DECREASED = "%s -%d"
FACTION_STANDING_INCREASED = "%s +%d"
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Lua Constant - Currency?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off