aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
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