Limelight Forums

Full Version: Tea and Coffee Machine
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: 0066bba110c5bd9e07d83b230000cb07.jpg]

Everyone important loves either tea or coffee, preferably both. Our staff team love these beverages, the Prime Minister and Obama drink tea often, and SpaceX engineers and Elon Musk undoubtedly drink ungodly amounts of coffee.

This is the next step in a series of updates designed to enhance passive roleplay on our server. Making a cup of tea or coffee won't give you any real benefits other than quenching a tiny amount of hunger, and it won't make you more effective in combat, but it does support and enhance many roleplay opportunities. Chefs can sell coffee machines, and people can buy them for home, office, or business. 

Rather than using a dull derma menu, the coffee machine is player interactive. First, you select your beverage using the 'Use' key. Then, insert a mug manually using your hands or the physgun. The machine is currently compatible with the three office mugs from cs_office. I'll add these to the LL spawnlist under food so that you can easily find them. Then, simply press 'Use' again, and it'll make you a delicious beverage! Drinks will spawn as food entities, not as items, so pressing 'Use' on them will cause you to drink them.

In order to prevent abuse to sate hunger, each cup costs $50. A tiny amount for RP, but enough to make spamming coffee a highly inefficient way to sate hunger. You can still use the coffee machine to prevent yourself from starving or even to fully sate hunger - there are no rules against it - but you're much better off using real food!

[Image: 83748385367f05ef5adcd899fb7eddd1.png]

Mug props can be found here:
[Image: 117c8add7a4bec4516da3828b71e81fb.png]

While this update is by no means anything major in comparison to the back-end work that's currently going on, I hope it'll help aid in lots of passive roleplay. In making this, I learnt some better ways and techniques to manage this kind of passive roleplay entity, so future updates should be even better.

Coding - Faustie
Custom sound - Barkles
Thanks to BlackDog, Enzyme, Nacreas, and Safira for their input and suggestions.

Drink up!
Nice update, thanks!
My firestation breakroom thanks you soooooooo much!
Looking forward to seeing this in action. Great work, Faust!
Hopefully we won't be Mugs about this.
But I like the update a latte.
Nice to see Passive RP being promoted!

EDIT: Already in an ECPD Armory dupe.
Slight update: Players can now use their physgun to manipulate coffee machines and also laboratories (r885 https://limelightgaming.net/services/cha.../index.php ). Happy building!
Works really well, nice work!
Well, this is a pleasant surprise!
Thanks!
Yessssss, reminds me of my unquenchable thirst for black coffee.
Sweet update! Nice work Faust
This looks nice and all, but I also noticed I now have unlimited flashlight as a cop! Woohoo!
In case your wondering the sound is 

First part - me breaking my coffee machine in a wardrobe 

Beep- someone's nan's microwave 

Last 20 seconds or so - a nice German man's coffee machine.

SEE BRYNN I DONT JUST PRESS BUTTONS!!!!!
Just needs donuts for the perfect police passive RP.
Lovely.
Pages: 1 2