Index: localization.de.lua =================================================================== --- localization.de.lua (revision 30) +++ localization.de.lua (working copy) @@ -50,9 +50,12 @@ -- TBC -- RG_TBC_OPTION = "Burning Crusade" RG_TBC_TRANQ = "Tristessa" -- 922 +RG_TBC_NETHERWING = "Netherwing" -- 1015 needs trans +RG_TBC_SPORE = "Sporeggar" -- 970 needs trans -- WOTLK -- RG_WOTLK_OPTION = "Wrath of the Lich King" RG_WOTLK_KIRIN = "Kirin Tor" -- 1090 RG_WOTLK_WYRMREST = "Der Wyrmruhpakt" -- 1091 -RG_WOTLK_KNIGHTS = "Ritter der Schwarzen Klinge" -- 1098 \ No newline at end of file +RG_WOTLK_KNIGHTS = "Ritter der Schwarzen Klinge" -- 1098 + Index: Factions/PVP.lua =================================================================== --- Factions/PVP.lua (revision 30) +++ Factions/PVP.lua (working copy) @@ -13,7 +13,7 @@ type = "group", name = RG_PVP_OPTION, args = { - showGelkis = { + showFrostwolf = { name = RG_PVP_FROSTWOLF, type = "toggle", get = function() return db.showFrostwolf end, Index: Factions/TBC.lua =================================================================== --- Factions/TBC.lua (revision 30) +++ Factions/TBC.lua (working copy) @@ -4,7 +4,9 @@ local options local defaults = { profile = { - showTranquillien = true + showTranquillien = true, + showNetherwing = true, + showSpore = true } } @@ -21,6 +23,24 @@ db.showTranquillien = value parent:ReloadModules() end + }, + showNetherwing = { + name = RG_TBC_NETHERWING, + type = "toggle", + get = function() return db.showNetherwing end, + set = function(info, value) + db.showNetherwing = value + parent:ReloadModules() + end + }, + showSpore = { + name = RG_TBC_SPORE, + type = "toggle", + get = function() return db.showSpore end, + set = function(info, value) + db.showSpore = value + parent:ReloadModules() + end } } } @@ -30,6 +50,8 @@ RepGain2:RegisterOptions(RG_TBC_OPTION, options, RG_TBC_OPTION) end mod:addFaction(RG_TBC_TRANQ,db.showTranquillien) + mod:addFaction(RG_TBC_NETHERWING,db.showNetherwing) + mod:addFaction(RG_TBC_SPORE,db.showSpore) end function mod:addFaction(faction,doIt) @@ -38,5 +60,33 @@ RepGain2:AddItem(22642,faction,500,10,rep_neutral,rep_exalted) -- Spinal Dust RepGain2:AddItem(22641,faction,500,10,rep_neutral,rep_exalted) -- Rotting Heart end + if faction == RG_TBC_NETHERWING then -- Faction 1015 + RepGain2:AddItem(32506,faction,250,1,rep_neutral,rep_exalted) -- Netherwing Egg + RepGain2:AddItem(32427,faction,250,30,rep_neutral,rep_exalted) -- Netherwing Crystal + RepGain2:AddItem(32470,faction,250,35,rep_neutral,rep_exalted) -- Nethermine Flayer Hide + RepGain2:AddItem(32468,faction,250,40,rep_neutral,rep_exalted) -- Netherdust Pollen + RepGain2:AddItem(32464,faction,250,40,rep_neutral,rep_exalted) -- Nethercite Ore + -- these ones possibly pointless + RepGain2:AddItem(32502,faction,250,12,rep_neutral,rep_exalted) -- Fel Gland + RepGain2:AddItem(32509,faction,350,10,rep_neutral,rep_exalted) -- Netherwing Relic + RepGain2:AddItem(32723,faction,350,15,rep_friendly,rep_exalted) -- Nethermine Cargo + end + if faction == RG_TBC_SPORE then -- Faction 970 + RepGain2:AddItem(24291,faction,750,6,rep_unfriendly,rep_friendly) -- Bog Lord Tendril + RepGain2:AddItem(24290,faction,750,10,rep_unfriendly,rep_friendly) -- Mature Spore Sac + RepGain2:AddItem(24245,faction,750,10,rep_neutral,rep_friendly) -- Glowcap + RepGain2:AddItem(24449,faction,750,6,rep_neutral,rep_exalted) -- Fertile Spores + RepGain2:AddItem(24246,faction,750,5,rep_friendly,rep_exalted) -- Sanguine Hibiscus + RepGain2:AddNPC(18127,faction,rep_unfriendly,rep_revered,15) -- Bog Lord + RepGain2:AddNPC(19402,faction,rep_unfriendly,rep_revered,15) -- Withered Bog Lord + RepGain2:AddNPC(19519,faction,rep_unfriendly,rep_revered,15) -- Starving Bog Lord + RepGain2:AddNPC(17955,faction,rep_unfriendly,rep_revered,15) -- Hungry Bog Lord + RepGain2:AddNPC(19734,faction,rep_unfriendly,rep_revered,15) -- Fungal Giant + RepGain2:AddNPC(18124,faction,rep_unfriendly,rep_revered,15) -- Withered Giant + RepGain2:AddNPC(18125,faction,rep_unfriendly,rep_revered,15) -- Starving Fungal Giant + RepGain2:AddNPC(18137,faction,rep_unfriendly,rep_exalted,15) -- Marsh Dredger + RepGain2:AddNPC(18136,faction,rep_unfriendly,rep_exalted,15) -- Marsh Lurker + end end -end \ No newline at end of file +end + Index: localization.en.lua =================================================================== --- localization.en.lua (revision 30) +++ localization.en.lua (working copy) @@ -49,9 +49,12 @@ -- TBC -- RG_TBC_OPTION = "Burning Crusade" RG_TBC_TRANQ = "Tranquillien" +RG_TBC_NETHERWING = "Netherwing" -- 1015 +RG_TBC_SPORE = "Sporeggar" -- 970 -- WOTLK -- RG_WOTLK_OPTION = "Wrath of the Lich King" RG_WOTLK_KIRIN = "Kirin Tor" RG_WOTLK_WYRMREST = "The Wyrmrest Accord" -RG_WOTLK_KNIGHTS = "Knights of the Ebon Blade" \ No newline at end of file +RG_WOTLK_KNIGHTS = "Knights of the Ebon Blade" +