2023-05-21: Yes, we're back. No, you can't login yet

Beer

Uploaded by Jes00

The add-on board icon. Weapons
The add-on file name icon. Item_Beer.zip
The add-on upload date icon. Apr 7th 2016, 1:25 AM
The add-on download count icon. 2,438

Description

A beer bottle with two UI names so that you can choose which mode it starts at in the player's inventory. The player may right click to flip the bottle to use it's other mode. It has two modes:

Drink When you take out the bottle, a snazzy bottle cap comes flying off. If used in drink mode, your screen will flash white and red(the amount depending on your alcohol level) and the bottle will be consumed and removed from your inventory. Your alcohol level will be raised by 0.06 every drink. If your alcohol level is below 0.3, you will gain 30 HP every time you drink beer. If it's 0.3 or above, you will loose 15 HP per drink. If your alcohol level reaches 0.08, you will say random drunken messages now and then, plus you will sometimes moan and groan when you chat. When your alcohol level hits 0.3, you will randomly pass out for a few seconds, now and then. If your alcohol level gets to 0.6, you will die of alcohol poisoning.

Weapon You can flip the bottle upside down to use it as a weapon. It will deal 30 damage on first hit, then it will break and 10-25 pieces of glass will go flying, dealing 10 damage for each piece of glass that hits someone. After the bottle is broken it will deal 20 damage when it hits someone and it can no longer be switched back to drink mode.

A big thanks to Mr.Nobody for the models!

Note To Modders If you make something alcoholic and want to use the same system as this, just copy Support_Alcohol.cs and use %player.increaseAlcoholLevel(%num); to increase a player's alcohol level.

Comments (4)

Setro
2017-06-17 16:58:06
Drunken messages get really annoying and occur way too frequently.
Bvi0on:G.O.D
2017-11-02 16:00:09
COOL MAN, messages not need!!! lolol but is cool! mesasages!
Mountaineer
2018-04-30 19:57:23
cool, but i wish that your vision got more and more wonky as you get drunk. but other than that, really cool.
Dglider
2021-02-20 00:17:50
As of 02/19/2020 v0.0.0: This add-on screws up the skis. Line 3 should have "==" not "=". As it is, it will always thing the Skis are disabled, and so it will always set the ski uiname to ""