Skip to content

Commit

Permalink
last generator tweak I hope
Browse files Browse the repository at this point in the history
  • Loading branch information
nextlevelbanana committed Oct 19, 2024
1 parent e3b7056 commit 0b954ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion server/src/generators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import * as loudRobert from './loudRobert'
import * as tossARock from './chasm'
import * as boba from './boba'
import * as tacos from './tacos'
import * as kebabs from './kebab'
import * as kebabs from './kebabs'
import * as veganFood from './veganFood'

interface Generator {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions server/src/generators/tacos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
import tracery from 'tracery-grammar'

export const actionString = (tacos: string) => {
return `You inhale a scrumptious taco with ${tacos}.`
return `You inhale a scrumptious ${tacos}.`
}

export const generate = () => {
var grammar = tracery.createGrammar({
origin: [
"#monster# meat and #bean#"
"taco with #monster# meat and #bean#"
],
monster: [
'Ice Giant',
Expand Down
6 changes: 3 additions & 3 deletions server/src/generators/veganFood.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
import tracery from 'tracery-grammar'

export const actionString = (veganFood: string) => {
return `You eat a ${veganFood}.`
return `You eat ${veganFood}.`
}

export const generate = () => {
var grammar = tracery.createGrammar({
origin: [
"delicious bowl of #fruit# and #plant# with #powerup# sauce",
"bowl of #plant# and #protein#"
"a delicious bowl of #fruit# and #plant# with #powerup# sauce",
"a bowl of #plant# and #protein#"
],
fruit: [
'apple',
Expand Down

0 comments on commit 0b954ff

Please sign in to comment.