Beer

Beer is a beverage that functions as a drug. It provides some recreation, and inebriates the user. The more intoxicated a pawn is, the greater their mood, but the worse it is for health and performance. In addition to its intoxicating effects, beer is considered food, as it gives a small amount of nutrition.
It can also be used as a somewhat ineffectual melee weapon, doing less than a club or even a lump of wood, but still more than a normal human fist. Conveniently, the beer is not lost after using it as a weapon.
== Acquisition ==
Beer is produced in three steps. It requires the Beer brewing research to create.
# Plant and harvest hops, which is an easy task and can be done without Research (min Plants Skill 3).
# Turn 25 hops into 5 wort at a brewery. This is a Cooking task, and its speed dependent on cooking skill. There is no chance of food poisoning, so unskilled cooks can create wort, just slower.
# Place up to 25 units of wort (125 hops) into a fermenting barrel for 6 days. Filling the barrel is considered a Hauling task. Partial loads of wort are possible, but less efficient. The size of the load relatively to total capacity is represented by the length of the bar displayed on the barrel once any wort has been added.If more wort is added to a barrel already fermenting, progress will be delayed proportional to both the wort added and already in the barrel. For example, adding 5 wort to a barrel with 5 wort would halve existing progress. Each wort is converted to 1 beer. If temperatures get too hot or cold, the brewing will fail and no beer will be produced. 
# When the fermentation is complete, represented by the fill bar changing color from brown to yellow, the completed beer can be removed. This is considered a Hauling task.
=== Critical temperature ===
The process of brewing involves a living organism, so difficulty can increase greatly depending on your biome's weather conditions. Avoiding delays or failure requires following temperature requirements:
: 
Temperature	Effect
 	Ideal fermenting temperature range
 	Temporarily halts fermentation process, process continues when ideal temperature restored
> < 	Freezing or "too hot" is fatal to the brewing process, all product is lost, all the previous work wasted
The inspect pane will indicate 'Overheating' or 'Freezing', increasing by % per outside the safe temperature range each tick. This is halted when safe temperature is restored, but not reset. If it reaches 100%, the contents are 'ruined by temperature' and no beer can be obtained.
== Summary ==
Beer is a mood enhancing drug that has a variety of effects. These can be broken into effects that occur:
* Instantaneously and one time upon using the drug.
* While high on the drug.
* After being high on the drug.
* While having a built-up tolerance to the drug.
* While addicted to the drug.
* While withdrawing from the drug.
=== Upon drinking ===
A pawn consuming beer will look for a place to sit in a twenty tile radius first, but will also drink it while standing if it doesn't find one. Drinking a beer takes . It has the following one time effects:
* recreation
* Nutrition
* If the pawn has the chemical interest or chemical fascination trait:
** Chemical need
* + to + Alcohol high severity, depending on tolerance (see "Alcohol high" below)
* Tolerance severity, divided by body size (see "Tolerance" below)
* If the pawn has tolerance already:
** Addiction chance (see "Addiction" below)
* If the pawn has an addiction already:
** Alcohol need (see "Addiction" below)
** Addiction progress (see "Addiction" below)
=== Alcohol high ===
Each beer increases the alcohol high severity by the following formula:
Increase in severity = * (100 - (tolerance * 75 round 0))
Therefore with 0% tolerance the severity increases by , with 100% tolerance by . It decreases by per day again, meaning that the high of a single dose lasts between and . The maximum severity of an alcohol high is 100% which is reached with to  beer.
The alcohol high severity not only sets the length of the high but also affects the symptoms.
Level 	Alcohol high severity	Mood 	Pain	Consciousness	Moving	Social fight chance	Other effects
Warm 	>0% 	("I just feel a bit more relaxed after that drink. That's good.")	 	– 	– 	– 	Manipulation
Tipsy 	>25% 	("I'm a bit wobbly! And this is quite enjoyable.") 	 	 	 	 	–
Drunk 	>40% 	("I feel so uninhibited and unafraid! This is a great time!") 	 	 	 	 	on average every 0.75 days. once the alcohol high severity drops below 40% (see "Hangover" below).
Hammered	>70% 	("Wooo! What's going on?") 	 	 	 	 	on average every 0.2 days.
Blackout	>90% 	– 	 	 	– 	– 	The chemical damage occurs on average every 10 days and affects the brain.
Assuming the beers are consumed right after each other with initially 0% tolerance, the different stages last the following times:
Beers Consumed	Hours Warm	Hours Tipsy	Hours Drunk	Hours Hammered	Hours Blackout
 	 	 	 	 	
 	 	 	 	 	
 	 	 	 	 	
 	 	 	 	 	
 	 	 	 	 	
 	 	 	 	 	
 	 	 	 	 	
==== Hangover ====
Once a colonist reaches at least the drunk state, they will go through the hangover stages after their alcohol high severity drops below 40% again. It isn't visible until after the alcohol effect is fully gone however. If a colonist drinks beer while hungover they will be both hungover and inebriated. Severity starts at 100% and decreases consistently to 0% over the course of a full day, 
Level 	Severity %	Mood 	Consciousness	Other effects
Pounding 	>40% 	("It feels like a gaggle of geese are pecking at my skull.")	 	on average every 0.4 days.
Strong/serious	>15% 	("My head hurts from all that liquor.") 	 	
Slight/mild 	>0% 	("The headache is almost gone.") 	 	
=== Tolerance ===
Each beer consumed increases the tolerance of the pawn by the following formula:
Increase in tolerance = / body size
Thus smaller or not fully grown pawns gain more tolerance per drug use then bigger or fully grown ones. An adult human has a body size of . Tolerance decreases at a rate of per day.
See sections "Alcohol high" and "Addiction" for how tolerance affects alcohol high severity and addiction chance respectively.
If the tolerance is above a certain thresholds it imposes a chance over time to gain the following ailments:
Tolerance above 45% imposes a chance to get cirrhosis in the liver proportional to the tolerance held.
Tolerance	Average cirrhosis interval	Graph
45% 	99999 Days 	
50% 	60 Days 	
100% 	45 Days 	
Tolerance above 45% imposes a chance to get carcinoma in the liver proportional to the tolerance held.
Tolerance	Average carcinoma interval	Graph
45% 	99999 Days 	
50% 	180 Days 	
100% 	150 Days 	
=== Addiction ===
Once a pawn has a alcohol tolerance of or above, each dose carries a chance of alcohol addiction that scales with tolerance. Due to the minimum tolerance to addict, beer can be safely consumed once every without risking addiction, so long as the pawn has a body size of 1 or higher and their tolerance is not already elevated before starting the schedule.
The chance of addiction is as follows:
Tolerance	Addiction chance	Graph
0% 	0% 	
 	 	
50% 	 	
80% 	 	
The addiction progresses by per day from the initial 50%. Once it reaches 100% the addiction is healed, meaning it takes about to overcome the addiction. Drinking beer during an alcohol addiction will reduce the addiction progress by again (see "Upon drinking" above).
Developing an addiction also means a pawn has an alcohol need. The need for alcohol falls by per day, drinking beer satisfies the need by (see "Upon drinking" above), meaning the pawn will need to drink beer at least every to prevent withdrawal symptoms.
=== Withdrawal ===
As soon as the alcohol need reaches 0%, the pawn suffers from the following withdrawal symptoms:
* Mood ("Feeling shaky. Everything pisses me off. I keep thinking of drinking.")
* Consciousness
* Moving
* Manipulation
* chance:
** Social drug binge: on average every days. This averages to during each withdrawal.
== Analysis ==
Beer is one of the most difficult drugs to get addicted to - a pawn at 0% tolerance would need to drink 15 beers to get addicted. Therefore, beer is great for chemical interest pawns and High Life ideoligions. Note that alcohol binges can still lead to blackouts, which can lead to permanent brain damage.
Even for ordinary pawns, beer can be a good source of mood increase. One beer per day gives mood for 4.8 hours with no chance for addiction and a tiny Manipulation. It is recommended to set the drug policy to remove "Take for Recreation". Instead, set a schedule for pawns to take beer once per day. You can also set pawns to drink beer only when mood is low (while still only once per day) to conserve on beer.
In some cases, you can use beer to down animals - they will drink it if they have no other food source. This technique can even down thrumbos, allowing for an easy kill. Note that this will take multiple bottles depending on the creature and they will only attempt to drink the beer when there is no other food source that they can reach. This also applies to colony animals, so watch out.
=== Brewing temperature ===
Because the "fatal" range is unforgiving even for a moment, it's recommended to keep your temperatures well within the "ideal" range and have a separate, emergency power/temperature system so that an open door or short-term power loss will not cause the loss of the batch. Double-walling your brewery to insulate from extreme temperatures, and/or installing a long* entry hall/room as an "air lock" with doors at each end is not a bad idea. Also, when planning the location of your brewing, be aware that a kitchen will often be quite warm, as active stoves produce excess heat.
: (* 6 tiles long gives time for the first door to shut before your colonist opens the next, so that your brewery is not exposed to "outside" temperatures. Autodoors would shorten this required length.)
=== Trade ===
Beer is more or less equal to smokeleaf joints. Beer takes more planter work per item for less cook work per item. Beer is worth more silver, but it takes longer to load. Therefore, smokeleaf can be better with a better cook, and beer better with a better planter. Beer brewing requires research, though drug labs are needed to make smokeleaf at 100% speed, and they are unlocked with Drug production research.
Beer is almost completely inferior to flake as a trade drug, as beer takes more planter work per item, is worth less per item, for less work per item created (not including extra loading). Flake creation is based off Intellectual skill, so beer may have a niche if you have a pawn great at Cooking, but no intellectual pawn.
Regardless - if your colony already uses beer, then you can sell any excess beer to traders.
== Production math ==
Don't worry, we'll walk you through it...
* 25 hops makes 5 wort
* A single fermenting barrel can hold up to 25 wort
* 1 wort = 1 beer
That means that 125 hops items = 25 wort = 1 full barrel = 25 beer. 
* Fermentation takes 6 days for 25 beer.
* 1 pawn can drink 1 beer/day without risk of addiction.
Due to inefficiency, let's assume that the entire loading process takes 7 days. 1 barrel can therefore support 3.5 pawns (25 beer/7 days). It would not be too hard to have everything in place and approach something just over 6 days/run, which, if maintained, would give you a production rate closer to 1 barrel = beer for 4 pawns.
Before difficulty multipliers and the Plant Harvest Yield stat, and assuming hops are grown in regular soil: 
* 1 barrel can hold up to 16 hop plants' worth of yield at a time.
* 24 hop plants are enough to sustain 1 barrel indefinitely. (This is more than enough to fill a barrel, but hops grow slower than the fermentation process)
** In Losing is Fun, a grower with 8 Plants skill would require 30 hop plants to fill 1 barrel indefinitely.
== Trivia ==
In real life, beer is brewed from malted barley/wheat, not hops. Hops are used in the brewing of beer to provide flavor and as a preservative. 
Also unlike its RimWorld counterpart, real beer is typically not flammable as it does not have sufficient alcohol content. In fact, a bottle of beer being placed in a fire would be more likely to extinguish it when the bottle broke.
This, along with wood, is one of only two items that serves dual purposes as both a usable item and an improvised weapons.
== Gallery ==
Beer a.png|One beer
Beer b.png|Stack of beer
== Version history ==
* 0.9.722 - Possibly Added. Beer brewing, beer drinking, inebriated thoughts, ability impacts and hangovers added.
* ? - No longer produced directly from hops at the brewery, now must be placed in barrels to ferment.
* Beta 19/1.0 - Beer fermenting time 10 days -> 6 days. Buffed beer bottles slightly (~10%) above fists in terms of DPS. Alcohol loses hidden ‘buzzed’ stage;‘warm’ begins from 0 severity. Alcohol severity per day -1.0 -> 0.75, so it lasts longer. Alcohol mood gains all increase +2.
* 1.1.0 - Fix: Pawn with alcohol-induced brain damage are doomed to die.
* 1.5.4062 - Drug tolerance gain is now divided by body size and not body size squared - this also had the effect of making the suggested safe dose intervals for children correct.
Category:Drug Category:Social Drug
Category:Equipment Category:Weapons Category:Neolithic Weapons
Category:Melee Weapons Category:Blunt Weapons Category:Improvised Weapons