MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Cooler

by Arsil Posted 9th Jun 2016 at 11:12 PM - Updated 8th Jul 2016 at 10:39 PM by Arsil : Updated
36 Comments / replies (Who?) - 12 Feedback Posts, 12 Thanks Posts
2016 July 8th Update : ReWrote the code about drinks/beverages to support
more beverages including the custom ones from this mod.
I don't remember if some of the official EA beverages have age restrictions (they probably do), but the custom
ones will probably be drinkable by anyone when inside the cooler. That may be or may not be an issue.

2016 June 11th Update : Fixed the override package. Sorry for the inconvenience.

2016 June 10th Update

You probably need to delete any cooler in game and replace it with a new one, not sure.

Added a filter to enable only some Sims to autonomously eat/drink items inside the cooler.
I haven't tested this feature much, so let me know if there's something wrong.
I'm not sure about the Group filter specifically. Available filters:
  • Active Sim only (useful when you are stocking the cooler and don't want anyone else to mess with it)
  • Selectable Sims only
  • Group only (includes Selectable Sims)
  • Friends only (includes Selectable Sims and Romantic Interests)
  • Everyone
This is useful for gameplay reasons but also because the eating/drinking interaction is relatively
computationally heavy - no more than those of the fridge, don't worry - and a more strict filter
will make it lighter (technically, I'm speaking of the Test method of the InteractionDefinition which
is continuously probed by the autonomy system).

The grouping and the relationships checks are based on the currently selected Sim
(so if you switch it then the list of Sims enabled to eat from the cooler may change).
There's a setting in the xml to apply or not the filter also to the "cleaning" interaction.
Mod Info & Requirements

Game version 1.67 (might work with other patch levels, beats me)

Requires the CoolBox by ATS3's Sandy CC (the red one with the handle on the top).
The script can be associated to virtually any object (see below for more info),
I just happened to like this one and I've used it (with permission) as a base.

Description

This is a cooler (or cool box). I've used an existing object by ATS3's Sandy, which is required
and I've got permission to "use", I've simply overridden a few resource: that's why one of the
three packages, guess which one, in the archive goes into the Overrides folder
.
DashBoard will report a conflict, but that is exactly the point.

It works like a fridge for the cooling process, but it is portable and has its own inventory.
Fridges use a so called "shared inventory" which is linked to the lot they are in, the term
"shared" is related to the fact that every fridge in a lot shares the same inventory.
But I'm sure you already know that.

You can drag and drop any object inside the cooler, but it will recognize spoilable food.
The spoilageMultiplier I've used is lower than that of the cheapest fridge, but, like
other things in the mod, it is xml tunable.

I've also added ice packs, so the cooler will keep foods fresh only if there's at least
one ice pack inside it. Ice packs expire after some time and are automatically destroyed.
If you find stocking ice packs and check their expiration annoying you can disable the
expiration (at that point you just need to remember to put at least one inside the cooler).

To eat the food inside the cooler you can drag and drop it outside (useful with group
serving to use "call to meal") or use a eating/drinking interaction (code-wise it's a
monstrosity, be careful if you look at it) which is the option used autonomously by Sims.

NOTE: There might still be a few glitches in the mod, but nothing serious or harmful.
Additional Credits

All respective authors and contributors of the tools and tutorials for modding TS3.
MTS and all modders who made the game much more enjoyable.

ATS3's Sandy whit whom I've kind of indirectly collaborated.
Tags: #cooler, #food, #dried, #drink, #eat

Type: Other

You must have the expansion, game version or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 3
Built with Game Version: 1.67
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
Arsil_Cooler.zip | 3 packages, one goes in the Overrides folder

Size: 27.4 KB · Downloads: 11,205 · 8th Jul 2016
27.4 KB 11,205 8th Jul 2016
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

See: Game Help:TS3 CC Basicswiki for a full guide!
 
36 Comments / Replies (Who?) - 16 Feedback Posts, 15 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 1 of 2
Inventor
Original Poster
#2 Old 9th Jun 2016 at 11:12 PM Last edited by Arsil : 11th Jun 2016 at 7:21 AM. Reason: SimCola
Default SimCola
This is not much, but it's nice to have a beverage that Sims can store in their inventory
and drink when they want*. So it works well with the cooler (but it's independent from it).

* EDIT: actually also beverages from UL vending machines work that way, my bad.
Then I guess the only merit of mine is to be BG compatible.

Anyway this is called SimCola and is a can. You can find it in the
BuyCatalog/ByFunction/Appliances/Misc
Game version 1.67. I think it is basegame compatible, but I've made it some time ago and I'm not sure.

Note: if you clone the object, re-texture it and change its name (the name is used in the interactions' name)
you can create custom cans. Of course the difference will only be aesthetic.

This object too can be added to the grocery store shopping list using the keyword "ArsilSimCola" in the xml.
Download - please read all instructions before downloading any files!
File Type: zip Arsil_SimCola.package.zip (8.7 KB, 1554 downloads)
Inventor
THANKS POST
#3 Old 9th Jun 2016 at 11:53 PM Last edited by desiree101 : 10th Jun 2016 at 2:21 AM.
Oh my goodness, this is excellent! I can see so much potential for this mod
So is this 'fridge' shared too? I mean, could sims who live in an apartment (one big lot divided into seperate apartments) have their own selected foods in seperate coolers or is the food shared? I've avoided making an apartment for that reason alone, but if this cooler could allow seperate fridge 'inventories' that would be amazing!

Edit: Okay, I've just tested this out and I love it so much! And yes, sims on one lot can have seperate coolers, which means I can have a proper apartment block and sims will have their own foods I know they can't cook the foods straight from the cooler like a normal fridge, but they can cook with the ingredients from their inventory so all I have to do is place the foods they want to use in their inventory - that's great!
Inventor
#4 Old 10th Jun 2016 at 12:25 AM Last edited by Naus Allien : 10th Jun 2016 at 12:52 AM.
Great work again, Arsil!
I have to report a couple of things, though. First, I don't know if I did anything wrong but your cooler appears as a metallic silver sphere, while ATS3's cooler does appear correctly (in App -> Misc) but it mimics the fridge's interactions. Other than that, the cooler sphere seems to work OK. I don't know if this a bug or not, but when you command your Sims to grab something, the plate or drink will appear attached incorrectly to the Sim's hand for a second (before he or she starts eating/drinking).
Screenshots
Field Researcher
THANKS POST
#5 Old 10th Jun 2016 at 12:59 AM
Oh my!! I love this so much too!!! Thanks for making the mod continuously. I really really thank you!!!
Top Secret Researcher
THANKS POST
#6 Old 10th Jun 2016 at 2:32 AM
Arsil .. You've done it again. This is awesome and so many possibilities for use. Love the fact that multiple sims on a lot can have their own cooler. Thank you a million for this and all your wonderful creations
Scholar
THANKS POST
#7 Old 10th Jun 2016 at 4:58 AM
Thanks!
Lab Assistant
THANKS POST
#8 Old 10th Jun 2016 at 7:04 AM
Thanks so much for these! I know you don't take requests. So this is just a question - do you have any plans to create juice maker?
Inventor
Original Poster
#9 Old 10th Jun 2016 at 7:34 AM
Sorry for the poorly worded and misleading description, I'll update it soon.
Test Subject
#10 Old 10th Jun 2016 at 7:48 AM
Default Thank you!!!
My goodness! This is just just.....awesome! I love the cooler but I'm over the moon about ArsilCola, I can now make custom cans of beer. Any chance these could cool sims down in the summer?

I've been trying to make drinkable water, milk and beer for a while, I found this glass of milk recently and tried all the objk scripts in game to make it drinkable, no dice. The milk object from the Milking it Dairy Coral(Store) has a lovely sitting down animation that works with it but the interaction was buggy and wouldn't end properly.

I'm going to test your Cola Script with the Buffsumm's milk, as soon as I can play.
Instructor
THANKS POST
#11 Old 10th Jun 2016 at 11:18 AM
Great idea! Thank you
Mad Poster
THANKS POST
#12 Old 10th Jun 2016 at 5:03 PM
Cool!
...Pun not intended.
Lab Assistant
#13 Old 10th Jun 2016 at 5:43 PM
Quote:
Originally Posted by simhanna
My goodness! This is just just.....awesome! I love the cooler but I'm over the moon about ArsilCola, I can now make custom cans of beer. Any chance these could cool sims down in the summer?

I've been trying to make drinkable water, milk and beer for a while, I found this glass of milk recently and tried all the objk scripts in game to make it drinkable, no dice. The milk object from the Milking it Dairy Coral(Store) has a lovely sitting down animation that works with it but the interaction was buggy and wouldn't end properly.

I'm going to test your Cola Script with the Buffsumm's milk, as soon as I can play.

I agree the cola itself is a cool item, apart from the "coolness" of the cooler. I'm looking forward to your water and beer objects, Simhanna. A cooler needs some cola, beer and water, at least mine does.
Inventor
#14 Old 10th Jun 2016 at 6:26 PM Last edited by Naus Allien : 10th Jun 2016 at 8:34 PM.
I finally made it work. There was no way your override would actually override ATS3's cooler (I did put it inside the override folder, while ATS3's coolor was in the package folder). Upon further examination I found out that your overrider and ATS3's cooler have two different instances (0x16E292562BCAF524 vs 0x684411855B257A41), so no wonder it was not working. I decided to change the script of ATS3's cooler and make it draggable. Now it works perfectly.

As regards the SimCola, I love it but I noticed a glitch. It only happens when two Sims are drinking the cola and talking at the same time. Maybe there is a way you can fix it.
Screenshots
Inventor
Original Poster
#15 Old 10th Jun 2016 at 8:11 PM Last edited by Arsil : 10th Jun 2016 at 9:21 PM.
Thanks for the report. Not sure what happened with the IIDs.
It's fixed now. I wonder why no one else said anything about it.
Inventor
#16 Old 10th Jun 2016 at 9:23 PM
You're welcome, Arsil. I also wanted to clarify something you said about UL drinks. The drinks you can buy from the University Life vending machines are both draggable by default and they also are automatically added to a Sims inventory when you buy them. You can of course drag them to the cooler and they will be stored there, but it seems you didn't associate the "Drink..." interaction with these drinks, so I have to take them out from the cooler to the Sims' inventory to drink them. I believe they all share the following script: "Sims3.Gameplay.Objects.CookingObjects.SnackEnergyDrink"
I think it's worth checking out...

PS: You could also try to add the opening animation these drinks have to your SimCola.
Screenshots
Inventor
Original Poster
#17 Old 10th Jun 2016 at 9:38 PM
That way it will require UL to work. I don't want that. Thanks for the correction.
Instructor
THANKS POST
#18 Old 11th Jun 2016 at 11:30 PM
Gadzooks! Such astounding wizardry! Thank you!
Lab Assistant
THANKS POST
#19 Old 13th Jun 2016 at 2:17 AM
Great idea!!!!! Arsil, you're always making this game better and better!!! <3
Lab Assistant
THANKS POST
#20 Old 13th Jun 2016 at 2:50 AM
Cool LOL Sorry could'nt keep it in :D Thank you for making brilliant mods for the best game ;)
Lab Assistant
THANKS POST
#21 Old 13th Jun 2016 at 11:35 AM
Finally tried this in game yesterday. It's great! Thanks Arsil! :-)
Test Subject
#22 Old 13th Jun 2016 at 9:31 PM Last edited by simhanna : 13th Jun 2016 at 11:18 PM.
Quote:
Originally Posted by Thnkr0917
I agree the cola itself is a cool item, apart from the "coolness" of the cooler. I'm looking forward to your water and beer objects, Simhanna. A cooler needs some cola, beer and water, at least mine does.


I'm not skilled enough to be modder, I just tweak things to my liking for my game. All I did was edit Baufive's Glass of water and Buffsumm's Glass of Milk to use the Arsilcola Scriptclass, pretty straight forward if you have s3pe.

[IMG][/IMG]



I'm so happy about these mods, its unreal . Thank you Arsil!
Inventor
#23 Old 13th Jun 2016 at 10:28 PM
How hard would it be to enable geostates so it will look like they are actually drink the liquid in those drinks?
I have no idea, but it would be great if someone could do that.
Test Subject
THANKS POST
#24 Old 16th Jun 2016 at 2:45 AM
Brilliant!
Lab Assistant
#25 Old 26th Jun 2016 at 11:24 PM
I thought I would be clever and placed an ice pack into one of your customizable cash registers (the inventory one.) That way, I could send my sim to purchase ice packs without constantly going into buy mode. Or so I thought. Once the pack melts, it disappears from the register. Same thing happened when I tried using the Savvy Seller shelves. Is it possible to suspend the melting timer when an ice pack is "marked for sale" until a sim buys it? I don't want to disable expiration (I have increased melting time to 3 days, however.)

Edit: I just read that it is possible to add ice to the grocery store list? I will give that a try, but it would still be helpful if we could sell ice packs using your custom register (and/or Savvy Seller.)
Lab Assistant
DELETED POST
8th Jul 2016 at 4:44 PM
This message has been deleted by oldenBuffy. Reason: Got it to work
Page 1 of 2