A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/player/drink_alcohol
Name: drink_alcohol - make a player drink alcohol
Syntax:
int drink_alcohol(int intox, int soak)
Description:
The drink_alcohol call makes a player drink alcohol. Depending on the
level, a player is not able to drink any more alcoholic beverages if he
is too intoxicated or too soaked.
This call is mainly used in obj/alco_drink.
Return value:
1, if successful, 0 if not.
Examples:
this_player()->drink_alcohol(10, 10);
See also:
This page was generated in LPC
Imprint / Impressum