add a special
His Dad [02-01-17 - 19:12]
diff --git a/HistOffline.lua b/HistOffline.lua
index d807e12..1e3257c 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -548,7 +548,7 @@ end
-- set text if achievement found and change background
for id, Gdat in pairs (Craglorn_Dat[i].id) do
- local colour,key
+ local bgcolour
if thischar.ach[id] ~= nil then
bgcolour = "BGCOLOR" .. Gdat.L .. ":" .. Gdat.C
me.Craglorn[i].box:setcell(Gdat.L,Gdat.C, L.YesLabel)
@@ -928,16 +928,6 @@ end
me.DLC_box:setcell(0,1, DLC_names[1].long) -- Orsinium
me.DLC_box:setcell(0,2, DLC_names[3].long) -- IC
---[[ -- Doesn really work with multiple DLC's
- --set lines
- me.DLC_box:setcell(0,0, "")
- me.DLC_box:setcell(1,0, L.PubDungeon)
- me.DLC_box:setcell(2,0, L.GrpDungeon)
- me.DLC_box:setcell(3,0, L.Trial) -- Veteran.
- me.DLC_box:setcell(4,0, L.Trial)
---]]
-
-
-- set all text to red
iup.SetAttribute(me.DLC_box, "FGCOLOR*:1", FG_Colour_Not_Complete)
diff --git a/data/special.lua b/data/special.lua
index 2d4b9bb..6fd257b 100644
--- a/data/special.lua
+++ b/data/special.lua
@@ -6,4 +6,5 @@ Special_dat = {
[1069] = "AD Conqueror",
[1070] = "DC Conqueror",
[1139] = "Craglorn Trials Conqueror",
+[1248] = "Hero of Wrothgar",
}