- Downloads >
- Sims 3 >
- Game Mods >
- Script & Core Mods - Scripted Objects
- > Mods that contain script replacements or new scripts.
Custom Beverages
SCREENSHOTS
Preview.jpg - width=1024 height=689
Geostates.jpg - width=1024 height=768
IntegrationWithCooler.jpg - width=1025 height=689
Created by Arsil
Uploaded: 8th Jul 2016 at 4:35 PM
Updated: 25th Apr 2017 at 2:27 PM
Updated: 25th Apr 2017 at 2:27 PM
25 April 2017 Update : No more stretching for children and fun boost, see Changelog at the bottom.
SEE ALSO:
- Naus Allien's TS4 inspired beverages
Mod Info & Requirements
SEE ALSO:
- Naus Allien's TS4 inspired beverages
Mod Info & Requirements
Description
Game version 1.67 (might work with other patch levels, beats me)
Note: this mod needs third party objects to which apply the scripts.
This mod contains a series of scripts (classes) to be applied to third party objects in
order to make them work as custom beverages similar to the SimCola here.
It supports objects with geostates (up to three for Full, Half and Empty state) and material states.
Is supports EA and custom moodlets, I've included a few custom ones (their name and description
is left very generic, so you should personalise them), but creating them is pretty easy.
The custom beverages will work well with my Cooler mod (updated on 8th July 2016 or a later version).
I haven't tested it, but the age category checks will be ignored for beverages inside the cooler.
Now they will also work with the Generic Food Maker mod.
Here's the list of scripts available (these are the strings to be used in the script field of the OBJK resource):
Sims3.Gameplay.Objects.Arsil.HotBeverage
Sims3.Gameplay.Objects.Arsil.ColdBeverage
Sims3.Gameplay.Objects.Arsil.TeaBeverage
Sims3.Gameplay.Objects.Arsil.CoffeeBeverage
Sims3.Gameplay.Objects.Arsil.MilkBeverage
Sims3.Gameplay.Objects.Arsil.JuiceBeverage (generic juice)
Sims3.Gameplay.Objects.Arsil.OrangeJuiceBeverage (specialized juice)
Sims3.Gameplay.Objects.Arsil.LemonJuiceBeverage (specialized juice)
Sims3.Gameplay.Objects.Arsil.LightAlcoholicBeverage (increases the Juiced motive, requires UL to be effective)
Sims3.Gameplay.Objects.Arsil.StrongAlcoholicBeverage (increases the Juiced motive, requires UL to be effective)
Some of them increase or decrease Sims' temperature if Seasons is installed.
See the xml tuning for each of them to configure them.
You can keep using the SimCola for generic sugar rich beverages.
It is not as customizable as these beverages but it works fine for cans.
Example
Additional Credits
I've put a few examples in the first comment of this mod, but let's see right here how this mod
can be used with a step by step concrete example.
Let's use an existing decor item: a glass of milk by BuffSumm.
Note: in the first comment of this mod, there's already an override mod for this object,
so if you prefer the .Sims3pack format there's no need to convert it to .package.
Let's convert the object to .package format (with Lepid LLama Unpacker).
Now we open it with S3PE to make sure of a few things:
- Select the OBJD resource and then click on the "Grid" button
- the object needs a price: CommonBlock/Price (this already has it)
- the object must be buyable: CommonBlock/BuildBuyProductStatusFlags/ShowInCatalog (this already is)
- the object must be LiveDraggable: ObjectTypeFlags/LiveDraggingEnable
- Recatalogue it as Appliances/Misc or as you see fit: RoomCategoryFlags/RoomSubCategotyFlags and FunctionCategoryFlags/FunctionSubCategoryFlags
- Make sure it can be placed on slots: SlotPlacementFlags: put false to "None" and true to "Small" and/or "Medium" (this already can)
- Commit changes
- Now right click on the OBJK resource and select "Edit OBJK"
- Look for the row called "Script" and put in the field called "String" this string: Sims3.Gameplay.Objects.Arsil.MilkBeverage
- Click on "Save"
- Commit changes
- Now right click on the STBL for your language and select "Edit STBL":
- We have to make sure the name used is pleasant to read because you will see the CatalogName
in the interactions while in game. In this case you can see that the name is not good, so change it
to your localized version of "milk glass" or something like that.- Click "Save" and commit changes.
- Save the package.
- Check if the xml tuning for the choosen script ("MilkBeverage Tuning" in the package of the mod)
to make sure everything is tuned the way you like. We used a decor object without geostates or
material states, so you can leave the related xml tags as they are because they won't influence the
object (they are set keeping in mind the milk bottle from the related Store Item).- Check the STBL for your language (still in the package of the mod) to edit the name and description
of the related moodlet. I was lazy and uninspired, so I've left them... generic, for lack of a better word.- Try in game.
All respective authors and contributors of the tools and tutorials for modding TS3.
MTS and all modders who made the game much more enjoyable.
Changelog (ordered from most recent to oldest changes)
25 April 2017 Update
- Fixed children stretching (but now, when sitting, they freeze for a moment after finishing the drink).
- Added fun boost, tunable for each beverage.
25th July 2016 Update : Now Sims will autonomously pick a beverage only if they don't already
have one in their inventory (to avoid one Sim to get them all, very annoying if you are preparing to
host a party for example and you want to place beverages for the guests to pick up).
13th July 2016 Update : Now custom moodlets work with or without Awesome Mod.
12th July 2016 Update : Now children can directly drink the custom beverages. It was just a slip.
But now I notice that once they finish drinking children stretch for a moment, like if there was a
missing child version of an animation. Sigh.
BugFix on the ITUN of the interaction to drink a beverage contained in the Sim's inventory.
11th July 2016 Update : Minor Update about Localization and predefined geostate names (thanks Naus Allien).
If other creators would like to contribute or simply make beverages using this mod, please use the conventions
about geostate names, so end-users won't have to make any change to the xml tuning and beverages made
by different creators can be used together. The 3 juices now have a standard name for geostates, the other
scripts are still fair game (but if possible try to use and expand on the existing ones).
9th July 2016 Update
25 April 2017 Update
- Fixed children stretching (but now, when sitting, they freeze for a moment after finishing the drink).
- Added fun boost, tunable for each beverage.
25th July 2016 Update : Now Sims will autonomously pick a beverage only if they don't already
have one in their inventory (to avoid one Sim to get them all, very annoying if you are preparing to
host a party for example and you want to place beverages for the guests to pick up).
13th July 2016 Update : Now custom moodlets work with or without Awesome Mod.
12th July 2016 Update : Now children can directly drink the custom beverages. It was just a slip.
But now I notice that once they finish drinking children stretch for a moment, like if there was a
missing child version of an animation. Sigh.
BugFix on the ITUN of the interaction to drink a beverage contained in the Sim's inventory.
11th July 2016 Update : Minor Update about Localization and predefined geostate names (thanks Naus Allien).
If other creators would like to contribute or simply make beverages using this mod, please use the conventions
about geostate names, so end-users won't have to make any change to the xml tuning and beverages made
by different creators can be used together. The 3 juices now have a standard name for geostates, the other
scripts are still fair game (but if possible try to use and expand on the existing ones).
9th July 2016 Update
- Some scripts were lacking the temperature change code. Fixed.
- Now 3 as value for kFoodUnits (# of sips) is enough for the "half geostate" to show up (if defined), thank you Naus Allien for the report.
The problem is that sometimes the # of sips doesn't match the value in the xml. I know that there's a reasonable explanation for this
but I'm in no condition to find it right now. - New icon for the tea related moodlet, now more fitting with TS3's art style/theme.
- Added Spanish (ES and MX) localization by Naus Allien (I usually don't include user submitted translations, but I made an exception).
The ENG STBL and all other languages still use generic strings because I really don't know what to write there, I could have translated
the Spanish ones but I have no strength left. If it helps, I didn't even write those for my first language, that's how uninspired I am.
Filename | Size | Downloads | Date | |||||
Arsil_CustomBeverages.zip
Size: 116.3 KB · Downloads: 22,338 · 25th Apr 2017 |
116.3 KB | 22,338 | 25th Apr 2017 | |||||
For a detailed look at individual files, see the Information tab. |
Key:
- - File was updated after upload was posted
Install Instructions
Also Thanked - Users who thanked this download also thanked:
POLICY
Feel free to modify my mods and/or use them for your own projects, but for mods of other authors that I've updated or mods where I collaborated with other modders/creators check also their policy.