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

The Box Of Seeds

by Buzzler Posted 7th Aug 2010 at 12:45 AM - Updated 15th Mar 2014 at 12:14 PM by Buzzler
275 Comments / replies (Who?) - 25 Feedback Posts
This is a featured upload! It showcases the best talent and creativity available on MTS and in the community.
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 of this mod
Whenever sims do anything that consumes ingredients, like cooking or nectar making, the best ingredients will always be used first. That's fine most of the times, but not if you have a sim who is gardening. Then it becomes a real pain in the backside. You always need to preserve some of the best ingredients to plant them later if you don't want to restart with normal quality ingredients all the time. It's especially annoying for ingredients like life fruits etc.

Well, that is all in the past now. 2BTech presents you the Box of Seeds! Oompa Leastas (sort of like Oompa Loompas but without the singing and fancy clothing and positive attitude ... and without labor union memberships) handcrafted these little chests of the best discarded cardboard boxes with a minimum of delicate rotten fish fragrance.

usage
After you successfully installed the package to your mods folder, the Box of Seeds will be available in the buymode catalog in the Miscellaneous section of the Storage category (If you have WA: That's where the nectar shelves can be found). The price is 100§.

The Box of Seeds has multiple interactions available, and you can drag&drop it in live mode. You can drag&drop ingredients on it, too. Most interactions are context-sensitive, e.g. the Remove All Seeds interaction won't show up if the box doesn't actually contain any ingredients.
The interactions in detail:

- Put In Inventory
Your active sim will route to the box, pick it up and put it in his/her inventory. You don't actually need this interaction, since you can drag&drop the box in live mode.

- Open
This is same as for every object with an inventory, e.g. bookshelves, fridges etc.

- Remove All Seeds
Removes all ingredients from the box and adds them to your active sim's inventory. You will have to do that before you plant the ingredients. It's not possible to directly plant them from the box's inventory.

- Store Best Seeds
Removes the best ingredients from your active sim's inventory and stores them in the box. The amount of ingredients stored depends on the preservation threshold. If the box already has ingredients stored, it will move them to the active sim's inventory before picking out the best. BTW: Only ingredients which are at least nice quality or aren't freely available at the grocery will be preserved.

- Set Preservation Threshold
Lets you change the amount of ingredients that should be preserved in the box. The default value is 5 and you can change it to everything in the range of 1 to 99.

- Retrieve Seeds From Household Inventory
When you sell a Box of Seeds while it still has ingredients in it, these ingredients will be moved to your household inventory which is available in buy mode. It's a real pain to get them out of there, because you have to do it one by one and and can't drag&drop them on a sim. This interaction will pull all ingredients out of the household inventory and add them to the box's inventory.

- Activate/Deactivate Auto-Sheltering Of Best Seeds
This interaction is only available if the box is in a sim's inventory, and it only works if the box is NOT set to allow everything to be added to its inventory. When you activate the Auto-Sheltering the box will pick the best ingredients from the sim's inventory every time the sim harvests a plant or picks up a seed. The logic is the same as in the manual Store Best Seeds interaction.

There's a delay of 6 seconds after the actual harvesting before the code becomes active. After that period of time, the initial harvesting action is finished, and the code can detect if any additional harvesting actions are in order. The purpose is to run the sheltering code only once for every harvesting session. However, if you save in these 6 seconds and end the game, the code will not catch up after reloading the savegame.
- Set Allowed Objects In Box...
All Autonomously Consumed Ingredients - All ingredients that are in danger of being autonomously being consumed, e.g. by cooking, can be added to the box.
All Plantable Objects - All objects that can be planted can be added to the box.
Everything - Every object that is inherently able to be added to an inventory, can be added to the box.

- Give Name to Box Of Seeds
This allows you to give the box an individual name. Might come in handy if you use multiple boxes for different stuff. Works exactly the same as for the stuffed animal.

known issues
When the box is set to allow plantable objects in its inventory, it will appear, e.g. when dragging object on the box, like every object can be added to its inventory. Actually, that is the case, but the objects will be removed from the box instantly after being added. Since there is no way to recover where the object has been before, it will be added to the active sim's inventory. There was no other way to implement this, because actually the object "decides" first if it can be added to this kind of inventory. Disabling the objects' checks, also disables the box's checks.

translation
This mod is fully localizable. If you are willing to support a translation, please read the instructions.
Currently supported languages: English, German, Spanish, Mexican, Brazilian, Dutch, Portuguese, Swedish, French, Polish, Czech, Italian, Japanese, Korean


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.

installation
There's an "Install Instructions" tab at the top of this post, right between the "Download" and the "Comments" tab. If you don't know how to install mods, then click on it and follow the lead to the very detailed Wiki article. Honestly, I can't explain it any better!

You followed the instructions and it still doesn't work? Sorry to tell you this, but if the mod doesn't work for you, you probably did not follow the instructions. If the box appears in the buymode catalog (Storage->Miscellaneous), but when you hover with your mouse pointer over the box in live mode it says "No interactions available." then you certainly did not follow the instructions.

deinstallation
It basically goes like this: Remove the package from your mods folder. However, I would suggest to sell all Box of Seeds objects before you do so. If you don't do that, it probably won't break anything, but all stored seeds will be lost.

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.

credits
Thanks to Sims MX, Shykary, mosterd300987, GTNS, SoStrange, SuperBlondasse, mysecka, drionwx, Mirygow, Kaizers, ZP556RQ2 and biont for translating.

Thanks to babele44 for using the box in ways I didn't anticipate and much valuable feedback as a result.
disclaimer
Might lead to a serious case of squished brain. Your game should be safe, though.

Type:

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: 6.2
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
BoxOfSeedsStrings_ENG_US.zip | Only for translators! - the source text file for the in-game texts

Size: 1.1 KB · Downloads: 11,132 · 7th Aug 2010
1.1 KB 11,132 7th Aug 2010
Buzz_BoxOfSeeds.zip

Size: 61.7 KB · Downloads: 69,193 · 7th Aug 2010
61.7 KB 69,193 7th Aug 2010
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!
 
275 Comments / Replies (Who?) - 201 Feedback Posts, 65 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 2 of 12
1978 gallons of pancake batter
Original Poster
#26 Old 9th Aug 2010 at 5:01 PM
@mimmi: Fixed.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Lab Assistant
#27 Old 10th Aug 2010 at 2:56 AM
Any possibility of the box storing actual seed. I've got a bunch of seeds collected of varying quality and it would be great to have them all in one place. This would be handy for allowing money tree and death flower seeds to be stored.
Test Subject
#28 Old 10th Aug 2010 at 6:51 PM
Quote:
Originally Posted by Buzzler
@mimmi: Fixed.


Thank you for a fast fix.
1978 gallons of pancake batter
Original Poster
#29 Old 10th Aug 2010 at 6:59 PM
@Anach: Well, yes, it is possible. I don't quite see the point, though. I actually made an effort (a little one) to make the box reject everything that is either not plantable or not consumed without explicit action by the player.
Money tree seeds and all PlantableNonIngredient objects are already perfectly safe in the sims' inventories. Why would you want to store it somewhere else?

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Lab Assistant
#30 Old 10th Aug 2010 at 8:35 PM
Quote:
Originally Posted by Buzzler
Why would you want to store it somewhere else?


It is a box of "Seeds", so just thought it would make sense to keep all those Seeds in one place. Currently I keep my death flowers in a treasure chest, and harvested plants in the seeds box. In the treasure box I have a perfect quality DF seed and some harvested DF of varying quality. Same goes for such things as a money tree. A looked after tree may drop a higher quality seed than you can find in the wild. The box simply saves having to store seeds in different locations or having to carry dozens of seeds around for a sim lifetime until deciding to plant it.
1978 gallons of pancake batter
Original Poster
#31 Old 10th Aug 2010 at 9:45 PM
Hmm, I'll think about it. And I have to look how much code I have to break for it.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Test Subject
#32 Old 10th Aug 2010 at 10:41 PM
I don't personally use this mod, but I thought I could contribute with a translation. Here it is.
Download - please read all instructions before downloading any files!
File Type: txt BoxOfSeedsStrings_POR_PT.txt (3.4 KB, 10 downloads)
Lab Assistant
#33 Old 11th Aug 2010 at 5:28 PM Last edited by coffeebreak : 11th Aug 2010 at 5:58 PM.
Hmmm, *notices Buzzler's extreme helpfulness* Thanks for being so nice!

Planning on playing a gardening sim soon, so this will come in very handy! For some wacky reason I only seem to find useful things here when they're highlighted at other Sim Updates sites, even though I've already scrolled through all the downloads here. Guess it's because I need the usefulness of the item pointed out to me by others. *Must look for a child-can-garden mod*

EDIT There is no mod to let the kids garden! Now somebody is probably gonna tell me the teens can't either! How about a mod which at least lets them read the gardening books? I'm having a magical kid in an elfin glade, how on earth can she grow up without having a freaking garden???
Test Subject
#34 Old 14th Aug 2010 at 2:42 PM
I don't know, if I am right, but it might be that your box has some problems with a large garden:

I have a garden with all fruits (xx different plants) with 1 plant of each. Additionally there are a few money trees. I have set the threshold to 11, because I would like to stock 10 fruits of each plant into the fridge. The 11th is reserved for re-planting.

If I activate Auto-Sheltering Of Best Seeds, there is lagging every time a single fruit is harvested.
______

Additionaly I think, your box does not make any differences between a perfect (98%) fruit and a perfect (90%) fruit. Is this correct?
1978 gallons of pancake batter
Original Poster
#35 Old 14th Aug 2010 at 2:56 PM
Quote:
Originally Posted by Tairon
If I activate Auto-Sheltering Of Best Seeds, there is lagging every time a single fruit is harvested.
Yes, this will occur if a large amount of ingredients is involved and can't really be helped. I will see if I can change the code to only handle the type of ingredient that was harvested. That will make it more error-prone though.

Quote:
Additionaly I think, your box does not make any differences between a perfect (98%) fruit and a perfect (90%) fruit. Is this correct?
Yes, I only look for the quality enumerator right now, although I take that question as a request. How do you even know about the 98%/90%?

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Test Subject
#36 Old 14th Aug 2010 at 7:41 PM
I'm sorry I only found this out today, but I haven't had time to test it in game yet.
The box of seeds doesn't work for me. I can place it but I can't click on it. I think this might be because of my (Dutch) translation. I only translated the things between <STR> and </STR>. Was that wrong? Should I translate other things as well? Let me know.
1978 gallons of pancake batter
Original Poster
#37 Old 14th Aug 2010 at 8:12 PM
@mosterd300987: Your translation is technically correct; I always check that and would have noticed if it was borked. Also, if a translation doesn't work, it will just cause to show the translation keys or empty strings instead of the strings.

No, if the object turns up, but isn't functional, then the script didn't get loaded. Make sure that your game is at least patched to game version 1.12/2.7/3.3/4.0 and properly set up to support scripting mods. You probably use the pre-Ambitions way for packages, but miss the correct dx9whatchacallit or have it in the wrong place. I suggest to migrate to the post-Ambitions way. It's way less error-prone.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Test Subject
#38 Old 14th Aug 2010 at 8:28 PM
@Buzzler: Post-Ambitions way? I have no idea what you are talking about..
I put all my packages in C:/Program Files/Electronic Arts/The sims 3/Mods/Packages. Are you saying I should put it in /The Sims 3 Ambitions/Mods/Packages ??
1978 gallons of pancake batter
Original Poster
#39 Old 14th Aug 2010 at 9:03 PM
Quote:
Originally Posted by mosterd300987
I put all my packages in C:/Program Files/Electronic Arts/The sims 3/Mods/Packages. Are you saying I should put it in /The Sims 3 Ambitions/Mods/Packages ??
No, I'm saying that you should put your packages in Documents\Electronic Arts\The Sims 3\Mods\Packages. Look here.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Test Subject
#40 Old 14th Aug 2010 at 10:29 PM
Thank you! That is soo much easier. I hope that'll work.
Test Subject
#41 Old 15th Aug 2010 at 12:48 PM
Quote:
Originally Posted by Buzzler
I will see if I can change the code to only handle the type of ingredient that was harvested. That will make it more error-prone though.


I don't know, how your script for the Box Of Seeds is working. To be honest, I have not taken a look at any code of any mod yet. I have been to lazy so far But if you like, I could change my behavior by trying to help you. Your Box Of Seeds is too useful to be left untuned for a large garden with 20+ fruits. This mod a a very

Quote:
Originally Posted by Buzzler
Yes, I only look for the quality enumerator right now, although I take that question as a request. How do you even know about the 98%/90%?


These values are shown by a part of the tunable core mod: "TooltipExtension".
1978 gallons of pancake batter
Original Poster
#42 Old 15th Aug 2010 at 2:35 PM
Quote:
Originally Posted by Tairon
But if you like, I could change my behavior by trying to help you. Your Box Of Seeds is too useful to be left untuned for a large garden with 20+ fruits.
It's not untuned, thank you. There just isn't much that can be done to speed these things up. Every time I make the code smarter to save a call or two, it also gets slower. It's the same thing for the NectarCombinatorics mod. The dumb, messy code is still the fastest. Right now, I try to delay the storing process so it at least only gets done once per plant.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Lab Assistant
#43 Old 16th Aug 2010 at 11:44 AM
Works great. Thanks for the update.
Test Subject
#44 Old 16th Aug 2010 at 2:13 PM
Default Updated translation
I updated my Dutch translation. And the new way works now.
Thanks for telling me about it.
Download - please read all instructions before downloading any files!
File Type: txt BoxOfSeedsStrings_Dutch2.txt (2.6 KB, 9 downloads)
Description: New updated Dutch translation
Test Subject
#45 Old 17th Aug 2010 at 4:59 PM
I hope my translation is correct.
Download - please read all instructions before downloading any files!
File Type: zip BoxOfSeedsStrings_SWE.zip (1.6 KB, 13 downloads)
Description: I've made a translation into Swedish.
1978 gallons of pancake batter
Original Poster
#46 Old 17th Aug 2010 at 6:48 PM
@mosterd300987: Thanks for the update. Good to hear that you got it working.

@SoStrange: Sorry, that file doesn't seem to contain a translation. The text file inside seems to be only a UTF-16 file header but not the actual file.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Test Subject
#47 Old 19th Aug 2010 at 7:06 PM
Trying again; Swedish translation. Hope it works this time
Download - please read all instructions before downloading any files!
File Type: zip Translation.zip (1.9 KB, 11 downloads)
Description: Swedish Translation
1978 gallons of pancake batter
Original Poster
#48 Old 20th Aug 2010 at 6:28 PM
@SoStrange: Thanks, I've added it. Out of curiosity, I downloaded the first file again and it had the correct file. Maybe something got messed up in the download (in a really weird way, because 7zip opened the zip without problems). Sorry about that.

If gotcha is all you’ve got, then you’ve got nothing. - Paul Krugman
Test Subject
#49 Old 20th Aug 2010 at 11:00 PM
No problem, glad it worked this time Thanks for the update !
Test Subject
#50 Old 22nd Aug 2010 at 2:00 PM
Hi Buzzler

Autostorage seeds and what to store does not remain when reload the game .
Is it broken or is it suposed to be that way?
Page 2 of 12