Titan Panel [Currencies] Multi

Titan Panel [Currencies] Multi

2M Downloads

S2 new crests

Odysseas68 opened this issue ยท 5 comments

commented

I have create a new file c.WarWithin\TitanTWWSeason2.lua and add the new Crests from S2 until they been added.

--[[
Description: This plugin is part of the "Titan Panel [Currencies] Multi" addon.
It shows the seasonal currencies from The War Within Season 2.
Site: https://www.curseforge.com/wow/addons/titan-panel-currencies-multi
Author: Canettieri
Special Thanks to Protuhj.
--]]

local _, L = ...;

-- Weathered Undermine Crests
L:CreateSimpleCurrencyPlugin({
	currencyId = 3107,
	titanId = "TITAN_WEATHUNDECREST",
	noCurrencyText = L["TWWSeason2"],
	expName = L["mWarWithinS2"],
	category = "CATEGORY_TWW",
	forceMax = true
})

-- Carved Undermine Crests
L:CreateSimpleCurrencyPlugin({
	currencyId = 3108,
	titanId = "TITAN_CARVEDUNDECREST",
	noCurrencyText = L["TWWSeason2"],
	expName = L["mWarWithinS2"],
	category = "CATEGORY_TWW",
	forceMax = true
})

-- Runed Undermine Crests
L:CreateSimpleCurrencyPlugin({
	currencyId = 3109,
	titanId = "TITAN_RUNEDUNDECREST",
	noCurrencyText = L["TWWSeason2"],
	expName = L["mWarWithinS2"],
	category = "CATEGORY_TWW",
	forceMax = true
})

-- Gilded Undermine Crests
L:CreateSimpleCurrencyPlugin({
	currencyId = 3110,
	titanId = "TITAN_GILDUNDECREST",
	noCurrencyText = L["TWWSeason2"],
	expName = L["mWarWithinS2"],
	category = "CATEGORY_TWW",
	forceMax = true
})

Also i edit Core\languages\enUS-default.lua and add after line 191 the following:

L["mWarWithinS2"] = "[|cFF198ae0TWW S2|r]"

Thanks for the addon.
Friendly Nick

commented

And add
c.WarWithin\TitanTWWSeason2.lua

to TitanCurrenciesMulti.toc, just after line 136

commented

Thanks for the kick! I've put a PR up: #74.

Seeing as the crests are going to be a thing going forward, I decided to go with a more utilitarian name for the currencies (i.e. TITAN_TWWS2R1CREST, TITAN_TWWS2R2CREST, etc..)

commented

Thank yo uso much, @Odysseas68 and @finrodbr! I have added it now to the project. ๐Ÿค

Awww, @Protuhj. You did it too? ๐Ÿ˜…

commented

Grab my fixes for the SimpleCurrencyPlugin.lua, and add the weekly increase field -- it should be 90, as it has been in previous seasons.

Just saw you did, we should be good to go for the new season..

Good job team, haha!

commented

Done, @Protuhj. Thank you so much!
This is an example of a good kind of conflict. ๐Ÿ˜‚

Thanks for everyone in this issue.