RimWorld

RimWorld

Expandable Plants [1.3]
94 Comments
Mlie 5 Apr, 2023 @ 11:14am 
Made an update of this with permission:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2958061468
Hope it helps anyone!
parsnip 31 Mar, 2023 @ 11:37am 
Adding the chorus here saying I am excited for an updated version of this! Currently a couple of my favorite biome mods rely on it and they definitely do not work with 1.4
Aggressive_Pizza 16 Mar, 2023 @ 1:28am 
@Mlie how do you pronounce your name?
Aggressive_Pizza 16 Mar, 2023 @ 1:28am 
I can just taste the numbers 1 and 4 now that Mlie has arrived
eagle0600  [author] 15 Mar, 2023 @ 9:01pm 
I've sent you a friend request on Steam. If you accept it, we can talk about what to do with the mod.
Mlie 15 Mar, 2023 @ 2:14pm 
According to the permissions specified on the Nexus page this mod does not allow reuploading.
I have an updated version ready of this if you want to use it @eagle0600
Soviet Tom Bombadil 2 Feb, 2023 @ 12:24pm 
help me eagle wan kenobi
HIVEMIND 19 Jan, 2023 @ 4:39pm 
no
TurtleShroom 15 Jan, 2023 @ 10:04am 
Is this Mod still functional in V1.4 ?
Ponky 11 Jan, 2023 @ 11:48pm 
Millie .... Save us
Alexander The Great 1 Jan, 2023 @ 9:39am 
Death to heat is prob when the climate is too hot for the plant.

some plant called Bean from some other mod, can only tolerate heat from 26 to 32 degrees C, above its dead
below, its stagnated.

i presume now they just perish instead of freezing
Tam 19 Dec, 2022 @ 4:39am 
Could some1 explain how to edit Death to Heat ?
Mod doesnt have ingame option i suppose.
Harbinger 8 Dec, 2022 @ 8:47am 
1.4?
HIVEMIND 20 Nov, 2022 @ 6:43am 
wake up samurai
Elindis 1 Nov, 2022 @ 5:28pm 
This is precisely what I was looking for! Will there be a 1.4 update?
kineq 28 Oct, 2022 @ 1:56am 
Please update!
Reel 21 Oct, 2022 @ 1:11am 
Does this still work on 1.4?
Melancholy 3 Aug, 2022 @ 12:57am 
i'm gonna cry if that's it...

Nope, i did forget, but that wasn't it.
Not sure why i just can't get patch operations working.
eagle0600  [author] 2 Aug, 2022 @ 5:20pm 
Did you remember to add ` <thingClass>ExpandablePlants.Plant</thingClass> ` at the root level of the plant def?
Melancholy 2 Aug, 2022 @ 3:22am 
Could someone have a look at my code?
I'm trying to patch pines grow in colder biomes but it's not working.

<li Class="PatchOperationAdd">
<xpath>/Defs/ThingsDef_Plants[defName="Plant_TreePine"]</xpath>
<value>
<comps>
<li Class="ExpandablePlants.CompProperties_Plant">
<minLeaflessTemperature>-50</minLeaflessTemperature>
<minGrowthTemperature>-40</minGrowthTemperature>
<minOptimalGrowthTemperature>-20</minOptimalGrowthTemperature>
</li>
</comps>
</value>
</li>
Reel 26 Jul, 2022 @ 8:57am 
Have a look through Alpha Biome's source code for that on Sarg's github, he had figured it out a while ago with his Propane Lakes biome.

Lemme know if it works, looking to list this mod as a dependency for my Winter Taiga biome.
eagle0600  [author] 25 Jul, 2022 @ 10:52pm 
Ah, I may have unintentionally misled you. I mean to say that you could make pine trees able to survive cold temperatures, and to be planted and grown in such temperatures. I don't actually touch site generation code or random plant spreading code, so I don't know if the trees would actually spawn around the map randomly. It might be something I have to look into.
MercuryDoll 25 Jul, 2022 @ 5:30pm 
absolutely fantastic, will look into it and if noone else beats me to it, i might make a patchmod for less deserted tundras. bless you friend
eagle0600  [author] 25 Jul, 2022 @ 5:05pm 
This can be used as a dependency for another mod to allow that, yes. On its own, this mod only exposes those functions to xml modders.
MercuryDoll 25 Jul, 2022 @ 5:04pm 
can this make pine trees grow at temps below 0°C? for real?
SutSutMan 15 Jul, 2022 @ 4:23am 
Hi, I want to use the function of Expandable Plants mod, do I have to use this mod?

I'm going to put it in the mod that already exists, so I want to change the name space of dll and use it. Of course I'll reveal the source.
eagle0600  [author] 25 Jun, 2022 @ 3:25pm 
I'm open to the idea. I've sent you a friend request, let's talk.
SepphorisVT 23 Jun, 2022 @ 9:43pm 
Hey there! I'm a modder that will be creating many various plant mods, with two already up (Terrasecurity and Metaflora), and this mod is perfect for what Metaflora requires. However, based on comments it doesn't seem you are too interested in adding updates.

I was wondering if you'd be already handing off the mod to someone who would be able and willing to do so? I'm looking into making many different kind of plants, from maskable ones to ones that support gizmos. If you are, I'd love to go over the specifics with you!

Please let me know if you are interested (or not), and if so I can get in contact with you elsewhere. Cheers!
eagle0600  [author] 25 Feb, 2022 @ 2:16pm 
I'm not likely to update this mod unless there's a critical error, such as incompatibility with a new version of RimWorld. However, I will keep that in mind as a possible change if I ever decide to do so.
624932690 24 Feb, 2022 @ 7:40pm 
Hi, is it possible to make all classes public in the next update? It would be nice for me to dynamically assign values to crops. Thanks!
eagle0600  [author] 19 Feb, 2022 @ 12:37pm 
Yes, simply make the start and end of the resting period the same.
Psychobob 19 Feb, 2022 @ 10:50am 
Is it possible to remove the plant resting period?
[WAR] Cpt Campbell 20 Dec, 2021 @ 6:16pm 
Where can I find the tree stats?
eagle0600  [author] 28 Sep, 2021 @ 3:18pm 
It would depend how that mod works. I've taken a look at the source code of that mod, and it *could* work, but I'm not certain. Try it.
Thundercraft 28 Sep, 2021 @ 12:36pm 
The ProxyHeat mod creates areas around heat sources like Campfire and Heater so that they will create some warmth even when not enclosed by a room. Unfortunately, it sounds like the heat area this mod creates does not affect plants, even though it affects pawns.

Question: Would this mod library be useful to directly affect the temperature plants experience, such as for the above mod?
Dimossa 25 Sep, 2021 @ 9:04pm 
Where do you access the settings?
eagle0600  [author] 11 Aug, 2021 @ 9:43pm 
Updated for version 1.3
Riftwalker 20 Jun, 2021 @ 8:08pm 
i did, nothing as far as i could tell.
eagle0600  [author] 20 Jun, 2021 @ 7:09pm 
It's a long shot, but you could perhaps use developer mode to look for any errors that might be occurring and post the log?
Riftwalker 20 Jun, 2021 @ 6:56pm 
damn, as I was just getting interested in using this to make some plants.
eagle0600  [author] 20 Jun, 2021 @ 5:06pm 
In that case, I do not know what's gone wrong. As I do not myself have Royalty and haven't actually played the game in a long time, more intensive debugging on my end is sadly not an option.
Riftwalker 20 Jun, 2021 @ 4:37pm 
yeah, I removed all my mods except core, royalty, expandable plants and my mod and this the result was the same as in the image in a test game, where min optimal was still 0C.
eagle0600  [author] 20 Jun, 2021 @ 2:55pm 
minOptimalGrowthTemperature should be the lowest temperature before the plant will begin taking growth penalties, so you have that correct. Your patch looks good too (and if it weren't your info panel wouldn't have changed). I cannot figure out why this wouldn't work. Have you tried putting Expandable Plants last in the load order and seeing if that has an effect?
Riftwalker 20 Jun, 2021 @ 2:24pm 
tested with only this mod and royalty (and the code below) plants not growing
Riftwalker 20 Jun, 2021 @ 1:41pm 
https://imgur.com/a/LH5XGJk image of what i'm seeing

my code:
<Operation Class="PatchOperationFindMod">
<mods>
<li>Expandable Plants</li>
</mods>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Plant_TreeAnima"]/comps</xpath>
<value>
<li Class="ExpandablePlants.CompProperties_Plant">
<minLeaflessTemperature>-40</minLeaflessTemperature>
<maxLeaflessTemperature>-30</maxLeaflessTemperature>
<minGrowthTemperature>-30</minGrowthTemperature>
<minOptimalGrowthTemperature>-20</minOptimalGrowthTemperature>
<maxOptimalGrowthTemperature>58</maxOptimalGrowthTemperature>
<maxGrowthTemperature>70</maxGrowthTemperature>
<restBegins>0</restBegins>
<restEnds>0</restEnds>
</li>
</value>
</match>
</Operation>
Riftwalker 20 Jun, 2021 @ 12:29pm 
should add that the info panel of the plants does update
Riftwalker 20 Jun, 2021 @ 12:28pm 
actually no, no matter what i do, the optimal temperature doesn't change, any idea what could cause a conflict?
Riftwalker 20 Jun, 2021 @ 12:17pm 
ARGH, I got confused forever when editing the plants, I thought minoptimaltemp was the lowest temp a plant will go before it starts taking penalties.

if you don't mind can you give a little explanation on when a plant will start taking penalties to growth from temp?
Napalm Axolotl 🏳‍🌈 11 Apr, 2021 @ 1:31pm 
It would be very helpful to note in the description that this is incompatible with Seeds Please, since that's a popular mod.
eagle0600  [author] 17 Jan, 2021 @ 9:32pm 
No. I'm not sure I even understand the question fully, but the answer is definitely no.