Saturday, September 16, 2023

Potion Craft

 Another stupider game.

Here there are things like potions of various types in a file. We are supposed to read the file, populate our data structures, increment the ingredients if two of them combine to form a more complex ingredient. Final is the philosopher's stone or something.

//Constants (Do not edit)                                                                                                                                                                                  
const int PROJ2_SIZE = 29;
const int RANK_D = 30;
const int RANK_C = 50;
const int RANK_B = 70;
const int RANK_A = 90;
const int RANK_S = 100;

The score keeps incrementing as an when you get more and more complex ingredients made.

If you get all ingredients and stone your score reaches 100 and you win.

These are the ingredients and their secret recipes.

Firebell,natural,none,none

Waterbloom,natural,none,none

Terraria,natural,none,none

Windbloom,natural,none,none

Mad Mushroom,natural,none,none

Witch's Mushroom,natural,none,none

Featherbloom,natural,none,none

Healing,potion,Waterbloom,Terraria

Poison,potion,Terraria,Firebell

Frost,potion,Waterbloom,Waterbloom

Fire,potion,Firebell,Firebell

Explosion,potion,Mad Mushroom,Mad Mushroom

Swiftness,potion,Windbloom,Windbloom

Mana,potion,Witch's Mushroom,Witch's Mushroom

Lightning,potion,Thunder Thistle,Windbloom

Strength,potion,Terraria,Terraria

Stone Skin,potion,Firebell,Waterbloom

Sleep,potion,Lifeleaf,Waterbloom

Dexterity,potion,Waterbloom,Windbloom

Light,potion,Windbloom,Firebell

Rage,potion,Bloodthorn,Featherbloom

Charm,potion,Mad Mushroom,Windbloom

Levitation,potion,Mad Mushroom,Witch's Mushroom

Invisibility,potion,Witch's Mushroom,Windbloom

Nigredo,reagent,Poison,Stone Skin

Albedo,reagent,Nigredo,Frost

Citrinitas,reagent,Albedo,Fire

Rubedo,reagent,Citrinitas,Healing

Philosopher's Stone,legendary,Rubedo,Invisibility

Here is a repo for reference.

No comments:

Post a Comment