Stone Story RPG

Stone Story RPG

Not enough ratings
Stonescript Brew Potion Recipes
By MAKAIROSI
Wanna automate what potion you take in which dungeon? That's what you'll do with this.
   
Award
Favorite
Favorited
Unfavorite
brew_recipes.txt
Once you learn how to make your own .txt stonescript files (there's a ton of documentation) inside the game's folder, make another folder called "my" and then, in there, make a txt file called "brew_recipes".

Then copy and paste this (indentation matters)

func strength() brew stone func exp() brew wood func healing() brew tar func lightning() brew bronze func vampiric() brew tar + bronze func lucky() brew stone + bronze func berserk() brew wood + bronze func cleansing() brew wood + tar func defense() brew stone + tar func invis() brew wood + stone

Guess what? These are all the recipes for potions you can brew.
brew.txt
Make a new file called "brew.txt", here we will define which location uses which potion.

var brewpot = import my/brew_recipes ?loc.begin ?loc = deadwood brewpot.vampiric() ?loc = caves brewpot.vampiric() ?loc = fungus_forest brewpot.vampiric() ?loc = undead_crypt brewpot.vampiric() ?loc = mine brewpot.vampiric() ?loc = icy_ridge brewpot.vampiric() ?loc = temple brewpot.cleansing()

Change "vampiric" to whatever you want (look at recipes). Cleansing is definitely required for Temple.
Import brew in your import list
If you don't have a list, make one, it saves a lot of time. Add to that list (or directly to the automate stone) this:

import my/brew

and you're done! Now the player will brew the pot you specify automatically.