« get me outta code hell

guess-the-character - Unnamed repository; edit this file 'description' to name the repository.
summary refs log tree commit diff
path: root/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'data.js')
-rw-r--r--data.js153
1 files changed, 153 insertions, 0 deletions
diff --git a/data.js b/data.js
new file mode 100644
index 0000000..e6f4c77
--- /dev/null
+++ b/data.js
@@ -0,0 +1,153 @@
+/**
+ *
+ * hi this is the data for the game
+ *
+ */
+
+'use strict';
+
+window.gameData = {
+    characters: [
+        {
+            name: 'Alphys',
+            games: ['undertale', 'deltarune'],
+            file: 'al',
+            volume: 1.0, speed: 50, // TODO: I don't think Alphys is physically capable of speaking up
+            messages: [
+                `Watching someone on\na screen really makes\nyou root for them.`,
+                `S-so, ahhh, now I\nwant to help you!`,
+                `Using my knowledge,\nI can easily guide\nyou through Hotland!`
+            ]
+        },
+        {
+            name: 'Asgore',
+            games: ['undertale', 'deltarune'],
+            file: 'asg',
+            volume: 0.5, speed: 80,
+            messages: [
+                `Oh?\nIs someone there?`,
+                `Would you like\na cup of tea?`
+            ]
+        },
+        {
+            name: 'Berdly',
+            games: ['deltarune'],
+            file: 'ber',
+            volume: 0.5, speed: 50,
+            messages: [
+                `Sorry, I'm already\npartners with the 2nd\nsmartest student.`,
+                `Your unique skillset\nmight help a LOT on this\nassignment!`,
+                `We're FINE being alone!`
+            ]
+        },
+        {
+            name: 'Jevil',
+            games: ['deltarune'],
+            file: 'jok',
+            volume: 0.5, speed: 50,
+            messages: [
+                `UEE HEE HEE, THE KEY, THE KEY.`,
+                `A MARVELOUS FUN IS ABOUT TO\nBREAK FREE.`,
+                `WHEN YOUR HP DROPS TO 0, YOU LOSE!`
+            ]
+        },
+        {
+            name: 'Lancer',
+            games: ['deltarune'],
+            file: 'lan',
+            volume: 0.5, speed: 50,
+            messages: [
+                `You're going to be\nthrashed!`,
+                `AHHHHH HA HA HA HA HA HA\nHA HA!!!!`,
+                `Merry Christmas!`
+            ]
+        },
+        {
+            name: 'Noelle',
+            games: ['deltarune'],
+            file: 'noe',
+            volume: 0.5, speed: 40,
+            messages: [
+                `I could ask Ms. Alphys\nif we could make\na group of 3!`,
+                `B-but if I die, you're\npaying for my funeral, Kris!`,
+                `(Though, honestly, if\nshe's nice I might die, too...)`
+            ]
+        },
+        {
+            name: 'Papyrus',
+            games: ['undertale', 'deltarune'],
+            file: 'pap',
+            volume: 0.4, speed: 50,
+            messages: [
+                `I GUESS\nI CAN MAKE AN\nALLOWANCE FOR YOU!`,
+                `WOW!!!\nI HAVE FRIENDS!!!`,
+                `YOU TAUGHT ME A\nLOT, HUMAN.`
+            ]
+        },
+        {
+            name: 'Ralsei',
+            games: ['deltarune'],
+            file: 'ral',
+            volume: 0.5, speed: 50,
+            messages: [
+                `I hope we can be good\nfriends, Kris.`,
+                `It'll fall asleep, and we'll win peacefully!`,
+                `As heroes, we have the\npower to make a peaceful\nfuture!`
+            ]
+        },
+        {
+            name: 'Rudy',
+            games: ['deltarune'],
+            file: 'rud',
+            volume: 0.5, speed: 50,
+            messages: [
+                `Well jingle my goshdarn\nbells! Looks like\nKrismas came early!`,
+                `Don't worry, there's no\nway you can bore me\nright now!`,
+                `Yikes, man!`
+            ]
+        },
+        {
+            name: 'Sans',
+            games: ['undertale', 'deltarune'],
+            file: 'sans',
+            volume: 0.4, speed: 50,
+            messages: [
+                `anyways,\nyou're a human, right?`,
+                `i dont really care about\ncapturing anybody.`,
+                `staring at this lamp.\nits really cool.`
+            ]
+        },
+        {
+            name: 'Susie',
+            games: ['deltarune'],
+            file: 'sus',
+            volume: 0.5, speed: 50,
+            messages: [
+                `God, can you walk any\nslower, or what?`,
+                `Oh, you're not dead.\nSweet.`,
+                `Why don't we just climb\nover this spiked fence?`
+            ]
+        },
+        {
+            name: 'Toriel',
+            games: ['undertale', 'deltarune'],
+            file: 'tor',
+            volume: 0.5, speed: 50,
+            messages: [
+                `You have done\nexcellently thus\nfar, my child.`,
+                `Thank you for trusting\nme.`,
+                `If you have a need for\nanything, just call.`
+            ]
+        },
+        {
+            name: 'Undyne',
+            games: ['undertale', 'deltarune'],
+            file: 'und',
+            messages: [
+                `Homemade noodles\nare the best!`,
+                `BUT I JUST BUY\nSTORE-BRAND!`,
+                `NGAHHHHHHHHH\nHHHHHHHHHH!!!`
+            ]
+        }
+    ]
+};