The test quest was neat ^.^. Very in-character.
Okay, I'll give more details about the internal workings so it's easier to make such things
First, you'll have to update to the new version (if you can, backup the old one... better be safe...). See the attached file (game.zip).
Then, get the custom.rpy file (also attached) and put it in the /game directory. That's the file you will edit from now on. Right now, it contains Jake's quest, as an example (you'll see that almost nothing changed though).
For customization info, look at custom.rpy. I tried to comment quite a few things and added examples for Ingredients, Recipes, Potions, Locations and so on...
I know we still lack informations about many things but hey... it'll come ^^;
For now, this won't be possible... Locations are available for everyone ^^;. But yea, it's an idea.
Here's a lost of objects and stuff... I'm not going to comment it much... I hope it will be clear enough ^^;
Code: Select all
charapool = {'hero': Perso("Hero", "hero", "f_hero.jpg", salaryfact=.5, desc="Well, this is me... the owner of the boutique."),
'framb' : Perso("Framboise", "framboise", "f_fram.jpg", "framboise.png", desc="Framboise has been with me since the beginning : she was my very first assistant. She is a rather lively young girl who shows enthusiasm in most things. She loves, and is good at, gathering ingredients."),
'pom' : Perso("Pom", "pom", "f_pom.jpg", "pom.png", desc="This brash kid joined our team after hearing about the boutique and... insisting quite a lot. I don't regret taking him in, though, as he is very efficient at brewing potions and hunting."),
}
# the actual staff list during the game
staff = [charapool['hero'],charapool['framb']]
# INGREDIENT CATEGORY LIST
ingcateg = {'herb': IngCategory("Herb"),
'plant': IngCategory("Plant"),
'fruit': IngCategory("Fruit"),
'mineral': IngCategory("Mineral"),
'mammal': IngCategory("Mammal"),
'bird': IngCategory("Bird"),
'fish': IngCategory("Fish")
}
# INGREDIENT LIST
ingall = Ingredient("All")
ingredients = {'cinnamon': Ingredient("Cinnamon", ingcateg['herb'], 10, 28, "Bark; flavoring, anti-microbial", "ing_cinnamon.png", "cinnamon.png"),
'fennel': Ingredient("Fennel", ingcateg['herb'], 5, 8, "Medicinal and culinary uses", "ing_fennel.png", "fennel.png"),
'clover': Ingredient("Clover", ingcateg['plant'], 3, 3, "Flower used for tea, dye", "ing_clover.png", "clover.png"),
'resin': Ingredient("Resin", ingcateg['mineral'], 16, 75, "Varnish, incense, flammable", "ing_resin.png", "resin_illust.png"),
'amber': Ingredient("Amber", ingcateg['mineral'], 72, 360, "Fossilized resin; decorative", "ing_amber.png", "amber_illust.png"),
'orpiment': Ingredient("Orpiment", ingcateg['mineral'], 80, 280, "Strong yellow pigment, toxic", "ing_orpiment.png", "orpiment_illust.png"),
'bberry': Ingredient("Blue Berries", ingcateg['fruit'], 11, 12, "Berries for food use only", "ing_blueberry.png", "blueberry_illust.png"),
'nut': Ingredient("Hazelnuts", ingcateg['fruit'], 7, 0, "Found in those big trees... guarded by squirrels.", "ing_hazelnut.png", "illust_hazelnut.png"),
'feather': Ingredient("Feathers", ingcateg['bird'], 10, 1, "Fallen or plucked from a bird. They are said to have levitating properties.", "ing_feather.png", "illust_feather.png"),
'fur': Ingredient("Animal Fur", ingcateg['mammal'], 10, 1, "Sometimes found stuck on branches or on trees bark."),
'scales': Ingredient("Fish Scales", ingcateg['fish'], 10, 1, "First, you have to catch a fish. Then, you have to get the scales off it. Mirror armors, the scales are often used in protective magic.")
}
# POTION LIST
potions = {'wcure': Potion("Weak Cure", "potions.gif", 10, "Cures simple poisons and sicknesses."),
'scure': Potion("Strong Cure"),
'wheal': Potion("Weak Heal", "potionheals.gif", 6, desc="Heals very light bruises."),
'eheal': Potion("Extreme Heal", "potionhealf.gif", 100, desc="Heals even fallen limbs."),
'bullstr': Potion("Bull's Strength", "potionredf.gif", 20, "Temporarily gives the strength of the bull."),
'foxcunn': Potion("Fox's Cunning", "potionorangef.gif", 27, desc="A drink of this and you will be as cunning as a fox !"),
'gbreath': Potion("Breath of the Just", "potionblues.gif", 50, desc="A sip of it and you will kill flies with your breath no more.\nFor all dandies with an odorant problem.")
}
# INITIAL STOCKS
stock = Stock(1000)
# RECETTE LIST
recettes = {'wcure': Recette(potions['wcure'], 3, [IngQty(ingredients['cinnamon'],1)], 10, "Using crushed cinnamon and simple water, one can obtain a curative ailment."),
'wheal': Recette(potions['wheal'], 4, [IngQty(ingredients['fennel'],1)], 10, "Heated fennel mixed with water gives a healing solution."),
'eheal': Recette(potions['eheal'], 35, [IngQty(ingredients['clover'], 50)], 0, "This is an extremely complex recipe."),
'bullstr': Recette(potions['bullstr'], 8, [IngQty(ingredients['clover'],3), IngQty(ingredients['fennel'],1)], 10, "Using macerated clover leaves mixed with crushed fennel, one can make a potion providing extraordinary strength."),
'foxcunn': Recette(potions['foxcunn'], 15, [IngQty(ingredients['clover'],5)], 10, "Lots of fresh clover leaves are needed for this potion but it makes you very smart for a short while."),
'gbreath': Recette(potions['gbreath'], 20, [IngQty(ingredients['bberry'],1), IngQty(ingredients['fennel'],5)], 5, "Blue berries freshen your mouth. Combined with fennel to empower this property, they even freshen your breath!")
}
# LOCATION LIST
locs = {'fsymp': Location("Forest of Sympathy", 360, 100, "bg_forest", distance=.5),
'crangst': Location("Crevice of Angst", 90, 360, "bg_crevice", distance=1),
'millake': Location("Millenium Lake", 550, 255, "bg_lake", distance=0),
'mntdoom': Location("Mountains of Doom", 60, 150, "bg_mountain", distance=1),
'plains': Location("Plains of Tranquility", 300, 340, "bg_plain", distance=0)
}