Caves of Qud

Caves of Qud

45 ratings
Regrowing Plants
   
Award
Favorite
Favorited
Unfavorite
Branch: Stable
File Size
Posted
153.088 KB
25 Feb, 2023 @ 10:26pm
1 Change Note ( view )

Subscribe to download
Regrowing Plants

Description
This mod makes it so that existing Harvestable properties such as RegenTime and RipeTimerChance actually do something.

This mod also adds these properties to existing Harvestable plants, as a default I've made it so that once a day every plant has a chance to ripen equivalent to its normal chance of being found ripe.
Plants will also remember when they were last seen and will update their timers accordingly, but it will still only check once before resetting.
14 Comments
Weyrling  [author] 22 Apr @ 2:55pm 
@GLITTERLICH
If you have a list of which plants have the issue and any mods you have that might change them, that would help.
The only way I guess that this happens is if you have another mod overwriting the plant ObjectBlueprint changes in this mod, I'm not entirely sure how to fix that but I can look into it.
GLITTERLICH 21 Apr @ 9:12am 
I'm having an issue where some plants just don't "lose" their fruit when harvesting and so the character keeps harvesting the same plant over and over and over... should I send a save for debugging purposes?
Gravenwitch 4 Jan @ 9:39pm 
life changing mod <3
Works 100% fine in 1.0 as of my testing
Weyrling  [author] 20 Jul, 2024 @ 6:33pm 
Still works fine with my modlist.
Kinasin 20 Jul, 2024 @ 1:30pm 
is this working fine with molting?
Weyrling  [author] 16 Nov, 2023 @ 12:38pm 
Not really?
It works based on the Harvestable component which AFAIK isn't on any creatures by default.
Somebody could theoretically add this component to them, though.

This mod works on everything that has a Harvestable component with a RegenTime property and a RipeTimerChance property.
This mod also adds these properties to existing plants that have Harvestable components.
JCGemX 16 Nov, 2023 @ 4:17am 
Does this apply to plant-based enemies? Like Jilted Lovers?
alividlife 7 Aug, 2023 @ 2:24pm 
Awesome harmony scripting. I like this a lot.

I wish I was able to script. With harmony, almost anything seems possible... Well,.. I say that as someone who can't articulate the code, but can kinda glean what the instructions are saying. Cool color coordination to the grow cycle and the code looks all clean and deceptively simple.

Good job.
Weyrling  [author] 5 May, 2023 @ 5:05pm 
Every harvestable resource will regrow
For example, Watervines will grow more vine wafers. Starapple trees will grow more starapples. Witchwood trees will regrow their bark, etcetera.
bearhiderug 5 May, 2023 @ 4:54pm 
Is this ALL plants, what "regrows"?