Perhaps, maybe these new translations will result in a cure for plane 26.
Cette révision appartient à :
Parent
2b588b879b
révision
d9784c271e
|
@ -286,12 +286,14 @@ function GetAchievementMetaObjective(achievement)
|
|||
if data.chunk then
|
||||
ttx.solid = horribledupe(data.chunk.solid)
|
||||
if data.chunk.loc then for _, v in ipairs(data.chunk.loc) do
|
||||
if v.p == 26 then v.p = 48 end
|
||||
table.insert(ttx, {loc = {x = v.x, y = v.y, c = QuestHelper_ParentLookup[v.p], p = v.p}})
|
||||
end end
|
||||
end
|
||||
|
||||
if data.loc then
|
||||
ttx.solid = data.solid
|
||||
if data.loc.p == 26 then data.loc.p = 48 end
|
||||
table.insert(ttx, {loc = {x = data.loc.x, y = data.loc.y, c = QuestHelper_ParentLookup[data.loc.p], p = data.loc.p}})
|
||||
end
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ local function generate_objective(dbi)
|
|||
for _, v in ipairs(dbi.loc) do
|
||||
QuestHelper: Assert(QuestHelper_ParentLookup)
|
||||
QuestHelper: Assert(QuestHelper_ParentLookup[v.p], v.p)
|
||||
if v.p == 26 then v.p = 48 end
|
||||
table.insert(clooster, {loc = {x = v.x, y = v.y, c = QuestHelper_ParentLookup[v.p], p = v.p}, cluster = clooster, tracker_hidden = true, why = why, map_desc = {QuestHelper:HighlightText(dbi.name)}, tracker_desc = dbi.name, map_suppress_ignore = true, map_custom_menu = function (menu) QuestHelper:CreateMenuItem(menu, QHText("FIND_REMOVE")):SetFunction(function () QH_Route_ClusterRemove(clooster) end) end})
|
||||
end
|
||||
|
||||
|
@ -262,6 +263,7 @@ function QH_FindName(name)
|
|||
--[[ assert(dbi) ]]
|
||||
|
||||
if dbi.loc then
|
||||
if dbi.loc.p == 26 then dbi.loc.p = 48 end
|
||||
table.insert(found_db, dbi)
|
||||
|
||||
if has_name[dbi.name] then needs_postfix[dbi.name] = true end
|
||||
|
|
|
@ -204,6 +204,7 @@ local function GetQuestMetaobjective(questid, lbcount, qindex)
|
|||
--print(v.rc, v.rz)
|
||||
--print(QuestHelper_IndexLookup[v.rc])
|
||||
--print(QuestHelper_IndexLookup[v.rc][v.rz])
|
||||
if v.p == 26 then v.p = 48 end
|
||||
table.insert(ttx, {desc = "Turn in quest", why = ite, loc = {x = v.x, y = v.y, c = QuestHelper_ParentLookup[v.p], p = v.p}, tracker_hidden = true, cluster = ttx, icon_id = 7, type_quest = ite.type_quest})
|
||||
end
|
||||
end
|
||||
|
|
Référencer dans un nouveau ticket