Skip to content

Commit

Permalink
Update brewxml.htm
Browse files Browse the repository at this point in the history
  • Loading branch information
LKosoj committed Sep 23, 2023
1 parent 0c6fb45 commit f6ecc72
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions data/brewxml.htm
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@

function get_recipe(recipe){
is_program = false;
program = "M;45.00;0;1^-1^2^3\n";
program = "M;45.00;0;1^-1^2^3;0\n";
//show main info
document.getElementById("STYLE").textContent = get_object_value(recipe.RECIPES.RECIPE.STYLE.NAME);
document.getElementById("NAME").textContent = get_object_value(recipe.RECIPES.RECIPE.NAME);
Expand Down Expand Up @@ -414,7 +414,7 @@
dl1.appendChild(step_time);

dl.appendChild(dl1);
program = program + "P;" + step_temp.textContent + ";" + step_time.textContent + ";1^-1^2^3" + "\n";
program = program + "P;" + step_temp.textContent + ";" + step_time.textContent + ";1^-1^2^3" + ";0\n";
}

var ingr = document.getElementById("mash");
Expand All @@ -430,19 +430,19 @@
for (let hop of HOP){
t = decimalAdjust("round",get_object_value(hop.TIME));
if ((bth - t) <= 0) {
program = program + "B;0.00;1;1^-1^2^3\n";
program = program + "B;0.00;1;1^-1^2^3;0\n";
}
else {
program = program + "B;0.00;" + (bth - t) + ";1^-1^2^3\n";
program = program + "B;0.00;" + (bth - t) + ";1^-1^2^3;0\n";
bth = t;
}
}

if (bth > 0) {
program = program + "B;0.00;" + bth + ";1^-1^2^3\n";
program = program + "B;0.00;" + bth + ";1^-1^2^3;0\n";
}

program = program + "C;" + pt + ";0;1^-1^2^3\nF;" + pt + ";0;1^-1^2^3";
program = program + "C;" + pt + ";0;1^-1^2^3\nF;" + pt + ";0;1^-1^2^3;0";
is_program = true;
}

Expand Down

0 comments on commit f6ecc72

Please sign in to comment.