Drinks For Your Sims - updated for patch 1.63/1.67

Downloaded 100,046 times 2,099 Thanks  Say Thanks! 491 Favourited 419,219 Views
Uploaded: 19th Apr 2010 at 8:15 PM
Updated: 8th Nov 2014 at 8:12 AM
Please note. I no longer support these mods. Instead all my mods can now be found at Nraas.
No changes needed for 1.67

File Name: ani_GetDrunk_1.63.zip

Updated for the new patch. No changes except I accidentally uploaded the shorter values by default, so moodlet values are buzzed 3h, tipsy 6h, drunk/hangover 12h.
Remember you can always tune these if you want them longer.

File Name: ani_GetDrunk_1.55.zip

- The counter buff now has a name "Wait for it..."
- You now get drunk from playing juice pong
The counter starts immediately when you play but the interaction doesn't cancel playing so you can finish your game before you do the drunk interaction
- You now get drunk from doing a juice keg stand

Pouring juice doesn't get you drunk. I do listen to the kJuiceKegPourJuice but it doesn't seem to get activated.

File Name: ani_GetDrunk_1_50.zip / ani_GetDrunk_shorter_1_50.zip (only use one, the shorter package has shorter moodlet length).

Quote: Originally posted by JT`
What I would suggest, if possible, is to create a "Drinking Juice" moodlet that lasts for a random amount of time between 10 and 20 minutes, preferably tunable for the minimum and maximum range, which then triggers the interaction when it runs out. This at least gives them the opportunity to take a couple of sips and to chat with friends while drinking before they go nuts.

Now when sims have a drink, there is a counter moodlet, 20 minutes. When that runs out, the drunk interactions happens. If you drink while you have the counter, the counter resets. You can change the counter time out from the buffs xml in the mod. The moodlet doesn't have a name because I couldn't figure out what to call it, if you have good suggestion I'm all ears and can update the name the next time this mod needs updating.

File Name: ani_GetDrunk_Seasons.zip

If you don't have seasons, you can use the 1.38 version, but if you have seasons I suggest you update to the seasons version.

EA inherited the concession stand drinks from the same glass object as bar drinks. So my drunk mod treated them as booze and you could get drunk form coco
The Seasons update fixes this.

No changes needed for 1.42
Drinks For Your Sims
Filename: ani_GetDrunk_138.zip

Note: There are two files in the zip, ani_GetDrunk and ani_GetDrunk_Shorter. The shorter file's moodlet values are buzzed 3h, tipsy 6h, drunk/hangover 12h. Use only one of these.

Bugs: The custom moodlets are still not saved when you exit and return to the game. Almost have it working, so hopefully by seasons it's fixed.

Filename: ani_GetDrunk_nectar.zip

Same mod as before but now you also get drunk from drinking nectar. I did this change because the ATS alcohol bottles are cloned from nectar, so now you can get drunk from them.

Note: Only use one version. If you download this, remove the older one from your mods folder.

Filename: ani_GetDrunk_SHT.zip

- updated for SHT
- hang-over moodlet is now custom as well.

- Custom moodlets are not saved when restarting the game. Basically if you have a drunk moodlet, save exit, and re-load the game, the moodlet is not there.

Next version
- I want to find a better image for the hang-over moodlet. I know which one I want to use, but I couldn't find it-

Drinks For Your Sims
Filename: ani_GetDrunk_V2.zip
The mod is updated for pets and patch 1.29

1. I cleaned up the description below, it was too long and talking about things no longer valid in the mod.
2. Please note this is still experimental, I've tested this in my test hood and I've used it in my main hood, but I've not played excessivly with it since I did the custom moodlets.
3. I'll keep the old version of this mod up, until SHT comes out. Then hopefully all bugs in the new ones have been fixed.

What's new in version 2:

Quote: Originally posted by JT`
Would it be possible to disable the interaction popups?...
It could probably be accomplished by three stages of custom moodlets -- "buzzed", "tipsy", and then "drunk" -- at which point hangover penalties apply.

This pretty much summons it up. Now, the mod works as follow. From the first drink you get buzzed, from the second tipsy, from the third drunk. When the drunk moodlet runs out, you get the hang-over moodlet which is nauceas from juice.

If you have a drink while drunk, the drunk moodlet will reset.
If you have a drink while having a hang-over, the hangover moodlet is removed and replaced with drunk.

The buzzed, tipsy and drunk moodlets are custom, but I used already in the game exisitng moodlet images. The nauseas moodlet is the normal in-game moodlet, not custom.

Modding the mod:
You will need to open the mod up with S3PE.

- To modify the new moodlets you will need to modify the Ani.Drunk.Buffs xml.
- To modify the hang-over moodlet, you will need to modify the xml file that has no name
- Drunk notifications are now turned off. But you can turn them on via the xml.

Special thanks to Twallan for answering my question about custom moodlets.
Also for his mods, that I studied to figure out how do custom moodlets work.
The code to reading the moodlet xml is copypaste code from Twallan's woohooer mod, so thank you for that also.
And of course to JT` for giving the idea for the changes.

None to my knowledge, but I'm sure there are some.

Drinks For Your Sims
Filename: ani_GetDrunk_PETS.zip
The old version of the mod, will be removed when I'm satisfied with the new one.

In TS2 one of my favorite mods was a six pack of beer that you could get from your fridge, drink it and get drunk. Drunk meant you did one random interaction after that, running around naked was my favorite

For the lack of creative powers of my own, I give you a ripped off version of that mod.

How It Works
This mod listenst to the EventTypeId.kHadADrink and when it is triggered, my custom code for making Sims drunk, will appear.

Random interactions are split to two categories, done to yourself and done to others. When you select the drink, the game will select which interaction to choose the action from.
The random interaction will always be done to yourself if
- you are alone on the lot
- if the other Sims on the lots are children or below (random interactions to others should only happen to teens and above)

Random Interaction done to others
For this I use an in game method that returns all possible interactions for the Sim who's drunk to the Sim who's randomly chosen. So this can be anything from innocent chatting, to flirting with your best friend's spouse to fighting. It's random.

Random Interactions done to yourself
- Sing: They will use the WA sing animations, but sing the song from the shower, it doesn't always sync up well, but what drunk singing does?
- Pass Out
- Wet Self
- Get Naked (or if already naked, choose a random outfit)
- Talk to Self
- Bad Buzz (the animations from getting electrocuted)
- Cry
- Drunk Hysteria (a collection of three or four laughing animations). This is the only interaction I'm not happy with so I'll most likely change it to something different when I update this mod.

Have fun
- ani

Additional Credits:
- For all the people who created the tools I used, s3pe, s3oc...
- For Kolipoki and his object modding tutorial
- jazzem for testing, thank you tons, it was of great help to me
- Darkpool/Lostaccount for her scrip modding tutorial
- Twallan for answering my question about custom moodlets.