Skip to content

Instantly share code, notes, and snippets.

@Nakilon
Last active April 12, 2020 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nakilon/7f6efc034edd802c4701117acfebfaf8 to your computer and use it in GitHub Desktop.
Save Nakilon/7f6efc034edd802c4701117acfebfaf8 to your computer and use it in GitHub Desktop.
small example
$ ruby recipes.rb Carrot Potato Bandage
1 roastedcarrot = 1 Carrot
1 carrotjuice = 1 Carrot
1 bakedpotato = 1 Potato
1 mashedpotato = 1 Potato
1 potatogrids = 2 Mashed Potato
By default all consumables are assumed to:
1) WellFed you
2) be blocked if you are WellFed already
3) Heal in 60 seconds
Bandage Not blocked by WellFed
Bandage Healing 50 in 1 second(s)
Carrot Juice HP x 1.2
Mashed Potato HP x 1.2
Potato Grids HP x 1.2
$ ruby recipes.rb Carrot Potato Bandage
1 carrotjuice = 1 Carrot
1 roastedcarrot = 1 Carrot
1 mashedpotato = 1 Potato
1 bakedpotato = 1 Potato
1 potatogrids = 2 Mashed Potato
Stack Rotting Blocked by WellFed? Heal HP
Carrot 1
Potato 1 x5
Bandage x no 50 in 1sec
Carrot Juice 1 x1.2 for 90sec
Roasted Carrot 1
Mashed Potato 1 x1.2 for 180sec
Baked Potato 1
Potato Grids 1 x1.2 for 360sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment