Presto Ragu
Member
And this is what I use to shut down mafia.
It verifies that I have had my nightcap, and put on my Nightly outfit.
It verifies that I have had my nightcap, and put on my Nightly outfit.
Code:
if( can_drink())
{
int drunklimit;
drunklimit = 15;
if( have_skill( $skill[liver of steel]))
{
drunklimit = 20;
}
if( have_skill( $skill[the ode to booze]) && have_effect( $effect[ode to booze]) == 0 && my_maxmp() > 49)
{
cli_execute( "abort You have not cast Ode yet.");
}
if( my_inebriety() < drunklimit)
{
cli_execute( "abort You have not had your nightcap yet.");
}
}
cli_execute( "outfit nightly");
cli_execute( "exit");