Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
[img[setup.ImagePath+'hangover.jpeg']]
<<audio "cheers" volume 0.05 play loop>>
Terrible noise just wakes you up. You have a horrible headache and hangover from last night's beer party with your friends Ambrozius and Luke in your favorite bar.
You are not sure if you want to open your eyes and [[get up|Bedroom Light]] or put a pillow over your head and go [[back|Under Pillow]] to sleep a little bit more.
[img[setup.ImagePath+'wallet-and-mobile.jpg']]
You opened your eyes. You feel very dizzy and weak so you barely manage to get up and get dressed.
You see some your staff on the desk. Luckily you didn't lose it last night.
You can [[pick up|Pick Up]] your staff from the desk, you will probably need them.
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>
[img[setup.ImagePath+'under-pillow.jpeg']]
The horrible noise is just too loud and you can't get back to sleep so you open your eyes and [[get up|Bedroom Light]]
<<if not hasVisited("Under Pillow")>>
<<set $player.exp to $player.exp + 1>>
<</if>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>><<run $playerInventory.push("Wallet")>>
You picked up your wallet from the desk.
<<return>>
<<set $player.exp to $player.exp + 1>>
<<set $player.cash to 20>>
You picked up your mobile from the desk.
<<return>>
<<set $player.exp to $player.exp + 1>>
<<run $playerInventory.push("Mobile")>><<if visited("House Out") is 0>>
[img[setup.ImagePath+'angry-wife.jpeg']]
You realize that the noise which wakes you up is your wife shouting.
"You drunk! You misseralbe bastard! You and your stupid, moronic friends!"
You want to [[argue|Argue Wife]] with her but it is not such a good idea.
You maybe just don't have enough energy to argue with her, and on the other hand, what's the point in arguing the insane people.
Maybe it is best that you just ignore her and [[go out|House Out]] as soon as possible.
<<elseif not $playerInventory.includes("Keys")>>
You left the keys in the house and your wife locked the door. You try to ring the bell and call her but she is not answering so you can't go back to the house.
<<return>>
<<else>>
<img src ="https://beerquest.neocities.org/Images/the-end.jpg" alt="">
This is the end of the begining of Beer Quest: The men side of the story.
<</if>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>
[img[setup.ImagePath+'argue-wife.jpeg']]
"You stupid woman! You lunatic! Leave me alone! You always nagging about something. I am sick and tired of you. I am going out!"
"You no good! If you go out you better don't come back! I will change the lock and you can sleep at your idiot friend Ambrozius's house!"
"You bet I will! Even if I have to sleep on the bench in the park!"
You storm [[out|House Out]] of the house and, of course, slam the door!
<<set $player.energy to $player.energy - $wife.energy>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>
<img src ="https://beerquest.neocities.org/Images/House-Front.png" alt="">
You are in front of your house.
You can go [[left|Ceh Out]] or [[right|Alcatraz Out]]
Of course, you always can [[go back|Living Room]] but that's probably very brilliant idea.
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>
<img src ="https://beerquest.neocities.org/Images/Ceh-Out.png" alt="">
You are in the fron of your favorite bar Ceh pub.
You can go [[in|Ceh In]] to have one delicious Kozel beer or you will pussy and go [[back|House Out]] to your house.
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>><img src ="https://beerquest.neocities.org/Images/Alcatraz-Out.png" alt="">
You are in the front of your second favorite bar Alcatraz.
You can go [[in|Alcatraz In]], go [[back|House Out]] to the house or you can continue walking to [[Cvjetni Square]].
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>><img src ="https://beerquest.neocities.org/Images/Ceh-In.png" alt="">
<<if not visited("Talk Ida")>>
You are in the Ceh pub, your favorite place to hide from all annoying people and troubles.
Old lady Ida is sitting alone at the bar.
Maybe you can [[talk|Talk Ida]] with her.
<<else>>
You are alone in the bar.
<</if>>
You can have a nice cold [[beer|Buy Beer]] or, of course, you can always go [[out|Ceh Out]].
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>"Hey, you! What are you doing here so early?"
"Ah, I had a fight with my wife."
"Oh, you poor little boy. Let old lady buy you a beer. One nice cold Kozel for my dear friend, please! You will feel better immediately!"
"Thank you Ida! This will boost my energy! Oh, ok, I will also get a little bit drunk, but who cares!"
Ida had enough beer and left the building.
<<return>>
<<set $player.energy to $player.energy + 10>>
<<set $player.drunk to $player.drunk + 0.15>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>><<if $player.cash gte 15>>
<<if $player.drunk lt 2>>
"Mmmmmmmm, fantastic! It feels so good! I am full of energy! Also, I feel a little bit more relaxed!"
<<set $player.energy to $player.energy + 10>>
<<set $player.drunk to $player.drunk + 0.15>>
<<set $player.cash to $player.cash - 15>>
<<else>>
You had enough beer for today!
<</if>>
<<else>>
You don't have enough money to buy a beer.
<</if>>
<<return>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>><<set _cheers = setup.SoundPath + "Cheers.mp3">>
<<cacheaudio "cheers" _cheers>>
<<createaudiogroup ":ui">>
<<track "cheers">>
<</createaudiogroup>>
<<set $player to { exp : 1, lvl : 1, energy : 30, drunk : 0.3, cash : 0, account : 1000 }>>
<<set $items to ["wallet", "mobile", "keys"]>>
<<set $wife to { energy : 70 }>>
<<set $playerInventory to []>>
<<set $player.lvl to (Math.trunc($player.exp/3))>>
<<if $player.energy lt 0>>
<<set $player.energy to 0>>
<<elseif $player.energy gt 100>>
<<set $player.energy to 100>>
<</if>>
<<set $player.drunk -= 0.02>>
<<if $player.drunk lt 0>>
<<set $player.drunk = 0>>
<</if>>
<<set $player.drunk to Number($player.drunk.toFixed(2))>>
<<set $player.energy to Number($player.energy.toFixed(2))>>
Experience: $player.exp
Level: $player.lvl
Energy level: $player.energy %
Drunk level: $player.drunk ‰
Cash: $player.cash HRK
Account Balance: $player.account HRK
Your inventory:
<<for _i to 0; _i lt $playerInventory.length; _i++>>
<<print _i + 1>>. $playerInventory[_i]
<</for>>
<<if $player.drunk gt 1 and $player.drunk lt 2>>
You probably had enough beer for today.
<<set $player.energy -= 100*($player.drunk - 1)>>
<<elseif $player.drunk gte 2 and $player.drunk lt 3>>
You really need to stop drinking beer.
GO HOME ALREADY!!!
<<set $player.energy = 0>>
<<elseif $player.drunk gte 2>>
CONGRATULATIONS!
YOU FINISHED THE GAME!
YOU ARE PROBABLY DEAD!
<</if>>
<<if visited("Call Ambrosius") is 0>>
<img src ="https://beerquest.neocities.org/Images/Alcatraz-In.png" alt="">
You are in Alcatraz.
There are only annoying drunk guy in the corner.
Maybe you can [[call|Call Ambrosius]] Ambrosius to come. It is a little bit boring to drink beer alone.
Of course, you can always go [[out|Alcatraz Out]] but since you are already here... maybe you can have one [[beer|Buy Beer]].
<<elseif not $playerInventory.includes("Keys")>>
<img src ="https://beerquest.neocities.org/Images/Ambrosius.jpg" alt="">
"Hey, Ambrosius! Where have you been so long! I almost dehidrated waiting for you!"
"Sorry, I stopped by your house and I spoke with your wife. She gave me your keys so you can come back home."
"Oh, you did't need to bother. I don't want to go home. Let's have a beer."
"Maybe is better for you to go home. We had enough beer last night. Anyway, I have to pick up my kids from school so I can't stay. Here are the keys. By, see you soon!"
"I just remebered, I have a great idea! Why don't you open your craft beer brewery?"
Since Ambrosius can't stay for beer maybe it is really better for you to [[go|Alcatraz Out]] home... or maybe you can have just one [[beer|Buy Beer]].
<<run $playerInventory.push("Keys")>>
<<else>>
You and annoying drunk are alone in the bar and you really dont't want to talk to him so you decide to [[go|Alcatraz Out]].
<</if>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>><img src ="https://beerquest.neocities.org/Images/Cvjetni-Square.png" alt="">
You are at Cvjetni square.
You see an ATM. Maybe you can [[get|ATM]] some cash. You never know, maybe you will need it for beer.
You can go [[back|Alcatraz Out]] to Alcatraz.
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>
<img src ="https://beerquest.neocities.org/Images/RBA-ATM.png" alt="">
<<if ($playerInventory.includes("Wallet"))>>
Enter amount you want to withdraw:
<<textbox "$amount" "">>
[[Withdraw|Withdraw]]
<<else>>
You forget your wallet so don't have you bank debit card with you and you can't withdraw any cash from your account.
<</if>>
[[Exit|Cvjetni Square]]
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>
<<set $amount to Number($amount)>>
<<if $amount lte $player.account>>
You withdraw $amount from your account.
<<set $player.cash += $amount>>
<<set $player.account -= $amount>>
<<else>>
You don't have enough monay on account.
<</if>>
<<return>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>>"Hey Ambrozius, what are you doing? I had a huge fight with that cobra of mine and I am now in Alcatraz."
"Great! Stay there, I am coming!"
<<return>>
<<if visited() is 1>>
<<set $player.exp to $player.exp + 1>>
<</if>><<if (not $playerInventory.includes("Wallet")) and (not $playerInventory.includes("Mobile"))>>
[img[setup.ImagePath+'wallet-and-mobile.jpg']]
What do you want to take?
[[Wallet|Wallet]] or [[mobile|Mobile]].
<<elseif ($playerInventory.includes("Wallet")) and (not $playerInventory.includes("Mobile"))>>
[img[setup.ImagePath+'mobile.jpg']]
You can pick up your [[mobile|Mobile]].
<<elseif (not $playerInventory.includes("Wallet")) and ($playerInventory.includes("Mobile"))>>
You can pick up your [[wallet|Wallet]].
<<else>>
You took everything so you are ready to face the turth and [[go|Living Room]] to a living room.
<</if>>