From cb48b2a948a96b87f6e3215c14ca43ca786f3792 Mon Sep 17 00:00:00 2001 From: Kawa Date: Fri, 18 Oct 2024 17:04:15 -0600 Subject: [PATCH 1/3] updates to boba and vegan food generators --- server/src/generators/boba.ts | 50 +++++++++++++++++-- server/src/generators/veganFood.ts | 80 ++++++++++++++++++++---------- 2 files changed, 100 insertions(+), 30 deletions(-) diff --git a/server/src/generators/boba.ts b/server/src/generators/boba.ts index c51cefd3..887d5c95 100644 --- a/server/src/generators/boba.ts +++ b/server/src/generators/boba.ts @@ -9,7 +9,39 @@ export const actionString = (boba: string) => { export const generate = () => { var grammar = tracery.createGrammar({ origin: [ - "You drink a refreshing #powerup# potion with #boba#." + "You drink #refreshing.a# #powerup# potion with #boba#." + ], + refreshing: [ + 'refreshing', + 'tasty', + 'delicious', + 'lovely', + 'incredible', + 'delectable', + 'wonderfully #refreshing#', // learning a few years ago that you can recurse grammars like this makes me too powerful - kawa + '#flavor#-flavored' + ], + flavor: [ + 'banana', + 'orange', + 'lychee', + 'strawberry', + 'mango', + 'peach', + 'elderberry', + 'haskap berry', + 'almond', + 'cherry', + 'green tea', + 'chai', + 'oolong', + 'black tea', + 'ambrosia', // mostly positive but a few weirdos down here, which are all roguelike references - kawa + 'choko', + 'Gros Michel banana', + 'slime mold', + 'cheap imitation Amulet of Yendor', + 'starapple' ], powerup: [ 'blindness', @@ -26,8 +58,16 @@ export const generate = () => { 'raise level', 'restore strength', 'see invisible', + 'torment', + 'brilliance', + 'Amulet seeking', + 'Speak With Eels', 'intoxication', 'fire breath', + 'ice breath', + 'entirely normal breath', + 'levitation', + 'enlightenment', 'brown', 'red', 'white', @@ -35,7 +75,8 @@ export const generate = () => { 'green', 'yellow', 'purple', - 'orange' + 'orange', + 'octarine' ], boba: [ 'Tapioca Pearls', @@ -44,12 +85,15 @@ export const generate = () => { 'Popping Crystals', 'Ponderous Orbs', 'Frog\'s Eyes', + 'Jester\'s Bells', 'Newt\'s Eyes', 'Lychee Jelly', 'Stinky Durian Jelly', 'Dragonfruit Jelly', 'Strawberry Jelly', - 'Eel Jelly' + '#flavor# bits', + 'Eel Jelly', + 'whipped cream and #boba#' ] }) diff --git a/server/src/generators/veganFood.ts b/server/src/generators/veganFood.ts index 742aa6be..da840f6f 100644 --- a/server/src/generators/veganFood.ts +++ b/server/src/generators/veganFood.ts @@ -9,22 +9,25 @@ export const actionString = (veganFood: string) => { export const generate = () => { var grammar = tracery.createGrammar({ origin: [ - "You eat a delicious bowl of #fruit# and #plant# with #powerup# sauce." + "You eat a delicious bowl of #fruit# and #plant# with #powerup# sauce.", + "You eat a bowl of #plant# and #protein#. Yum!" ], fruit: [ - 'Strawberry', - 'Lemon', - 'Lime', - 'Orange', - 'Dragonfruit', - 'Stinky Durian', - 'Lychee', - 'Mango', - 'Kumquats', - 'Guava', - 'Rambutan', - 'Feijoa', - 'Noni' + 'strawberry', + 'lemon', + 'lime', + 'orange', + 'dragonfruit', + 'stinky durian', + 'lychee', + 'mango', + 'kumquat', + 'guava', + 'rambutan', + 'feijoa', + 'noni', + 'choko', + 'Gros Michel banana' ], powerup: [ 'blindness', @@ -53,19 +56,42 @@ export const generate = () => { 'orange' ], plant: [ - 'Lemongrass', - 'Quinoa', - 'Chickpea', - 'Burb Root', - 'Moss of Mareilon', - 'Spenseweed', - 'Mandrake', - 'Nopales', - 'Yucca', - 'Spinach', - 'Kale', - 'Seaweed' - + 'lemongrass', + 'quinoa', + 'chickpea', + 'burb root', + 'moss of mareilon', + 'spenseweed', + 'mandrake', + 'nopales', + 'yucca', + 'spinach', + 'kale', + 'seaweed', + 'slime mold', + 'vinewafer', + 'wild rice', + 'meterlong beans', + 'corn (or is it maize?)', + 'maize (or is it corn?)' + ], + protein: [ + 'imitation #meat#', + 'tofu', + 'tempeh', + 'turtle beans', // shoutout to one of the weirder balatro jokers - kawa + 'sunflower seeds', + 'delicately spiced #plant#' + ], + meat: [ + 'chicken', + 'beef', + 'pork', + 'turkey', + 'salmon', + 'tilapia', + 'Magikarp', + 'eel' ] }) From a318f2d71e2d41eb702e7079a591eae6e9fa2584 Mon Sep 17 00:00:00 2001 From: Kawa Date: Fri, 18 Oct 2024 17:04:28 -0600 Subject: [PATCH 2/3] fix to link steam sale --- server/src/rooms/data/roomData.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/rooms/data/roomData.json b/server/src/rooms/data/roomData.json index 4ea13e36..d7a9e907 100644 --- a/server/src/rooms/data/roomData.json +++ b/server/src/rooms/data/roomData.json @@ -58,7 +58,7 @@ "displayName": "Steam Sale", "shortName": "Steam Sale", "id": "steamSale", - "description": "You enter a makeshift store filled with shelves and colorful boxes in every direction. These shelves appear to be illegal knockoffs of games, armor, weapons, and items, made by the goblin merchants. A greasy goblin stands behind the counter, swearing to anyone who asks that his products are legit. A wall to the side holds a progression of armors, the best of which is marked with a sign which reads 'Plate Mail Sold Out Due To High Demand'. You notice a table in the back corner of the space, devoted to actual video games, which you are free to peruse. ", + "description": "You enter a makeshift store filled with shelves and colorful boxes in every direction. These shelves appear to be illegal knockoffs of games, armor, weapons, and items, made by the goblin merchants. A greasy goblin stands behind the counter, swearing to anyone who asks that his products are legit. A wall to the side holds a progression of armors, the best of which is marked with a sign which reads 'Plate Mail Sold Out Due To High Demand'. You notice a table in the back corner of the space, devoted to actual video games, which you are free to peruse. ", "roomId": "steamSale" }, "swag": { From e35c703c248acbc9ddc6e09a2adce6f60745c6ec Mon Sep 17 00:00:00 2001 From: Kawa Date: Fri, 18 Oct 2024 17:14:47 -0600 Subject: [PATCH 3/3] lint fixes --- server/src/generators/boba.ts | 2 +- server/src/generators/veganFood.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/src/generators/boba.ts b/server/src/generators/boba.ts index 887d5c95..5eed0587 100644 --- a/server/src/generators/boba.ts +++ b/server/src/generators/boba.ts @@ -30,7 +30,7 @@ export const generate = () => { 'peach', 'elderberry', 'haskap berry', - 'almond', + 'almond', 'cherry', 'green tea', 'chai', diff --git a/server/src/generators/veganFood.ts b/server/src/generators/veganFood.ts index da840f6f..df4244d6 100644 --- a/server/src/generators/veganFood.ts +++ b/server/src/generators/veganFood.ts @@ -86,12 +86,13 @@ export const generate = () => { meat: [ 'chicken', 'beef', - 'pork', + 'pork', 'turkey', 'salmon', 'tilapia', 'Magikarp', - 'eel' + 'eel', + 'minotaur' ] })