1 Screenshot

About This File

Purpose:

Boulders and Stalagmites regrow while time passes.

It's an update/addition from 'microbun' work which seems to be abandoned for some time.

Boulders and Stalagmites are destroyable up to 3 levels.

If you don't overpass the second one, the boulder will regrown to it's precedents states, after an amount of time; between 3 and 4,5 gamedays to regrow to full. But if you choose to break it until ends of it's roots, it will not.

You'll probably receive a good loot in return (especially for stalagmites).

You can edit "modmain.lua" to tune regrowth timers.

Install:

Open the zip file. Drag and drop in your "..Dontstarvemods" folder.

Known issues:

None!

:grin:

Compatibilities:

Thanks to report to me if you've found one.

¤It's seems that Nightmare update transforms stalagmites; There's no more yellow or orange gems in their loot table. If someone want me to remove gems of the loot table, send a PM ;)

¤Usual incompatibility & Priority Settings:

Load AlwaysOnStatus BEFORE RenwableMinerals.

To do that, please edit the AOS "modinfo.lua" and add a line :

priority = 2 -- or a number above RenewableMinerals which has a basic priority: 1 by default).

Future plans:

¤ OnSave/OnLoad stuff, if I understand something to these mess.

¤ Several version for hardcore gamers. (on demand)

¤ Adding some loot? (on demand)

Changelog:

v1.2: Add a mod icon.

v1.1: Nothing but Nightmares compatible.

v1.0: Cleaning of the code & solve save/load stage 1 problem. Boulder keep their pre-save stages on load.

v0.1b: Custom tuning variables moved to "modmain.lua".

v0.1a: Initial version.

Feel free to ask or to review or to fault. :grin:


What's New in Version v1.2   See changelog

Released

  • v1.2 : Nothing changes but the mod icon.
  • v1.1 : Nightmares update.
  • v0.1a & v1.0 : Previous updates.
  • Like 2



User Feedback

Recommended Comments

Can you please elaborate which values I have to change to fiddle with the regrowth timer and which values do what?

 

Also this mod conflicts with the "Always On Status" mod, which makes the game crash. Can this be fixed?

Share this comment


Link to comment
Share on other sites

The regrowth timers are all in "modmain.lua" in the mod's folder. You can play with them:

TUNING.ROCKS_GROW_TIME 	={	{base=1*TUNING.TOTAL_DAY_TIME, random=0.5*TUNING.TOTAL_DAY_TIME}, 		-- Low growth	{base=2*TUNING.TOTAL_DAY_TIME, random=1*TUNING.TOTAL_DAY_TIME}, 		-- Medium growth	{base=3*TUNING.TOTAL_DAY_TIME, random=1.5*TUNING.TOTAL_DAY_TIME}} 		-- Full growth

Changing ratio or TUNING.TOTAL_DAY_TIME (16*30sec. bu default) by TUNING.SEG_TIME (16sec.by default).

 

There's a base timer 1 gameday PLUS random timer 0 to 1/2 gameday for the first stage (unused by game but necessary in order to the mod work properly)

2 gamedays PLUS random timer from 0 to 1 gameday for the second stage

3 gamedays PLUS random timer from 0 to 3/2 gamedays for the third stage.

 

You can simply change it to a integer. All values are expressed in seconds.

Lets have a try with very low values like base=30 & random = 0. You'll see rocks grow almost instantly. :-)

Beware to not lower too much, because like in my Evergreen mod, You maybe doesn't be able to mine the rock completly.  Kind of infinite sources of minerals, like in DungeonKeeper with gem squares.

 

 

 

Are you sure that there's a conflict with AOS? I use both of them, and it doesn't crash..

 

Btw, I load AlwaysOnStatus BEFORE RenwableMinerals. May you try and tell me if it helps please? I could change the Compatibilities section.

 

To do that : Edit the AOS modinfo.lua and add a line :

priority = 2 -- or a number above RenewableMinerals which has a basic priority: 1 by default).

Tks for the incompatibility report. :-)

Share this comment


Link to comment
Share on other sites

Thanks, I put random to 0 and base to 0.5, 1 and 2 to get the rocks to regrow from their smallest stage to full in two days. Setting the first base to 0 results in the mines instantly regrowing one stage as soon as they are mined to the lowest one, making them infinite.

 

Also adding the line "priority = 2" in modinfo.lua in "Always On Status" DID fix the incompatibility. Both mods run perfectly fine that way. As an added bonus I was able to make the "RPG HUD" mod work with the "No Delete On Death" one by changing the "RPG HUD" mods priority from - 1 to 2! So thank you very much for that advice!

Share this comment


Link to comment
Share on other sites

The regrowth timers are all in "modmain.lua" in the mod's folder. You can play with them:

TUNING.ROCKS_GROW_TIME 	={	{base=1*TUNING.TOTAL_DAY_TIME, random=0.5*TUNING.TOTAL_DAY_TIME}, 		-- Low growth	{base=2*TUNING.TOTAL_DAY_TIME, random=1*TUNING.TOTAL_DAY_TIME}, 		-- Medium growth	{base=3*TUNING.TOTAL_DAY_TIME, random=1.5*TUNING.TOTAL_DAY_TIME}} 		-- Full growth

Changing ratio or TUNING.TOTAL_DAY_TIME (16*30sec. bu default) by TUNING.SEG_TIME (16sec.by default).

 

There's a base timer 1 gameday PLUS random timer 0 to 1/2 gameday for the first stage (unused by game but necessary in order to the mod work properly)

2 gamedays PLUS random timer from 0 to 1 gameday for the second stage

3 gamedays PLUS random timer from 0 to 3/2 gamedays for the third stage.

 

You can simply change it to a integer. All values are expressed in seconds.

Lets have a try with very low values like base=30 & random = 0. You'll see rocks grow almost instantly. :-)

Beware to not lower too much, because like in my Evergreen mod, You maybe doesn't be able to mine the rock completly.  Kind of infinite sources of minerals, like in DungeonKeeper with gem squares.

 

 

 

Are you sure that there's a conflict with AOS? I use both of them, and it doesn't crash..

 

Btw, I load AlwaysOnStatus BEFORE RenwableMinerals. May you try and tell me if it helps please? I could change the Compatibilities section.

 

To do that : Edit the AOS modinfo.lua and add a line :

priority = 2 -- or a number above RenewableMinerals which has a basic priority: 1 by default).

Tks for the incompatibility report. :-)

I'm not getting to understand these codes, you could show me how would be the sixth full line with the growth speed about a half gameday.

Sorry for my english, I am brazilian

Share this comment


Link to comment
Share on other sites

Maxwell update, please!

game crashes when entering caves for the first time, turning it off before entering and turning it on inside the caves later works.

Share this comment


Link to comment
Share on other sites

sorry but i dint understood well - what`s logic of this mod ?  - if i dont break any boulder then i cant get resources from it , so if i dont break it to leave it to grow ? - im searching for mod that can randomly put new ones on the map , or be able to regrow in old position

Share this comment


Link to comment
Share on other sites

Sometimes when I'm hitting the boulders I don't get any resources without completely breaking it. So, what's the point of it being able to regrow if I don't break it?

Share this comment


Link to comment
Share on other sites
On 04/11/2014 at 6:03 AM, lordbociek said:

sorry but i dint understood well - what`s logic of this mod ?  - if i dont break any boulder then i cant get resources from it , so if i dont break it to leave it to grow ? - im searching for mod that can randomly put new ones on the map , or be able to regrow in old position

 

On 26/08/2015 at 10:44 AM, Novacaine said:

Sometimes when I'm hitting the boulders I don't get any resources without completely breaking it. So, what's the point of it being able to regrow if I don't break it?

Download,Install and play... :D

Share this comment


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now