Added spaces for better readability if newlines are squashed.

This commit is contained in:
tastytea 2018-02-28 22:44:44 +01:00
parent 36b6449fc7
commit 4da4565f67
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.7)
include(GNUInstallDirs)
project (soupbot
VERSION 0.2.3
VERSION 0.2.4
LANGUAGES CXX
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall")

View File

@ -135,37 +135,37 @@ int main(int argc, char *argv[])
toot += "1 part " + get_ingredient(vegetables);
if (dice() > 0)
toot += ",\n1 part " + get_ingredient(vegetables);
toot += ", \n1 part " + get_ingredient(vegetables);
if (dice() > 0)
toot += ",\n1 part " + get_ingredient(vegetables);
toot += ", \n1 part " + get_ingredient(vegetables);
if (dice() > 1)
toot += ",\n1 part " + get_ingredient(vegetables);
toot += ", \n1 part " + get_ingredient(vegetables);
if (dice() > 2)
toot += ",\n1 part " + get_ingredient(vegetables);
toot += ", \n1 part " + get_ingredient(vegetables);
if (dice() > 1)
toot += ",\na few " + get_ingredient(fruits);
toot += ", \na few " + get_ingredient(fruits);
if (dice() > 1)
toot += ",\na good handful " + get_ingredient(misc);
toot += ", \na good handful " + get_ingredient(misc);
if (dice() > 1)
toot += ",\na good handful " + get_ingredient(misc);
toot += ", \na good handful " + get_ingredient(misc);
toot += ",\n" + get_ingredient(spices);
toot += ", \n" + get_ingredient(spices);
if (dice() > 0)
toot += ",\n" + get_ingredient(spices);
toot += ", \n" + get_ingredient(spices);
if (dice() > 1)
toot += ",\n" + get_ingredient(spices);
toot += ", \n" + get_ingredient(spices);
if (dice() > 1)
toot += ",\n" + get_ingredient(spices);
toot += ", \n" + get_ingredient(spices);
if (dice() > 2)
toot += ",\n" + get_ingredient(spices);
toot += ", \n" + get_ingredient(spices);
toot += ",\nan ample amount of " + get_ingredient(highprio);
toot += ", \nan ample amount of " + get_ingredient(highprio);
if (dice() > 1)
toot += " and " + get_ingredient(highprio);
toot += ",\nand plenty oil. Salt to taste.\n\nHappy cooking! 🍲\n\n#bot";
toot += ", \nand plenty oil. Salt to taste.\n\nHappy cooking! 🍲\n\n#bot";
string answer;