Skip to content

Commit 374651b

Browse files
committed
Export catalyst currencies even when they are 0
1 parent 03680b9 commit 374651b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Simulationcraft.toc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## IconTexture: Interface\Addons\SimulationCraft\logo
44
## Notes: Constructs SimC export strings
55
## Author: Theck, navv_, seriallos
6-
## Version: 11.1.0-05
6+
## Version: 11.1.0-06
77
## OptionalDependencies: Ace3, LibRealmInfo, LibDBIcon, LibDataBroker-1.1
88
## SavedVariables: SimulationCraftDB
99

core.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ function Simulationcraft:GetCatalystCurrencies()
630630
local catalystCurrencies = {}
631631
for currencyId, currencyName in pairs(Simulationcraft.catalystCurrencies) do
632632
local currencyInfo = C_CurrencyInfo.GetCurrencyInfo(currencyId)
633-
if currencyInfo and currencyInfo.quantity > 0 then
633+
if currencyInfo then
634634
catalystCurrencies[#catalystCurrencies + 1] = table.concat({ currencyId, currencyInfo.quantity }, ':')
635635
end
636636
end

extras.lua

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ Simulationcraft.upgradeAchievements = {
313313
-- Catalyst currency
314314

315315
Simulationcraft.catalystCurrencies = {
316+
[2813] = 'Harmonized Silk', -- 11.0
316317
[3116] = 'Essence of Kaja\'mite', -- 11.1
317318
}
318319

0 commit comments

Comments
 (0)