RimWorld

RimWorld

Choose Wild Plant Spawns
70 Comments
Corvidus Jul 13 @ 3:47pm 
this mod loaded on default/"vanilla" settings generates vastly fewer trees than unmodded generation. particularly noticeable on a temperate forest which generates hardly any trees at all
Futstub Jul 13 @ 8:56am 
I think the only mods I have that add plants are form vanilla extended. I just tested it again, some don't show up at all. For example, when I type in "Lemon", the "Lemon tree" won't show up. When I type in "Apple", the "Apple tree" does show up. Ok, I try using the better sliders mod then, thanks alot! :)
Mlie  [author] Jul 13 @ 8:41am 
@Futstub You can use the better sliders mod mentioned in the description for exact numbers.
The search should use contains, what plant from what mod does not show up?
Futstub Jul 13 @ 7:08am 
This really should have a setting to type in the values in the settings. The slider has waaaaaay to large jumps at the beginning. Also it would be great if all plants that include a certain phrase you put in the search bar showed up. like for example when you type in "Healroot", it should show every plant that includes this word, not just the ones that start with it.
Mlie  [author] Jun 25 @ 7:38am 
@Redrum You can look at the Discord server for the update progress and general priorities
Redrum Jun 25 @ 7:34am 
I know you are a busy individual, cranking out updates every day, and I appreciate you. Can you bump this mod up on the list of mods to get updated please? With this mod I can get disable the Bamboo trees that are breaking the TropiKapp Rainforst mod. Again, thank you for everything you do for us.
Mlie  [author] Jun 8 @ 3:00pm 
@cant aim That setting should now be added
cant aim Apr 29 @ 12:47am 
Would you consider adding a reverse settings option like choose wild animal spawns has?
Deklatis Apr 2 @ 1:37pm 
This mod is so amazing.
Mlie  [author] Jan 26 @ 4:16am 
@zyzyhasl No need for a restart
zyzyhasl Jan 26 @ 3:21am 
need reload game,or?
Mlie  [author] Oct 27, 2024 @ 11:20pm 
@loklan There is a link to the better sliders mod in the description. That should solve your issue
loklan Oct 27, 2024 @ 6:40pm 
I love these mods so much, both this and the animal one, opens up so many possibilities. But I do wish it had typeable boxes as well as sliders in the settings.
jupiterLILY Apr 20, 2024 @ 11:00am 
the issue with duplications seems to be because several mod authors are doing PatchOperationAdd instead of checking if a plant is already on the list with PatchOperationConditional.

If the author of the plant/animal mod and the author of the biome mod patch in the same way then this mod doesn't work.

If you want to fix this you need to fix the logic of the patches yourself, although that'll only last until the mod gets updated, for a longer term fix you'll have to let mod authors know.
JACK Apr 6, 2024 @ 6:45pm 
of note: deduplicating a plant (I had it going for several of the regrowth brambles) with resource dictionary also seems to cause the freezing behavior that jefener noticed with their medieval mods. or, at least, it wasn't regrowth, it definitely wasn't vanilla brambles, but getting rid of that resource dictionary order fixed my problem :)
BigDorbo Dec 28, 2023 @ 6:01am 
Gotcha. I let them know about a possible issue.
Mlie  [author] Dec 27, 2023 @ 1:18pm 
@PaulaDeen I assume they have additional code for regulating spawning
BigDorbo Dec 27, 2023 @ 12:23pm 
Not sure what is going on, I am gonna assume its an issue for VE, but the new Mushroom mod, none of them spawn even when corrected to 200% commonality with this mod. I noted a similar issue without this mod as well, but I figured I would post it to both pages.
SkylineOdeum May 29, 2023 @ 9:19am 
@Mlie Awesome possums!
Mlie  [author] May 28, 2023 @ 10:19pm 
@SkylineOdeum Its on the todolist, made such a feature on the animal-version of the mod
SkylineOdeum May 28, 2023 @ 3:14pm 
Any chance there could be an option to have the plants organized in the left menu area and have their distribution in different biomes appear in the right? I would be nice if adding a modded plant see if and where it pops up quickly over looking that individual plant up in each biome. Many thanks!
jefener Feb 4, 2023 @ 1:41pm 
You were right, I accidentally had a redundant mod loaded that seems to have caused the error. Just in case anyone else has this problem, the bad combination was "Choose Wild Plant Spawns" with BOTH "Perfect Medieval Playthrough" and "Medieval Overhaul Apothecary Plants Patch". Thanks so much for checking it out.
Mlie  [author] Feb 1, 2023 @ 1:42pm 
@soaringpen88 Tested this now and there were no freezing of the options. Perhaps you have another mod interracting as well? Try the steps under Reporting Issues and see if you can find the cause in your game.
jefener Feb 1, 2023 @ 12:33pm 
I don't have a log, unfortunately - the game completely freezes and has to be force quit, and I'm not sure how to access the log in that case. I'm very sure it's due to that mod, though, I did quite a bit of testing. The other mod patches modded plants across modded biomes, so my guess is that there's an incompatibility in how that was performed.

Here is the mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2920976506&searchtext=perfect+medieval+playthrough
Mlie  [author] Feb 1, 2023 @ 11:04am 
@soaringpen88 Do you have a log of this issue? Also, can you link to that mod?
jefener Feb 1, 2023 @ 11:03am 
I love this mod, thanks!

Wanted to report that there is an incompatibility between this and "Perfect Medieval Playthrough" - having them both installed will cause the game to freeze if you try to open the Choose Wild Plants Spawn options.
Mlie  [author] Jan 31, 2023 @ 8:32am 
@jupiterLILY Update the config only when the game is not running
jupiterLILY Jan 31, 2023 @ 7:04am 
Thanks for this, so the defName doesn't need to be in a specific order?

I think then I'm getting confused as to when the game checks for an updated config file then. Sometimes I can update it whilst the game is running but sometimes it just resets to the previously saved config. I'd assumed it was because things were in the wrong order but it seems that it's a timing issue to do with when I'm saving the new config file.
Mlie  [author] Jan 29, 2023 @ 10:14pm 
@jupiterLILY The order should be the same in both arrays. Its the defName saved and their corresponding spawn-value. The min and max value are defined by the game itself. The animal spawn mod as well as any other mod that uses dictionaries will use the same structure as that is how the game saves dictionaries
jupiterLILY Jan 29, 2023 @ 8:33pm 
So, I'm making a spreadsheet that lets me set rules for how plants should be distributed and give me the strings and lists that I need for the config files.

There seem to be some rules for the ordering of things in the config file. Do you know if the plant lists are supposed to be ordered by defname or label?

Also there seems to be a maximum and minimum value before it freaks out and it would be great to know what the limits are.

Oh and confirmation that the rules are the same for the animals would be great too!
Mlie  [author] Dec 22, 2022 @ 6:44am 
@yamgo Please see ”Reporting Issues” above
yamgo Dec 22, 2022 @ 6:02am 
Doesn't work for me. The mod menu just keeps throwing the following exception:

System.TypeInitializationException: The type initializer for 'ChooseWildPlantSpawns.Main' threw an exception. ---> System.ArgumentException: An item with the same key has already been added. Key: Plant_PincushionCactus
Unknwn! Dec 14, 2022 @ 2:57pm 
Hello!

I was wondering if there was any possible way to set plants to only spawn on specific floor types.

Specifically, I want to make it so plant A can only spawn on sand, and plant B can only spawn on Soil.

Thank you :3
Mlie  [author] Nov 5, 2022 @ 11:47pm 
@saavedra I would say its due to some mod conflict, if you can find what it triggers of I can take a look
saavedra Nov 5, 2022 @ 4:46pm 
Somehow this mod doesn't keep settings correctly, probably due to either changing loaded mods or incompatibilities - suddenly I had a huge amount of tinctoria in alpha biome feralisk jungle and fields of healroot in gallatross graveyard, despite definitely not having set them like that manually. It's like the settings magically changed themselves, or were shifted due to mod changes.
Mlie  [author] Nov 1, 2022 @ 11:12pm 
@Tzyder That does not happen in my test. Try the steps under ”Reporting Issues” above
Tzyder Nov 1, 2022 @ 8:22pm 
'm having the same problem as Killer Tamashi - I set the value to what I want and the bars go back their previous values when I start a new colony. Am I suppose to be reloading the whole game inbeween?
Hamacelos Aug 5, 2022 @ 2:32pm 
they have some c# wizardly that makes them able to spawn on water and sand, if you try to spawn them right now you get algae on land and such, but i know thats no for you to do something cuz you dont use the mods, just thought it might be neat( love your mod regardelss a staple on any play)
Mlie  [author] Aug 5, 2022 @ 2:10pm 
@Hamacelos Never used the VE mods, but unless they are planter only or have some custom spawn-code they should be possible to change using this mod.
Hamacelos Aug 5, 2022 @ 1:33pm 
weird request , is there any way the VE more plants , aquatic and sandy plants spawn in the wild? would make the maps way more alive
Killer Tamashi Jun 10, 2022 @ 1:50pm 
The mod doesn't work, values reset after closing the tab, or changing to another.
TurtleShroom Apr 26, 2022 @ 1:27pm 
I am experience Ferret's same problem.
FeralFerret Apr 26, 2022 @ 9:15am 
Possibly a bad mod conflict, but this mod makes it so no wild plants and trees spawn at all.

It used to work for me (though crashes if you clicked something the wrong way) but now it's entirely broken for me. I have a lot of mods enabled so I'm not looking for support as who the heck knows what the conflict was, but thought I'd let you know. :stress:
TurtleShroom Apr 24, 2022 @ 7:56pm 
https://www.steamcommunity.com/workshop/filedetails/discussion/2564446762/3040481180145778316/#c3274689286965801111

This isn't an actual problem with your Mod itself, but I am experiencing the same problem as Fae. I posted it here (no Hugs Library Log because it straight-up crashes) in hopes that you could give me an idea as to what I should be looking for when debugging.
Fae Dec 22, 2021 @ 10:37am 
Hello! Thought I'd let folks know if they were having an issue where they try to assess the mod in the Mod settings and it throws up errors and you basically have to hard crash it to get out then I figured out what was causing the issues for me. Smokeleaf Lite seems to bug out the mod when used together.
uberjammer Dec 13, 2021 @ 2:25am 
I thought I'd post here that I'm getting a blank box on Wild *Animal* Spawns as well
Title: "CWAS.aawarning"
and on the button,
"CWAS.ok button"
I doubt they're related, but who knows. Perhaps my pawns are going to be killed by flying maddened MegaloCWASes.
uberjammer Dec 13, 2021 @ 2:22am 
Continued:
When this mod's menu throws up an exception, it says that a version of Key: Plant_TallGrass has already been added. The mod menu works again if you remove both those mods.

Pressing escape makes it goes between two similar error messages about Plant_TallGrass that still won't let you exit. It was probably some dumb thing like one of the ReGrowth extensions that was added by mistake, but I'm giving up for tonight.

This is for the full size modlist with the error message and menu locking combined.
https://gist.github.com/HugsLibRecordKeeper/eba04626c8e11511cd7567a415473b53
uberjammer Dec 13, 2021 @ 2:22am 
@Mlie
Regrowth & Fertile Planet seem to work badly together (not officially a conflict yet, but there are many comments about other issues and workarounds.) If you use both of those mods AND this one, it breaks this one's menu AND its "close" button, trapping you in the menu.

That's the first thing I found out for certain. It might possibly address half of Ghojo's problem below. Or maybe there's another bug that causes the menu problem and also the popup error message, which is also a problem I have when I enable my full modlist (and I've spent ages trying to debug it.)
Mlie  [author] Oct 1, 2021 @ 8:53pm 
@tradja There is a link in the the description to the Better sliders mod that would let you do that.
The left side should have a slider, do you have 1x ui scale set?
Trajda Oct 1, 2021 @ 2:16pm 
@Mlie

Also, looks like a spawn rate of 0.018 is still too much for some plants. I´d like to decrease it to 0.001 but that would require me to dig through your code and set those numbers manually. How difficult it might be if I have no experience with reading the code?