Adds more quality of life for bartending. (#9630)

This commit is contained in:
Matt Atlas
2020-08-26 02:36:15 +02:00
committed by GitHub
parent 4afa4208ef
commit 7bec3db5f4
8 changed files with 94 additions and 61 deletions
-6
View File
@@ -30,7 +30,6 @@ calculate text size per text.
var/list/out = list()
var/list/tastes = list() //descriptor = strength
var/lukewarm = 0 // should we allow it to be lukewarm or not
if(minimum_percent <= 100)
for(var/datum/reagent/R in reagent_list)
if(!R.taste_mult)
@@ -49,8 +48,6 @@ calculate text size per text.
tastes[taste_desc] += taste_amount
else
tastes[taste_desc] = taste_amount
if(R.default_temperature >= (T0C + 15) && R.default_temperature <= (T0C + 25))
lukewarm = 1
//deal with percentages
var/total_taste = 0
@@ -82,9 +79,6 @@ calculate text size per text.
temp_text = "cold"
if(T0C to T0C + 15)
temp_text = "cool"
if(T0C + 15 to T0C + 25)
if(lukewarm)
temp_text = "lukewarm"
if(T0C + 25 to T0C + 40)
temp_text = "warm"
if(T0C + 40 to T0C + 100)