Custom Beverages
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.
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.
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.
Arsil_CustomBeverages.zip
Download
Uploaded: 25th Apr 2017, 116.3 KB.
26,374 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
Loading comments, please wait...
Updated: 25th Apr 2017 at 3:27 PM
-
by Kitabalibar 4th Mar 2012 at 10:43am
100 173.7k 365 -
Energy Change for Hot Beverages
by playeroflif3 19th Feb 2014 at 2:27am , updated 8th Jul 2014 at 1:38am
48 38.4k 157 -
by Arsil 9th Jun 2016 at 11:12pm , updated 8th Jul 2016 at 4:42pm
36 62.2k 203 -
by Arsil 29th Jun 2016 at 2:08pm
14 32.1k 62 -
by mingos 19th Oct 2021 at 10:07pm , updated 19th Oct 2021 at 11:32pm
20 22.1k 72 -
by fantuanss12 7th Oct 2023 at 7:26pm , updated 7th Jun 2024 at 11:55am
11 11.7k 44 -
by Twinsimming 3rd May 2024 at 6:32am , updated 11th Aug 2024 at 5:01am
+4 packsLate NightSupernaturalSeasonsUniversity Life
-
[TESTING] Child2Toddler2Baby v0.6
by Arsil 12th Apr 2017 at 7:04pm , updated 21st Jun 2017 at 9:37am
A mod that adds new social interactions and fixes+enhances existing ones. more...
74 70.6k 176