Module:Township: Difference between revisions

m
Support strongholds in getTaskReferenceTable
(getTaskTable: Tables no longer collapsed by default, but can be collapsed by users)
m (Support strongholds in getTaskReferenceTable)
Line 989: Line 989:
-- We get the tasks associated with all monsters in the dungeon
-- We get the tasks associated with all monsters in the dungeon
local area = nil
local area = nil
local areaTypes = {'dungeons', 'abyssDepths'}
local areaTypes = {'dungeons', 'abyssDepths', 'strongholds'}
for _, areaType in ipairs(areaTypes) do
for _, areaType in ipairs(areaTypes) do
area = GameData.getEntityByName(areaType, referenceName)
area = GameData.getEntityByName(areaType, referenceName)