In one of my scripts I submit a URL using cli_execute to drop the Teetotaler path after getting Stomach of Steel:
but I cannot find a way to get Mafia to update the can_drink() and inebriety_limit() responses now that the path has been dropped other than logging in again (the status refresh command on line 2 doesn't do it). Is there a specific Mafia command I should use to drop the path or refresh the player characteristics?
Code:
cli_execute("account.php?action=unpath&pwd&confirm=on");
cli_execute("status refresh");
but I cannot find a way to get Mafia to update the can_drink() and inebriety_limit() responses now that the path has been dropped other than logging in again (the status refresh command on line 2 doesn't do it). Is there a specific Mafia command I should use to drop the path or refresh the player characteristics?