-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Alternative recipes model & view
- Loading branch information
1 parent
a870ab5
commit f4bd8a1
Showing
6 changed files
with
363 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,291 @@ | ||
#pragma once | ||
|
||
#include "./recipe.hpp" | ||
|
||
Recipe NormalAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Tofu", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Normal", 3}, | ||
{"Title Power", "Normal", 3}, | ||
{"Encounter Power", "Normal", 3} | ||
} | ||
}; | ||
|
||
Recipe FireAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Red Pepper", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Fire", 3}, | ||
{"Title Power", "Fire", 3}, | ||
{"Encounter Power", "Fire", 3} | ||
} | ||
}; | ||
|
||
Recipe WaterAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Cucumber", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Water", 3}, | ||
{"Title Power", "Water", 3}, | ||
{"Encounter Power", "Water", 3} | ||
} | ||
}; | ||
|
||
Recipe ElectricAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Yellow Pepper", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Electric", 3}, | ||
{"Title Power", "Electric", 3}, | ||
{"Encounter Power", "Electric", 3} | ||
} | ||
}; | ||
|
||
Recipe GrassAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Lettuce", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Grass", 3}, | ||
{"Title Power", "Grass", 3}, | ||
{"Encounter Power", "Grass", 3} | ||
} | ||
}; | ||
|
||
Recipe IceAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Klawf Stick", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Ice", 3}, | ||
{"Title Power", "Ice", 3}, | ||
{"Encounter Power", "Ice", 3} | ||
} | ||
}; | ||
|
||
Recipe FightingAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Pickle", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Fighting", 3}, | ||
{"Title Power", "Fighting", 3}, | ||
{"Encounter Power", "Fighting", 3} | ||
} | ||
}; | ||
|
||
Recipe PoisonAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Green Pepper", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Poison", 3}, | ||
{"Title Power", "Poison", 3}, | ||
{"Encounter Power", "Poison", 3} | ||
} | ||
}; | ||
|
||
Recipe GroundAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Ham", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Ground", 3}, | ||
{"Title Power", "Ground", 3}, | ||
{"Encounter Power", "Ground", 3} | ||
} | ||
}; | ||
|
||
Recipe FlyingAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Prosciutto", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Flying", 3}, | ||
{"Title Power", "Flying", 3}, | ||
{"Encounter Power", "Flying", 3} | ||
} | ||
}; | ||
|
||
Recipe PsychicAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Onion", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Psychic", 3}, | ||
{"Title Power", "Psychic", 3}, | ||
{"Encounter Power", "Psychic", 3} | ||
} | ||
}; | ||
|
||
Recipe BugAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Cherry Tomato", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Bug", 3}, | ||
{"Title Power", "Bug", 3}, | ||
{"Encounter Power", "Bug", 3} | ||
} | ||
}; | ||
|
||
Recipe RockAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Bacon", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Rock", 3}, | ||
{"Title Power", "Rock", 3}, | ||
{"Encounter Power", "Rock", 3} | ||
} | ||
}; | ||
|
||
Recipe GhostAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Red Onion", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Ghost", 3}, | ||
{"Title Power", "Ghost", 3}, | ||
{"Encounter Power", "Ghost", 3} | ||
} | ||
}; | ||
|
||
Recipe DragonAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Avocado", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Dragon", 3}, | ||
{"Title Power", "Dragon", 3}, | ||
{"Encounter Power", "Dragon", 3} | ||
} | ||
}; | ||
|
||
Recipe DarkAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Smoked Fillet", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Dark", 3}, | ||
{"Title Power", "Dark", 3}, | ||
{"Encounter Power", "Dark", 3} | ||
} | ||
}; | ||
|
||
Recipe SteelAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Hamburger", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Steel", 3}, | ||
{"Title Power", "Steel", 3}, | ||
{"Encounter Power", "Steel", 3} | ||
} | ||
}; | ||
|
||
Recipe FairyAlt = { | ||
{ | ||
{"Tomato", 1}, | ||
{"Onion", 1}, | ||
{"Green Pepper", 1}, | ||
{"Hamburger", 1}, | ||
{"Tomato", 2}, | ||
{"Herba Mystica (any)", 2} | ||
}, | ||
{ | ||
{"Sparkling Power", "Fairy", 3}, | ||
{"Title Power", "Fairy", 3}, | ||
{"Encounter Power", "Fairy", 3} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#pragma once | ||
|
||
#include <vector> | ||
#include <string> | ||
|
||
struct RecipeItems { | ||
std::string name; | ||
int quantity; | ||
}; | ||
|
||
struct RecipeBonus { | ||
std::string name; | ||
std::string type; | ||
int level; | ||
}; | ||
|
||
struct Recipe { | ||
std::vector<RecipeItems> items; | ||
std::vector<RecipeBonus> bonuses; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.