okay here is what you do:
go into your database and goto the common events tab and make a new event called drunk
make sure it is parallel process then open the command box(click the <> twice) and goto the third page and click the conditional branch and make variable drink(or name it anything) is equal to or greater then what ever number you want make sure the else handler is not checked
so i should look like this:
<>Branch if Var [xxxx:Drink] is {x} or more
<>
: End
<>
{x} is the number you chose and the xxxx is just the number of the variable
then click the <> in side the branch you just made and have it tint screen then add weather effects fog weak so now it should look like this:
<>Branch if Var [xxxx:Drink] is {x} or more
<>Tint Screen: (R100,G100,B100,S040), 1.0 sec (Wait)
<>Weather Effects: Fog, Weak
: End
<>
now that you have this done you need to goto the items tag and make an item called wine or beer or anything you want and make it a switch event, so then you need to go back to the common event tag and make a new event called drink what you need to do is have it add 1 to drunk variable so it should be like this:
<>Variable Oper: [xxxx:Drink] Set, 1
and have the event a parallel process and the switch is drink or something
now go back to the item tag and have the switch as drink
okay for him to be sober just have in the drunk event a timer and then make another conditional branch and have that if the timer is grater then or equal to what ever time you want so it'll be like this:
<>Branch if Var [xxxx:Drink] is {x} or more
<>Tint Screen: (R100,G100,B100,S040), 1.0 sec (Wait)
<>Weather Effects: Fog, Weak
<>Timer 1 Operation: Start
<>Branch if Timer 1 is xMS xxS or more
<>Tint Screen: (R100,G100,B100,S100), 1.0 sec (Wait)
<>Weather Effects: None
: End
the x's are whatever you want them to be so i think thats it any problems just ask