Module:SkillUnlocks: Difference between revisions

Fix Abyssal depth & stronghold handling
(Lazy patch of Magic & attempt to remove entities with abyssal level requirements. Stopgap solution until alternative developed)
(Fix Abyssal depth & stronghold handling)
 
Line 65: Line 65:
['slayerArea'] = 15,
['slayerArea'] = 15,
['dungeon'] = 16,
['dungeon'] = 16,
['shop'] = 17,
['depth'] = 17,
['trader'] = 18,
['stronghold'] = 18,
['obstacle'] = 19
['shop'] = 19,
['trader'] = 20,
['obstacle'] = 21
}
}
local VERBS_PER_SUBTYPE = {
local VERBS_PER_SUBTYPE = {
Line 1,440: Line 1,442:
local iconImg = entity.entityName
local iconImg = entity.entityName
local noLink = ''
local noLink = ''
if entity.entityType == 'slayerArea' then
if Shared.contains({'slayerArea', 'depth', 'stronghold'}, entity.entityType) then
iconType = 'combatArea'
iconType = 'combatArea'
end
end