aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-10-20 18:08:15 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-10-20 18:08:15 -0500
commit472c18a99851397939351dd4cfc50220c84dc4c2 (patch)
tree1fecdab0268a6734fa2c6c6a9551bf1ea06ff1ed /packages
downloadzorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar
zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.gz
zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.bz2
zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.lz
zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.xz
zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.tar.zst
zorascript-472c18a99851397939351dd4cfc50220c84dc4c2.zip
Initial skeleton (hehe) commit
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'packages')
-rw-r--r--packages/zorascript/package.json15
-rw-r--r--packages/zorascript/src/enums.ts31
-rw-r--r--packages/zorascript/tsconfig.json11
3 files changed, 57 insertions, 0 deletions
diff --git a/packages/zorascript/package.json b/packages/zorascript/package.json
new file mode 100644
index 0000000..109c866
--- /dev/null
+++ b/packages/zorascript/package.json
@@ -0,0 +1,15 @@
+{
+ "name": "zorascript",
+ "version": "1.0.0",
+ "description": "",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "keywords": [],
+ "author": "",
+ "license": "ISC",
+ "devDependencies": {
+
+ }
+}
diff --git a/packages/zorascript/src/enums.ts b/packages/zorascript/src/enums.ts
new file mode 100644
index 0000000..2d055a6
--- /dev/null
+++ b/packages/zorascript/src/enums.ts
@@ -0,0 +1,31 @@
+/**
+ * The region for the game
+ *
+ * @remarks
+ *
+ * In most cases NA and EU are the same, but there are some small differences mainly involving name encoding.
+ */
+const enum GameRegion {
+ Japan = "JP",
+ NorthAmerica = "NA",
+ Europe = "EU"
+}
+
+/**
+ * Specifies the specific Oracle game
+ */
+const enum Game {
+ Ages = "Oracle of Ages",
+ Seasons = "Oracle of Seasons"
+}
+
+const enum Animal {
+ Ricky = 0x0b,
+ Dimitri = 0x0c,
+ Moosh = 0x0d
+}
+
+const enum ChildQuestion {
+ NoEgg = 0,
+ YesChicken = 0x2,
+} \ No newline at end of file
diff --git a/packages/zorascript/tsconfig.json b/packages/zorascript/tsconfig.json
new file mode 100644
index 0000000..1b2dbb2
--- /dev/null
+++ b/packages/zorascript/tsconfig.json
@@ -0,0 +1,11 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "target": "es2015",
+ "declaration": true,
+ "outDir": "./dist"
+ },
+ "include": [
+ "src/**/*"
+ ]
+} \ No newline at end of file