www/js/global.js

changeset 446
ee7bcfb8e270
parent 439
b72478cd2c18
child 462
c91175610f8a
--- a/www/js/global.js	Wed Aug 21 14:03:08 2019 +0200
+++ b/www/js/global.js	Wed Aug 21 16:28:54 2019 +0200
@@ -118,7 +118,8 @@
 	{ id: 0, en: 'Pellet',   nl: 'Pellets' },
 	{ id: 1, en: 'Plug',     nl: 'Plugs' },
 	{ id: 2, en: 'Leaf',     nl: 'Bloemen' },
-	{ id: 3, en: 'Leaf wet', nl: 'Hop nat' }
+	{ id: 3, en: 'Leaf wet', nl: 'Hop nat' },
+	{ id: 4, en: 'Cryo',     nl: 'Cryo' }
 ];
 var HopFormSource = {
 	localdata: HopFormData,
@@ -869,6 +870,9 @@
 if(Form==3){// Wet leaf
 pfactor+=my_factor_wethop/100;// From https://github.com/chrisgilmerproj/brewday/blob/master/brew/constants.py
 }
+if(Form==4){// Cryo hop
+pfactor+=my_factor_cryohop/100;
+}
 
 	if(Method==0){// Tinseth
 		/* http://realbeer.com/hops/research.html */

mercurial