WoWInterface SVN Livestock-Cataclysm

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 10 to Rev 11
    Reverse comparison

Rev 10 → Rev 11

Livestock/Localizations/Localization-enUS.lua
80,6 → 80,7
L.LIVESTOCK_SPELL_RUBYHARE = "Ruby Hare"
L.LIVESTOCK_SPELL_RUNNINGWILD = "Running Wild"
L.LIVESTOCK_SPELL_SEALEGS = "Sea Legs"
L.LIVESTOCK_SPELL_CAMOUFLAGE = "Camouflage"
 
L.LIVESTOCK_TOOLTIP_VERY = "very"
L.LIVESTOCK_TOOLTIP_EXTREMELY = "extremely"
Livestock/Localizations/Localization-esES.lua
82,6 → 82,7
L.LIVESTOCK_SPELL_RUBYHARE = "Liebre rub\195\173"
L.LIVESTOCK_SPELL_RUNNINGWILD = "Galopada Salvaje"
L.LIVESTOCK_SPELL_SEALEGS = "Piernas de mar"
L.LIVESTOCK_SPELL_CAMOUFLAGE = "Camuflaje"
 
L.LIVESTOCK_TOOLTIP_VERY = "muy"
L.LIVESTOCK_TOOLTIP_EXTREMELY = "extremadamente"
Livestock/Localizations/Localization-frFR.lua
78,6 → 78,7
L.LIVESTOCK_SPELL_TWILIGHTSERPENT = "Serpent du cr\195\169puscule"
L.LIVESTOCK_SPELL_SAPPHIREOWL = "Chouette de saphir"
L.LIVESTOCK_SPELL_RUBYHARE = "Li\195\168vre de rubis"
L.LIVESTOCK_SPELL_CAMOUFLAGE = "Dissimulation"
 
L.LIVESTOCK_TOOLTIP_VERY = "tr\195\168s"
L.LIVESTOCK_TOOLTIP_EXTREMELY = "extr\195\170mement"
Livestock/Localizations/Localization-deDE.lua
75,6 → 75,7
L.LIVESTOCK_SPELL_TWILIGHTSERPENT = "Zwielichtschlange"
L.LIVESTOCK_SPELL_SAPPHIREOWL = "Saphireule"
L.LIVESTOCK_SPELL_RUBYHARE = "Rubinhase"
L.LIVESTOCK_SPELL_CAMOUFLAGE = "Camouflage"
 
L.LIVESTOCK_TOOLTIP_VERY = "sehr"
L.LIVESTOCK_TOOLTIP_EXTREMELY = "extrem"
104,4 → 105,4
L.LIVESTOCK_EQUIPMENT_DONCARLOS = "Don Carlos' ber\195\188hmter Hut"
L.LIVESTOCK_EQUIPMENT_BLOODSAIL = "Blutsegeladmiralshut"
 
end
\ No newline at end of file +end
Livestock/Preferences/Mounts.lua
27,7 → 27,7
LivestockSettings.mountinstealth = 1 - LivestockSettings.mountinstealth
LivestockComboButton:SetAttribute("mountinstealth", LivestockSettings.mountinstealth)
LivestockComboButton:SetAttribute("state-smartmap",LivestockComboButton:GetAttribute("state-smartmap")) end)
if class ~= "MAGE" and class ~= "ROGUE" and class ~= "DRUID" and race ~= "NightElf" then sb3:Disable() end
if class ~= "MAGE" and class ~= "ROGUE" and class ~= "DRUID" and class ~= "HUNTER" and race ~= "NightElf" then sb3:Disable() end
 
local sb4 = Recompense.CreateButtonAndText("LivestockSmartPreferencesFrameToggleCombatForms", smartprefs, 5, -64, "LivestockSmartPreferencesFrameToggleCombatFormsText")
sb4:SetScript("OnClick", function()
87,4 → 87,4
sbb:SetWidth(145)
sbb:SetHeight(25)
sbb:SetPoint("BOTTOM", 0, 15)
sbb:SetScript("OnClick", function() Recompense.TransitionFromInterfaceOptionsToFrame(LivestockMenuFrame) end)
\ No newline at end of file +sbb:SetScript("OnClick", function() Recompense.TransitionFromInterfaceOptionsToFrame(LivestockMenuFrame) end)
Livestock/Livestock.lua
114,6 → 114,7
L.LIVESTOCK_SPELL_TWILIGHTSERPENT,
L.LIVESTOCK_SPELL_RUBYHARE,
L.LIVESTOCK_SPELL_SAPPHIREOWL,
L.LIVESTOCK_SPELL_CAMOUFLAGE,
}
 
local restrictSummonForThisEquipment = { -- equipment that, when worn, should prevent autosummoning from happening
128,6 → 129,7
L.LIVESTOCK_SPELL_VANISH,
L.LIVESTOCK_SPELL_CLOAKING,
L.LIVESTOCK_SPELL_SHADOWMELD,
L.LIVESTOCK_SPELL_CAMOUFLAGE,
}
 
-- Variable declaration
236,7 → 238,9
elseif event == "UNIT_SPELLCAST_SUCCEEDED" then
local unit, spell, rank = ...
if unit == "player" then
if spell == L.LIVESTOCK_SPELL_STEALTH or spell == L.LIVESTOCK_SPELL_PROWL or spell == L.LIVESTOCK_SPELL_FEIGNDEATH or spell == L.LIVESTOCK_SPELL_INVISIBILITY or spell == L.LIVESTOCK_SPELL_VANISH or spell == L.LIVESTOCK_SPELL_SHADOWMELD then
if spell == L.LIVESTOCK_SPELL_STEALTH or spell == L.LIVESTOCK_SPELL_PROWL or spell == L.LIVESTOCK_SPELL_FEIGNDEATH or
spell == L.LIVESTOCK_SPELL_INVISIBILITY or spell == L.LIVESTOCK_SPELL_VANISH or spell == L.LIVESTOCK_SPELL_SHADOWMELD or
spell == L.LIVESTOCK_SPELL_CAMOUFLAGE then
if LivestockSettings.dismissonstealth == 1 then
if LivestockSettings.PVPdismiss == 0 then
DismissCompanion("CRITTER")
591,10 → 595,8
 
local race = select(2, UnitRace("player"))
 
if class ~= "DRUID" and class ~= "ROGUE" and class ~= "MAGE" and race ~= "NightElf" then
if class ~= "HUNTER" then
LivestockPetPreferencesFrameAutoDismissOnStealthText:SetTextColor(0.4, 0.4, 0.4)
end
if class ~= "DRUID" and class ~= "ROGUE" and class ~= "MAGE" and class ~= "HUNTER" and race ~= "NightElf" then
LivestockPetPreferencesFrameAutoDismissOnStealthText:SetTextColor(0.4, 0.4, 0.4)
LivestockSmartPreferencesFrameMountInStealthText:SetTextColor(0.4, 0.4, 0.4)
end
 
Livestock/Change Log.txt
1,3 → 1,7
Version 1.5.2
 
- Add support for camouflage
 
Version 1.5.1
 
- Added exceptions for swimming turtle mounts
Livestock/Livestock.toc
3,7 → 3,7
## Notes: Enables easy random summoning of vanity pets and mounts, including the option of "smart mounting."
## Author: Recompense - Uldum(US)
## X-eMail: scott.snowman@gmail.com
## Version: 1.5.1
## Version: 1.5.2
## SavedVariablesPerCharacter: LivestockSettings
 
LibRecompense\RecompenseTools.lua