From 9c5270d99e741a194d5b14ff329522a4a058075e Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 4 Aug 2023 14:51:01 +0200 Subject: [PATCH] Documentation! --- .bauke/scripts/drg-data-entry.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.bauke/scripts/drg-data-entry.ts b/.bauke/scripts/drg-data-entry.ts index be0aa33..38eacd3 100644 --- a/.bauke/scripts/drg-data-entry.ts +++ b/.bauke/scripts/drg-data-entry.ts @@ -1,10 +1,16 @@ import { Command, prompt } from "./dependencies.ts"; import { stringifyJsonPretty } from "./utilities.ts"; +/** All the available cave complexities of missions. */ const CaveComplexity = [1, 2, 3] as const; + +/** All the available cave lengths of missions. */ const CaveLength = [1, 2, 3] as const; + +/** All the available hazard (difficulty) levels of missions. */ const HazardLevel = [1, 2, 3, 4, 5] as const; +/** All the different types of missions. */ const MissionTypes = [ "Egg Hunt", "Elimination", @@ -16,6 +22,7 @@ const MissionTypes = [ "Salvage Operation", ] as const; +/** All the different collectables besides gold and nitra. */ const Collectables = [ "Barley Bulb", "Bismor", @@ -31,6 +38,7 @@ const Collectables = [ "Yeast Cone", ] as const; +/** All the data for a finished mission. */ type Mission = { "Date": string; "Index": number;