Nectar Combinatorics
SCREENSHOTS
Downloaded 21,800 times
1,532 Thanks
267 Favourited
123,588 Views
Say Thanks!
Thanked!
Picked Upload!
This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.
Uploaded: 7th Aug 2010 at 12:42 AM
Updated: 15th Mar 2014 at 11:12 AM
Updated: 15th Mar 2014 at 11:12 AM
updates
2014-03-15 - Compatible with game version 1.67. No changes.
compatibility
Supported for game version 1.67. Should work with game versions from 1.31 upwards, though.
scope
Let's talk a little combinatorics. Nectar consists of 10 fruits and the order doesn't matter. If you have 10 fruits, there's obviously only one possible combination. If you have 11 fruits, you already have 11 combinations. You're already up to over 3,000 combinations with 15 fruits and over 180,000 combinations with 20 fruits. If you have 100 fruits, even a computer will have trouble to calculate the number of possible combinations while calculators will simply show you the finger. This is what eggheads mean when they talk about "combinatorical explosion".
Beside the ingredient quality and the nectar value, TS3 uses a hash algorithm to determine the quality of a nectar recipe. Such a thing cannot be optimized in the least. There's no way to make conclusions from one combination to a slightly different combination. So, here we are with an inventory full of ingredients and are apparently supposed to try out fantastillions of combinations to find the good ones.
I don't think that's reasonable. This mod will make it so much easier to find good combinations and use up "leftover" fruits without wasting them.
usage
Once you successfully installed this mod, two interactions will be added to all nectar makers. Only one of these interactions will be available at a time depending on whether the active sim has completed the Mix Master challenge.
-Try Random Fruit Combination
This is basically an interaction to complete the Mix Master challenge in the first place. You don't have to add the fruits manually and the code actually builds 10 random recipes and uses the best one. That way the outcome will usually be at least all right.
- Add Good Fruit Combination
When your sim has completed the Mix Master challenge, things get a lot smarter. Instead of 10 combinations, 2,000 combinations will be built and scored. Also the building process is smarter in the first place. The best found combination will then be compared to the best combinations your sim already made as far as they can be made from the given fruits. The best of these combinations will then be added to the nectar maker.
As mentioned above, it's not really feasible to find THE best combination for your stock of fruits. The code can build and score about 20,000 combinations per second on my rig. You can deduce from there what time it takes to calculate trillions+ of combinations.
BTW: The above mentioned 2,000 permutations are not set in stone. That value is tunable and you can change it by accessing the XML resource in the package with S3PE. If you don't know how to do that and are unable to find out how to do that, then this is not for you.
translation
This mod is fully localizable. If you are willing to support a translation, please read the instructions.
Currently supported languages: English, German, French, Spanish, Mexican, Brazilian, Portuguese, Dutch, Polish, Finnish, Czech
possible conflicts
This is a scripting mod and as such the possibility for conflicts with other mods, no matter what kind, is next to non-existant. I can't think of any kind of mod which could possibly interfere with this mod.
support
Please respect that I support my mods but not mods or even custom content in general, not in my upload threads anyway and certainly not if you ask me by PM. I will always try to find and squish bugs, therefore I appreciate bug reports. If one of my mods isn't working for you, please at least try to ensure that it's a failure of my mod before you ask for help. I am a compassionate guy, but please understand that I can only muster so much endurance to address issues completely unrelated to my mods.
installation
Please follow the regular installation routine for packages. You will find an excellent wiki article if you click on the Installation Instructions tab and follow the link. I can't explain it any better than that.
The interactions will only show up for nectar makers that already existed when you loaded the game or 'hood. Think about it for a second: You can only buy nectar makers in France, so when you travel home, they will already be there. If you are a lame old cheater who gets his/her nectar makers using the buydebug cheat, then you'll have to save and reload your game. Sucks to be you.
The interactions don't show up whatsoever? Sorry to tell you that, but you probably did not follow the installation instructions.
deinstallation
Before you remove this mod, please make sure that no sim is currently using one of the interactions. If you don't do so, you may be unable to load your savegame. Since these interactions take only a short time to complete, this is probably a non-issue, though.
credits
Thanks to Sims MX, EminenceFront, Shykary, GTNS, x Emms, mysecka, NTonks11, HHP and Mar_ienka for translating.
disclaimer
Might lead to a serious case of squished brain. Your game should be safe, though.
2014-03-15 - Compatible with game version 1.67. No changes.
2012-11-18 - Compatible with 1.42. No changes.
2012-09-16 - Compatible with 1.38. No changes.
2012-07-16 - Compatible with 1.36. No changes.
2012-06-10 - Ensured compatibility with game version 1.34.
2012-03-12 - Updated to game version 1.32.
2012-03-02 - Updated to game version 1.31.
2011-12-15 - Updated to game version 1.29.
2011-10-18 - Updated to game version 1.26.
2011-07-26 - Updated to game version 1.24.
2011-06-01 - Updated version header to game version 1.22/2.16/3.12/4.9/5.7/6.4/7.2/8.0.
2011-04-18 - Czech translation added.
2011-02-18 - Finnish translation added.
2011-02-01 - Version header changed to current code version. No code changes were needed, thus classifying this update as facultative.
2011-01-08 - Greek translation added.
2010-12-01 - Version header changed to current patch version. No code changes.
2010-10-27 - Updated to game version 1.17/2.12/3.8/4.5/5.2/6.0. Update is mandatory.
2010-09-07 - Updated version header to game version 1.15/2.10/3.6/4.3/5.0. No code changes were necessary.
2010-08-25 - Polish translation added.
2010-08-17 - Dutch translation added.
2010-08-14 - Portuguese translation added.
2010-08-08/2 - Ok, major *beep*! I don't know how or when it happened, but I *beep* up the code which would cause the "smart" code to calculate way less combinations than supposed. And that after playtesting that thing for days. I guess that's what you get for ignoring the first rule of optimization ("Don't!"). I ignored that rule a little more and spent the last hour getting the processing time acceptable again. It will still be a lot slower than before, but at least it works like supposed now. Sorry about that.
2010-08-08 - Changed the German translation.
2010-08-07/2 - Brazilian translation added.
2010-08-07 - French, Spanish and Mexican translation added.
2012-09-16 - Compatible with 1.38. No changes.
2012-07-16 - Compatible with 1.36. No changes.
2012-06-10 - Ensured compatibility with game version 1.34.
2012-03-12 - Updated to game version 1.32.
2012-03-02 - Updated to game version 1.31.
2011-12-15 - Updated to game version 1.29.
2011-10-18 - Updated to game version 1.26.
2011-07-26 - Updated to game version 1.24.
2011-06-01 - Updated version header to game version 1.22/2.16/3.12/4.9/5.7/6.4/7.2/8.0.
2011-04-18 - Czech translation added.
2011-02-18 - Finnish translation added.
2011-02-01 - Version header changed to current code version. No code changes were needed, thus classifying this update as facultative.
2011-01-08 - Greek translation added.
2010-12-01 - Version header changed to current patch version. No code changes.
2010-10-27 - Updated to game version 1.17/2.12/3.8/4.5/5.2/6.0. Update is mandatory.
2010-09-07 - Updated version header to game version 1.15/2.10/3.6/4.3/5.0. No code changes were necessary.
2010-08-25 - Polish translation added.
2010-08-17 - Dutch translation added.
2010-08-14 - Portuguese translation added.
2010-08-08/2 - Ok, major *beep*! I don't know how or when it happened, but I *beep* up the code which would cause the "smart" code to calculate way less combinations than supposed. And that after playtesting that thing for days. I guess that's what you get for ignoring the first rule of optimization ("Don't!"). I ignored that rule a little more and spent the last hour getting the processing time acceptable again. It will still be a lot slower than before, but at least it works like supposed now. Sorry about that.
2010-08-08 - Changed the German translation.
2010-08-07/2 - Brazilian translation added.
2010-08-07 - French, Spanish and Mexican translation added.
compatibility
Supported for game version 1.67. Should work with game versions from 1.31 upwards, though.
scope
Let's talk a little combinatorics. Nectar consists of 10 fruits and the order doesn't matter. If you have 10 fruits, there's obviously only one possible combination. If you have 11 fruits, you already have 11 combinations. You're already up to over 3,000 combinations with 15 fruits and over 180,000 combinations with 20 fruits. If you have 100 fruits, even a computer will have trouble to calculate the number of possible combinations while calculators will simply show you the finger. This is what eggheads mean when they talk about "combinatorical explosion".
Beside the ingredient quality and the nectar value, TS3 uses a hash algorithm to determine the quality of a nectar recipe. Such a thing cannot be optimized in the least. There's no way to make conclusions from one combination to a slightly different combination. So, here we are with an inventory full of ingredients and are apparently supposed to try out fantastillions of combinations to find the good ones.
I don't think that's reasonable. This mod will make it so much easier to find good combinations and use up "leftover" fruits without wasting them.
usage
Once you successfully installed this mod, two interactions will be added to all nectar makers. Only one of these interactions will be available at a time depending on whether the active sim has completed the Mix Master challenge.
This is basically an interaction to complete the Mix Master challenge in the first place. You don't have to add the fruits manually and the code actually builds 10 random recipes and uses the best one. That way the outcome will usually be at least all right.
- Add Good Fruit Combination
When your sim has completed the Mix Master challenge, things get a lot smarter. Instead of 10 combinations, 2,000 combinations will be built and scored. Also the building process is smarter in the first place. The best found combination will then be compared to the best combinations your sim already made as far as they can be made from the given fruits. The best of these combinations will then be added to the nectar maker.
As mentioned above, it's not really feasible to find THE best combination for your stock of fruits. The code can build and score about 20,000 combinations per second on my rig. You can deduce from there what time it takes to calculate trillions+ of combinations.
BTW: The above mentioned 2,000 permutations are not set in stone. That value is tunable and you can change it by accessing the XML resource in the package with S3PE. If you don't know how to do that and are unable to find out how to do that, then this is not for you.
translation
This mod is fully localizable. If you are willing to support a translation, please read the instructions.
Currently supported languages: English, German, French, Spanish, Mexican, Brazilian, Portuguese, Dutch, Polish, Finnish, Czech
If you are willing to translate, download the source text file at the bottom of this post and edit it with a text editor. Please be serious about your translation. I don't have the means to check these translations for grammatical or orthographical errors.
Only translate the stuff between the <STR></STR> tags or you will break the localization.
If your language has capital letters and interaction names are capitalized in your language then please capitalize every word in the interaction name strings. You will recognize the interaction name string, because they are written capitalized in the English source file.
Finally, please change the filename to something that indicates the language you translated to. Please save your file in UNICODE and check the translation in-game after I uploaded it. Please upload your translation as attachment in the comments section.
Only translate the stuff between the <STR></STR> tags or you will break the localization.
If your language has capital letters and interaction names are capitalized in your language then please capitalize every word in the interaction name strings. You will recognize the interaction name string, because they are written capitalized in the English source file.
Finally, please change the filename to something that indicates the language you translated to. Please save your file in UNICODE and check the translation in-game after I uploaded it. Please upload your translation as attachment in the comments section.
possible conflicts
This is a scripting mod and as such the possibility for conflicts with other mods, no matter what kind, is next to non-existant. I can't think of any kind of mod which could possibly interfere with this mod.
support
Please respect that I support my mods but not mods or even custom content in general, not in my upload threads anyway and certainly not if you ask me by PM. I will always try to find and squish bugs, therefore I appreciate bug reports. If one of my mods isn't working for you, please at least try to ensure that it's a failure of my mod before you ask for help. I am a compassionate guy, but please understand that I can only muster so much endurance to address issues completely unrelated to my mods.
installation
Please follow the regular installation routine for packages. You will find an excellent wiki article if you click on the Installation Instructions tab and follow the link. I can't explain it any better than that.
The interactions will only show up for nectar makers that already existed when you loaded the game or 'hood. Think about it for a second: You can only buy nectar makers in France, so when you travel home, they will already be there. If you are a lame old cheater who gets his/her nectar makers using the buydebug cheat, then you'll have to save and reload your game. Sucks to be you.
The interactions don't show up whatsoever? Sorry to tell you that, but you probably did not follow the installation instructions.
deinstallation
Before you remove this mod, please make sure that no sim is currently using one of the interactions. If you don't do so, you may be unable to load your savegame. Since these interactions take only a short time to complete, this is probably a non-issue, though.
credits
Thanks to Sims MX, EminenceFront, Shykary, GTNS, x Emms, mysecka, NTonks11, HHP and Mar_ienka for translating.
disclaimer
Might lead to a serious case of squished brain. Your game should be safe, though.
MTS has all free content, all the time. Donate to help keep it running.
FruitCombinationStrings_ENG_US.zip
| For translators only! - source text file of the used strings
Download
Uploaded: 7th Aug 2010, 418 Bytes.
2,931 downloads.
|
||||||||
Buzz_NectarCombinatorics.zip
Download
Uploaded: 7th Aug 2010, 10.4 KB.
24,333 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
Also Thanked - Users who thanked this download also thanked:
-
[{"0":"411634","threadid":"411634","1":"14","c":"14","2":"Housecleaning For All Sims","title":"Housecleaning For All Sims","3":"432522","postuserid":"432522","4":"Buzzler","postusername":"Buzzler"},{"0":"450059","threadid":"450059","1":"11","c":"11","2":"Builder Stuff","title":"Builder Stuff","3":"432522","postuserid":"432522","4":"Buzzler","postusername":"Buzzler"},{"0":"383093","threadid":"383093","1":"11","c":"11","2":"Treasure Box *Compatible with 1.67*","title":"Treasure Box *Compatible with 1.67*","3":"297866","postuserid":"297866","4":"treeag","postusername":"treeag"},{"0":"456464","threadid":"456464","1":"11","c":"11","2":"Set Community Lot Book Type","title":"Set Community Lot Book Type","3":"3548877","postuserid":"3548877","4":"Sims MX","postusername":"Sims MX"},{"0":"471164","threadid":"471164","1":"11","c":"11","2":"Add Any Lot Size (edited 01\/16\/2014)","title":"Add Any Lot Size (edited 01\/16\/2014)","3":"3045250","postuserid":"3045250","4":"velocitygrass","postusername":"velocitygrass"},{"0":"470934","threadid":"470934","1":"11","c":"11","2":"Simport Rewards Unlocked","title":"Simport Rewards Unlocked","3":"3045250","postuserid":"3045250","4":"velocitygrass","postusername":"velocitygrass"},{"0":"459967","threadid":"459967","1":"10","c":"10","2":"Gardener Service - v2.3 (4th May 2014)","title":"Gardener Service - v2.3 (4th May 2014)","3":"6962806","postuserid":"6962806","4":"douglasveiga","postusername":"douglasveiga"},{"0":"343046","threadid":"343046","1":"10","c":"10","2":"Hidden Traits Unlocked *UPDATED 10\/25\/2013*","title":"Hidden Traits Unlocked *UPDATED 10\/25\/2013*","3":"297866","postuserid":"297866","4":"treeag","postusername":"treeag"},{"0":"402950","threadid":"402950","1":"10","c":"10","2":"Weapons System","title":"Weapons System","3":"3457664","postuserid":"3457664","4":"desecrate","postusername":"desecrate"},{"0":"391693","threadid":"391693","1":"10","c":"10","2":"Gem & Metal Processing Machine *Compatible with 1.55*","title":"Gem & Metal Processing Machine *Compatible with 1.55*","3":"297866","postuserid":"297866","4":"treeag","postusername":"treeag"}]
Packs Needed
For a full list of packs with names, see the Packs Needed popup.
Other Information
Type:
Tags
Packs Needed
Base Game | |
---|---|
Sims 3 |
Expansion Pack | |
---|---|
World Adventures |
About Me
Terms of Use
Feel free to do with my mods whatever you want. If you're a script modder yourself, feel free to rip my mods open and use whatever code you find useful; I might even help you if you ask me nicely. I like to be given credit as much as the next guy, but that's strictly optional. If you want to make an ass of yourself then plagiarize my mods for all I care.
Requests
I don't take requests. Period.
Feel free to do with my mods whatever you want. If you're a script modder yourself, feel free to rip my mods open and use whatever code you find useful; I might even help you if you ask me nicely. I like to be given credit as much as the next guy, but that's strictly optional. If you want to make an ass of yourself then plagiarize my mods for all I care.
Requests
I don't take requests. Period.