vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 --[[
2 Decursive (v 1.9.7) add-on for World of Warcraft UI
3 Copyright (C) 2005 Archarodim ( http://www.2072productions.com/?to=decursive-continued.txt )
4 This is the continued work of the original Decursive (v1.9.4) by Quu
5 Decursive 1.9.4 is in public domain ( www.quutar.com )
6  
7 License:
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
12  
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17  
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 --]]
22  
23 -------------------------------------------------------------------------------
24 -- the constants for the mod (non localized)
25 -------------------------------------------------------------------------------
26 DCR_VERSION_STRING = "Decursive 1.9.7";
27 BINDING_HEADER_DECURSIVE = "Decursive";
28  
29 DCR_MACRO_COMMAND = "/decursive";
30 DCR_MACRO_SHOW = "/dcrshow";
31 DCR_MACRO_RESET = "/dcrreset";
32  
33 DCR_MACRO_PRADD = "/dcrpradd";
34 DCR_MACRO_PRCLEAR = "/dcrprclear";
35 DCR_MACRO_PRLIST = "/dcrprlist";
36 DCR_MACRO_PRSHOW = "/dcrprshow";
37  
38 DCR_MACRO_SKADD = "/dcrskadd";
39 DCR_MACRO_SKCLEAR = "/dcrskclear";
40 DCR_MACRO_SKLIST = "/dcrsklist";
41 DCR_MACRO_SKSHOW = "/dcrskshow";
42  
43  
44 -- DO NOT TRANSLATE, THOSE ARE ALWAYS ENGLISH
45 DCR_CLASS_DRUID = 'DRUID';
46 DCR_CLASS_HUNTER = 'HUNTER';
47 DCR_CLASS_MAGE = 'MAGE';
48 DCR_CLASS_PALADIN = 'PALADIN';
49 DCR_CLASS_PRIEST = 'PRIEST';
50 DCR_CLASS_ROGUE = 'ROGUE';
51 DCR_CLASS_SHAMAN = 'SHAMAN';
52 DCR_CLASS_WARLOCK = 'WARLOCK';
53 DCR_CLASS_WARRIOR = 'WARRIOR';
54  
55 -------------------------------------------------------------------------------
56 -- English localization (Default)
57 -------------------------------------------------------------------------------
58  
59 --start added in Rc4
60 DCR_ALLIANCE_NAME = 'Alliance';
61  
62 DCR_LOC_CLASS_DRUID = 'Druid';
63 DCR_LOC_CLASS_HUNTER = 'Hunter';
64 DCR_LOC_CLASS_MAGE = 'Mage';
65 DCR_LOC_CLASS_PALADIN = 'Paladin';
66 DCR_LOC_CLASS_PRIEST = 'Priest';
67 DCR_LOC_CLASS_ROGUE = 'Rogue';
68 DCR_LOC_CLASS_SHAMAN = 'Shaman';
69 DCR_LOC_CLASS_WARLOCK = 'Warlock';
70 DCR_LOC_CLASS_WARRIOR = 'Warrior';
71  
72 DCR_STR_OTHER = 'Other';
73 DCR_STR_ANCHOR = 'Anchor';
74 DCR_STR_OPTIONS = 'Options';
75 DCR_STR_CLOSE = 'Close';
76 DCR_STR_DCR_PRIO = 'Decursive Priority';
77 DCR_STR_DCR_SKIP = 'Decursive Skip';
78 DCR_STR_QUICK_POP = 'Quickly Populate';
79 DCR_STR_POP = 'Populate List';
80 DCR_STR_GROUP = 'Group ';
81  
82 DCR_STR_NOMANA = 'Not Enough Mana!';
83 DCR_STR_UNUSABLE = 'Impossible to decurse now!';
84 DCR_STR_NEED_CURE_ACTION_IN_BARS = 'Decursive was unable to find any curing spell in one of your action bars. Decursive needs this to check the mana...';
85  
86  
87 DCR_UP = 'UP';
88 DCR_DOWN = 'DOWN';
89  
90 DCR_PRIORITY_SHOW = 'P';
91 DCR_POPULATE = 'P';
92 DCR_SKIP_SHOW = 'S';
93 DCR_ANCHOR_SHOW = 'A';
94 DCR_OPTION_SHOW = 'O';
95 DCR_CLEAR_PRIO = 'C';
96 DCR_CLEAR_SKIP = 'C';
97  
98  
99 --end added in Rc4
100  
101 DCR_DISEASE = 'Disease';
102 DCR_MAGIC = 'Magic';
103 DCR_POISON = 'Poison';
104 DCR_CURSE = 'Curse';
105 DCR_CHARMED = 'Charm';
106  
107 DCR_PET_FELHUNTER = "Felhunter";
108 DCR_PET_DOOMGUARD = "Doomguard";
109 DCR_PET_FEL_CAST = "Devour Magic";
110 DCR_PET_DOOM_CAST = "Dispel Magic";
111  
112 DCR_SPELL_CURE_DISEASE = 'Cure Disease';
113 DCR_SPELL_ABOLISH_DISEASE = 'Abolish Disease';
114 DCR_SPELL_PURIFY = 'Purify';
115 DCR_SPELL_CLEANSE = 'Cleanse';
116 DCR_SPELL_DISPELL_MAGIC = 'Dispel Magic';
117 DCR_SPELL_CURE_POISON = 'Cure Poison';
118 DCR_SPELL_ABOLISH_POISON = 'Abolish Poison';
119 DCR_SPELL_REMOVE_LESSER_CURSE = 'Remove Lesser Curse';
120 DCR_SPELL_REMOVE_CURSE = 'Remove Curse';
121 DCR_SPELL_PURGE = 'Purge';
122 DCR_SPELL_NO_RANK = '';
123 DCR_SPELL_RANK_1 = 'Rank 1';
124 DCR_SPELL_RANK_2 = 'Rank 2';
125  
126 BINDING_NAME_DCRCLEAN = "Clean Group";
127 BINDING_NAME_DCRSHOW = "Show or hide the afflicted list";
128  
129 BINDING_NAME_DCRPRADD = "Add target to priority list";
130 BINDING_NAME_DCRPRCLEAR = "Clear the priority list";
131 BINDING_NAME_DCRPRLIST = "Print the priority list";
132 BINDING_NAME_DCRPRSHOW = "Show or hide the priority list";
133  
134 BINDING_NAME_DCRSKADD = "Add target to skip list";
135 BINDING_NAME_DCRSKCLEAR = "Clear the skip list";
136 BINDING_NAME_DCRSKLIST = "Print the skip list";
137 BINDING_NAME_DCRSKSHOW = "Show or hide the skip list";
138  
139 DCR_PRIORITY_LIST = "Decursive Priority List";
140 DCR_SKIP_LIST_STR = "Decursive Skip List";
141 DCR_SKIP_OPT_STR = "Decursive Options Menu";
142 DCR_POPULATE_LIST = "Quickly populate the Decursive list";
143 DCR_RREMOVE_ID = "Remove this player";
144 DCR_HIDE_MAIN = "Hide live list";
145 DCR_RESHOW_MSG = "To reshow the live list, type /dcrshow";
146 DCR_SHOW_MSG = "To show Decursive's frame, type /dcrshow";
147 DCR_IS_HERE_MSG = "Decursive is now initialized, remember to check the options";
148  
149 DCR_PRINT_CHATFRAME = "Print messages in default chat";
150 DCR_PRINT_CUSTOM = "Print messages in the window";
151 DCR_PRINT_ERRORS = "Print error messages";
152 DCR_AMOUNT_AFFLIC = "The amount of afflicted to show : ";
153 DCR_BLACK_LENGTH = "Seconds on the blacklist : ";
154 DCR_SCAN_LENGTH = "Seconds between live scans : ";
155 DCR_ABOLISH_CHECK = "Check for \"Abolish\" before curing";
156 DCR_BEST_SPELL = "Always use the highest spell rank.";
157 DCR_RANDOM_ORDER = "Cure in a random order";
158 DCR_CURE_PETS = "Scan and cure pets";
159 DCR_IGNORE_STEALTH = "Ignore Stealthed Units";
160 DCR_PLAY_SOUND = "Play a sound when there is someone to cure";
161 DCR_ANCHOR = "Decursive Text Anchor";
162 DCR_CHECK_RANGE = "Check for range";
163 DCR_DONOT_BL_PRIO = "Don't blacklist priority list names";
164  
165  
166 -- $s is spell name
167 -- $a is affliction name/type
168 -- $t is target name
169 DCR_DISPELL_ENEMY = "Casting '$s' on the enemy!";
170 DCR_NOT_CLEANED = "Nothing cleaned";
171 DCR_CLEAN_STRING = "Removing \"$a\" on $t";
172 DCR_SPELL_FOUND = "$s spell found!";
173 DCR_NO_SPELLS = "No curative spells found!";
174 DCR_NO_SPELLS_RDY = "No curative spells are ready to cast!";
175 DCR_OUT_OF_RANGE = "$t is out of range and should be cured of $a!";
176 DCR_IGNORE_STRING = "$a found on $t... ignoring";
177  
178 DCR_INVISIBLE_LIST = {
179 ["Prowl"] = true,
180 ["Stealth"] = true,
181 ["Shadowmeld"] = true,
182 }
183  
184 -- this causes the target to be ignored!!!!
185 DCR_IGNORELIST = {
186 ["Banish"] = true,
187 ["Phase Shift"] = true,
188 };
189  
190 -- ignore this effect
191 DCR_SKIP_LIST = {
192 ["Dreamless Sleep"] = true,
193 ["Greater Dreamless Sleep"] = true,
194 ["Mind Vision"] = true,
195 };
196  
197 -- ignore the effect bassed on the class
198 DCR_SKIP_BY_CLASS_LIST = {
199 [DCR_CLASS_WARRIOR] = {
200 ["Ancient Hysteria"] = true,
201 ["Ignite Mana"] = true,
202 ["Tainted Mind"] = true,
203 };
204 [DCR_CLASS_ROGUE] = {
205 ["Silence"] = true;
206 ["Ancient Hysteria"] = true,
207 ["Ignite Mana"] = true,
208 ["Tainted Mind"] = true,
209 };
210 [DCR_CLASS_HUNTER] = {
211 ["Magma Shackles"] = true,
212 };
213 [DCR_CLASS_MAGE] = {
214 ["Magma Shackles"] = true,
215 };
216 };
217