1
Fork 0

Compare commits

..

No commits in common. "be02d685e53320f287c36119b2c8993438179c3b" and "22ba2bcc83253ef86665b77c882a8cae14988a33" have entirely different histories.

1 changed files with 0 additions and 42 deletions

View File

@ -79,13 +79,6 @@ type Mission = {
"Tritilyte Shard": number; "Tritilyte Shard": number;
"Tyrant Shard": number; "Tyrant Shard": number;
}; };
"Performance": {
"Kill Count": number;
"Mineral Count": number;
"Revives": number;
"Downs": number;
};
}; };
async function main(): Promise<void> { async function main(): Promise<void> {
@ -105,7 +98,6 @@ async function main(): Promise<void> {
dataMissions.sort((a, b) => b.Index - a.Index); dataMissions.sort((a, b) => b.Index - a.Index);
if (options.add) { if (options.add) {
console.log("## General Info");
const promptResults = await prompt.prompt( const promptResults = await prompt.prompt(
[ [
{ {
@ -194,7 +186,6 @@ async function main(): Promise<void> {
], ],
); );
console.log("## Collectables");
const collectableResults = await prompt.prompt([ const collectableResults = await prompt.prompt([
{ {
type: prompt.Number, type: prompt.Number,
@ -270,7 +261,6 @@ async function main(): Promise<void> {
}, },
]); ]);
console.log("## Credits Breakdown");
const creditResults = await prompt.prompt([ const creditResults = await prompt.prompt([
{ {
type: prompt.Number, type: prompt.Number,
@ -335,7 +325,6 @@ async function main(): Promise<void> {
}, },
]); ]);
console.log("## Experience Breakdown");
const experienceResults = await prompt.prompt([ const experienceResults = await prompt.prompt([
{ {
type: prompt.Number, type: prompt.Number,
@ -401,30 +390,6 @@ async function main(): Promise<void> {
}, },
]); ]);
console.log("## Performance");
const performanceResults = await prompt.prompt([
{
type: prompt.Number,
name: "Performance:Kill Count",
message: "Performance: Kill Count",
},
{
type: prompt.Number,
name: "Performance:Mineral Count",
message: "Performance: Mineral Count",
},
{
type: prompt.Number,
name: "Performance:Revives",
message: "Performance: Revives",
},
{
type: prompt.Number,
name: "Performance:Downs",
message: "Performance: Downs",
},
]);
const newMission: Mission = { const newMission: Mission = {
"Date": promptResults["Date"]!, "Date": promptResults["Date"]!,
"Index": (dataMissions[0]?.Index ?? 0) + 1, "Index": (dataMissions[0]?.Index ?? 0) + 1,
@ -496,13 +461,6 @@ async function main(): Promise<void> {
"Tritilyte Shard": experienceResults["Experience:Tritilyte Shard"]!, "Tritilyte Shard": experienceResults["Experience:Tritilyte Shard"]!,
"Tyrant Shard": experienceResults["Experience:Tyrant Shard"]!, "Tyrant Shard": experienceResults["Experience:Tyrant Shard"]!,
}, },
"Performance": {
"Kill Count": performanceResults["Performance:Kill Count"]!,
"Mineral Count": performanceResults["Performance:Mineral Count"]!,
"Revives": performanceResults["Performance:Revives"]!,
"Downs": performanceResults["Performance:Downs"]!,
},
}; };
if (options.testing) { if (options.testing) {