I looked up parsing errors in the mafia wiki, but honestly, I do not understand why I have a parsing error in the last line with the "}".
Could someone enlighten me, please?
Could someone enlighten me, please?
Code:
void overdrink1() {
outfit( "Overdrink" );
while ( item_amount($item[Frosty's frosty mug])< 1 )//' {
buy(1 ,$item [Frosty's frosty mug]);//'
}
while ( item_amount($item[jar of fermented pickle juice]) < 1 ) {
buy(1 ,$item [jar of fermented pickle juice]);
}
use_skill(1 ,$skill [The ode to booze] );
drink(1, $item[Frosty's frosty mug]);//'
overdrink(1, $item[jar of fermented pickle juice]);
chew(1, $item[coffee pixie stick]);
chew(1, $item[octolus oculus]);
outfit( "Rollover" );
}