From a24d70e4710db2dabde816a7fa956cdcdb043547 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 28 Jun 2015 15:29:12 +0400 Subject: [PATCH] I've got my lvl 2 shipyard. so time to get new IDs. I suppose lvl 3 is 207. --- ElvUI_SLE/modules/garrison.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ElvUI_SLE/modules/garrison.lua b/ElvUI_SLE/modules/garrison.lua index ca25bf5..1ec055a 100644 --- a/ElvUI_SLE/modules/garrison.lua +++ b/ElvUI_SLE/modules/garrison.lua @@ -3,13 +3,15 @@ local S = E:GetModule("Skins") local G = E:GetModule("SLE_Garrison") local buildID = { - [8] = "War", - [9] = "War", - [10] = "War", - [111] = "Trade", - [144] = "Trade", - [145] = "Trade", + [8] = "War", + [9] = "War", + [10] = "War", + [111] = "Trade", + [144] = "Trade", + [145] = "Trade", [205] = "Ship", + [206] = "Ship", + [207] = "Ship", } function G:SHIPMENT_CRAFTER_INFO(event, success, _, maxShipments, plotID) @@ -19,6 +21,7 @@ function G:SHIPMENT_CRAFTER_INFO(event, success, _, maxShipments, plotID) G.clicked = true local ID = C_Garrison.GetOwnedBuildingInfo(plotID) local nope = buildID[ID] + print(ID, nope) if nope then if E.db.sle.garrison['auto'..nope] then GarrisonCapacitiveDisplayFrame.CreateAllWorkOrdersButton:Click() -- 1.7.9.5