comparison core.lua @ 79:0235a1695b83

Tweak the manual entry hyperlink handling to use unique tags instead.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 12 Jun 2012 17:33:38 +0000
parents f8118aa5fbb8
children f01d8d1b8f82
comparison
equal deleted inserted replaced
78:f8118aa5fbb8 79:0235a1695b83
1941 or (t == RAID_FINDER and 2) -- no ITEM_ for this, apparently 1941 or (t == RAID_FINDER and 2) -- no ITEM_ for this, apparently
1942 or nil 1942 or nil
1943 end 1943 end
1944 end 1944 end
1945 1945
1946 -- Called when first loading up, and then also when a 'clear' is being 1946 -- Called at the end of OnInit, and then also when a 'clear' is being
1947 -- performed. If SV's are present then g_restore_p will be true. 1947 -- performed. If SV's are present then g_restore_p will be true.
1948 function _init (self, possible_st) 1948 function _init (self, possible_st)
1949 self.dprint('flow',"_init running") 1949 self.dprint('flow',"_init running")
1950 self.loot_clean = nil 1950 self.loot_clean = nil
1951 self.hist_clean = nil 1951 self.hist_clean = nil
1959 else 1959 else
1960 g_loot = { printed = {}, raiders = {} } 1960 g_loot = { printed = {}, raiders = {} }
1961 end 1961 end
1962 1962
1963 self.threshold = opts.threshold or self.threshold -- in the case of restoring but not tracking 1963 self.threshold = opts.threshold or self.threshold -- in the case of restoring but not tracking
1964 self:gui_init(g_loot) 1964 self:gui_init (g_loot, g_uniques)
1965 opts.autoshard = nil 1965 opts.autoshard = nil
1966 opts.threshold = nil 1966 opts.threshold = nil
1967 1967
1968 if g_restore_p then 1968 if g_restore_p then
1969 self:zero_printed_fenceposts() -- g_loot.printed.* = previous/safe values 1969 self:zero_printed_fenceposts() -- g_loot.printed.* = previous/safe values