added ingredients, more vegetables in recipe
This commit is contained in:
parent
207744e323
commit
48c15f324b
|
@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.7)
|
|||
include(GNUInstallDirs)
|
||||
|
||||
project (soupbot
|
||||
VERSION 0.2
|
||||
VERSION 0.2.1
|
||||
LANGUAGES CXX
|
||||
)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall")
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* C++ compiler (tested: gcc 6.4)
|
||||
* [cmake](https://cmake.org/) (tested: 3.9.6)
|
||||
* [boost](http://www.boost.org/) (tested: 1.63.0)
|
||||
* [mastodon-cpp](https://github.com/tastytea/mastodon-cpp) (at least: 0.1.4)
|
||||
* [mastodon-cpp](https://github.com/tastytea/mastodon-cpp) (at least: 0.1.5)
|
||||
|
||||
## Get sourcecode
|
||||
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
"mangel",
|
||||
"turnip",
|
||||
"maize",
|
||||
"sweet potatoes"
|
||||
"sweet potatoes",
|
||||
"pumpkin"
|
||||
],
|
||||
"spices":
|
||||
[
|
||||
|
@ -58,7 +59,8 @@
|
|||
"allspice",
|
||||
"cumin",
|
||||
"curcuma",
|
||||
"coriander"
|
||||
"coriander",
|
||||
"parsley"
|
||||
],
|
||||
"fruits":
|
||||
[
|
||||
|
|
|
@ -125,10 +125,14 @@ int main(int argc, char *argv[])
|
|||
string toot = "Todays #soup is made of:\n\n";
|
||||
|
||||
toot += "1 part " + get_ingredient(vegetables);
|
||||
if (dice() > 0)
|
||||
toot += ",\n1 part " + get_ingredient(vegetables);
|
||||
if (dice() > 0)
|
||||
toot += ",\n1 part " + get_ingredient(vegetables);
|
||||
if (dice() > 1)
|
||||
toot += ",\n1 part " + get_ingredient(vegetables);
|
||||
if (dice() > 2)
|
||||
toot += ",\n1 part " + get_ingredient(vegetables);
|
||||
|
||||
if (dice() > 1)
|
||||
toot += ",\na few " + get_ingredient(fruits);
|
||||
|
|
Loading…
Reference in New Issue