fix: being unable to visit Palladino in Iron Wake despite completeAllQuests #564
@ -70,15 +70,22 @@ const inventoryController: RequestHandler = async (request, response) => {
|
||||
}
|
||||
if (config.completeAllQuests) {
|
||||
for (const quest of inventoryResponse.QuestKeys) {
|
||||
quest.unlock = true;
|
||||
quest.Completed = true;
|
||||
|
||||
quest.Progress = [
|
||||
{
|
||||
|
||||
let numStages = 1;
|
||||
if (quest.ItemType in ExportKeys && "chainStages" in ExportKeys[quest.ItemType]) {
|
||||
numStages = ExportKeys[quest.ItemType].chainStages!.length;
|
||||
}
|
||||
quest.Progress = [];
|
||||
for (let i = 0; i != numStages; ++i) {
|
||||
quest.Progress.push({
|
||||
c: 0,
|
||||
i: false,
|
||||
m: false,
|
||||
b: []
|
||||
}
|
||||
];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
inventoryResponse.ArchwingEnabled = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user
⚠️ Potential issue
Inconsistent Property Naming: 'unlock' vs 'Completed'
The properties
unlock
andCompleted
have inconsistent casing. To maintain consistency and improve readability, consider standardizing the property names. If both are boolean flags, you might prefer using eithercamelCase
orPascalCase
for both.Apply this diff to make the property names consistent:
Option 1 (camelCase):
Option 2 (PascalCase):
Please choose the option that aligns with your project's naming conventions.
Wow, what a great suggestion! I'll be sure to implement it right away!!! Oh wait, why does it not work anymore?!?!?!!?!
Kill yourself.
@Sainan, I'm sorry to hear that you're experiencing issues. Please let me know how I can assist you further.
(_/_) (•_• )
🤣