Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kawa generator update #873

Merged
merged 3 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 47 additions & 3 deletions server/src/generators/boba.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -26,16 +58,25 @@ 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',
'blue',
'green',
'yellow',
'purple',
'orange'
'orange',
'octarine'
],
boba: [
'Tapioca Pearls',
Expand All @@ -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#'
]
})

Expand Down
81 changes: 54 additions & 27 deletions server/src/generators/veganFood.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -53,19 +56,43 @@ 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',
'minotaur'
]
})

Expand Down
2 changes: 1 addition & 1 deletion server/src/rooms/data/roomData.json
Original file line number Diff line number Diff line change
Expand Up @@ -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. <a href=\"https://store.steampowered.com/sale/roguelikecelebration2022 \" target=\"_blank\">",
"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 <a href=\"https://store.steampowered.com/sale/roguelikecelebration2024 \" target=\"_blank\">free to peruse</a>. ",
"roomId": "steamSale"
},
"swag": {
Expand Down
Loading