Author Topic: Breathalyzer script  (Read 1001 times)

Hey there.

I was wondering if there was someone out there who was inclined to make a breathalyzer script. Basically, I was thinking of a beer add on that came with it. If people drank more than like 3 beers they would see their blood alcohol level rise and their vision would be impaired. The breathalyzer tool could be used on people by law enforcement for RPs and stuff.

Just an idea. If anyone wants to make this, I'd love that. Thanks.

PM me if you're interested.

you could use logarithmic/exponential functions and stuff for the BAL

I've already made a beer item. Maybe you could use the model from that?

http://forum.blockland.us/index.php?topic=243057.0#post_Beer

Yeah, I could probably use the model but I just don't know how to script.

Well, you could do some research on how many beers corresponds to what blood-alcohol level, and have a script to mimick that by calculating blood-alcohol level through the number of beers they've had.

Well, you could do some research on how many beers corresponds to what blood-alcohol level, and have a script to mimick that by calculating blood-alcohol level through the number of beers they've had.
I did some research on blood alcohol levels but then I just said "Meh, I'll just make it rise by 0.06 per drink.".

the beer mod uses an alcohol level variable that's assigned to the client that drinks
im sure you can use this for the breathalyzer