Fixes sleeping drunk making you more drunk

Sleeping drunk used to make you even more drunk, despite what the comment stating the contrary. Now, you become less drunk while sleeping depending on how comfortable you are.
This commit is contained in:
TheSardele
2019-08-10 23:46:47 +02:00
parent a84135bf7c
commit 82c46e6232
+1 -1
View File
@@ -332,7 +332,7 @@
break //Only count the first bedsheet
if(drunk)
comfort += 1 //Aren't naps SO much better when drunk?
AdjustDrunk(1-0.0015*comfort) //reduce drunkenness ~6% per two seconds, when on floor.
AdjustDrunk(-0.2*comfort) //reduce drunkenness while sleeping.
if(comfort > 1 && prob(3))//You don't heal if you're just sleeping on the floor without a blanket.
adjustBruteLoss(-1*comfort)
adjustFireLoss(-1*comfort)