Sign in to follow this  
GenSekiel

[RELEASED] Accelerated Forestry & Gardening (& Farming) 1.2

Recommended Posts

So as i understand: 

It growth same speed  if noone makes action on it? But speeds it up if someone does action? Right?

Share this post


Link to post
Share on other sites

A very small update (1.0.2.2) adds the missing task time options for the new bush types blueberry and raspberry.

  • Like 1

Share this post


Link to post
Share on other sites
6 hours ago, GenSekiel said:

Your times are set to 5min/10min, but can you test with 1sec/3secs to quickly see if really nothing happens after at most 4 seconds?

 

I'm not sure which part of the settings this is.  All I did was to remove one of the 0s at the end of the things that related to time, to make things take 1/10 as long as the default settings.

Edited by Batta

Share this post


Link to post
Share on other sites

PollInterval and BaseTaskTime are the two settings mainly responsible for the time something needs to grow after you have finished watering it. PollInterval is the time span between two checks for tasks to be completed (e.g. trees to be grown, etc.), BaseTaskTime is the time that has to pass since a task was started (e.g. by watering something) until it can be completed. Let's ignore all the multipliers; then, due to this mechanic, a task can at most take BaseTaskTime + PollInterval to be completed. The settings WateringTime and FertilizingTime refer to the time spent for the initiating actions themselves, i.e., the blue progress bar that shows up whenever you do something. 

 

To summarize: an action, i.e. you clicking, e.g., the "Water" menu entry, initiates a task (and it will take WateringTime/10 seconds for that) whereafter you have to wait a certain time period (at most BaseTaskTime + PollInterval) for something to happen (the completion of the task, growth in this case).

 

BaseTaskTime and PollInterval both are specified in milliseconds, so values 600000 / 300000 are 10 / 5 minutes. To set it to 3 / 1 seconds would mean to specify 3000 / 1000 instead. So your waiting time after watering something would go from at most 15 minutes down to at most 4 seconds.

  • Like 1

Share this post


Link to post
Share on other sites

After a very quick test, it seems that everything is still working correctly as of 1.6.3.2.

  • Like 1

Share this post


Link to post
Share on other sites

found a exploit to this mod. if you use fertilizer etc you can click it again and again before the action is finished and still get XP etc..

 

Edited by Darkness1990

Share this post


Link to post
Share on other sites

Update to 1.0.2.3. While I could not directly reproduce the exploit as described, I see why it could happen. If the action is aborted by moving, skill would be gained anyway. So I moved the skill gain to the final phase of the action. That should fix it. Also, trellis and planter growth was assigned to the forestry skill, should be gardening. Fixed that, as well.

Share this post


Link to post
Share on other sites

Hello there, is it intended for rice not to be included in this mod? I can't use watering or fertilizing on rice, and I don't see any option in the properties file to specifically enable it. 

Also - thank you very much for this mod. It makes things so much less tedious, particularly with trees, for a single player on a private server like myself. 😁

Share this post


Link to post
Share on other sites

Yeah, that is pretty much why I started writing this mod. The vanilla growing mechanics are assuming a server is running 24/7 and it's still slow then.

 

Rice must be a recent-ish addition and I'm not up to date with new stuff in this game. I kind of rely on people mentioning something like this here, so thank you. I'll try to add it. Is anything else missing at the moment?

Share this post


Link to post
Share on other sites
21 minutes ago, GenSekiel said:

Yeah, that is pretty much why I started writing this mod. The vanilla growing mechanics are assuming a server is running 24/7 and it's still slow then.

 

Rice must be a recent-ish addition and I'm not up to date with new stuff in this game. I kind of rely on people mentioning something like this here, so thank you. I'll try to add it. Is anything else missing at the moment?

Rice grows in water, like reed plants. I am wondering if that explains the difference.

Share this post


Link to post
Share on other sites

Update to v1.1, introducing support for fields/farms.

 

Rice is a type of field and this mod never supported fields since there is a timer-based growth control in the vanilla game. Until now. You now have the option to let the mod manage fields/farms in the same way it makes everything else grow, i.e., by watering and fertilizing (enabled by default). The relevant options for the modtreefarm.properties file are:

 

AllowFarms=true/false

 

Enable/disable actions on fields.

 

PreventVanillaFarmGrowth=true/false

 

Enable/disable the timer-based vanilla crop growth mechanic. This is different from the conventional server poll, which also grows fields in the same way it grows threes and similar stuff. Both are active simultaneously. Tiles with active tasks are protected from conventional poll by the ProtectTasks option for the duration of the task. It is possible to use mod-growth and vanilla mechanics at the same time, but vanilla growth invalidates a task queued for the same tile.

 

RetainFarmState=false/true

 

Prevent fields from getting messed up on growth. Only works for mod-induced growth.

 

The typical set of multiplier/age options is also available for fields as a whole, but not for different field types since there are quite a few of them.

 

To disable field support, set

AllowFarms=false

PreventVanillaFarmGrowth=false

 

There should be no major conflicts with other mods that deal with fields.

Edited by GenSekiel
  • Like 2

Share this post


Link to post
Share on other sites

Would you consider adding an option for random growth? Sometimes a tile would stay at current growth level rather then progress for one round. With time this could make harvesting happen not all at once for an entire field.

Share this post


Link to post
Share on other sites

Yeah, sure. Should be easy enough. You mean e.g. water something and then have a certain chance for nothing to happen at all, yes?

  • Like 1

Share this post


Link to post
Share on other sites

Update v1.2 adds surprise mechanics two flavors of randomness. The first one is the method Nappy suggested and somewhat more hardcore because you loose the resources spent on the task if it fails. The modtreefarm.properties options

 

Chance*=[value]

 

specify failure chances (not success chances) for different task types. A value of 0.0 means no failure ever, a value of 1.0 means only failures. So 0.25 will make roughly one quarter of all tasks fail.

The second mechanic randomly prolongs the tasks by at most a given factor of the tasks original task time. The options

 

RandomTime*=[value]

 

specify these factors. So for a task that normally would take time t, a value of 0.0 will add nothing, a value of 0.5 will at most add half of t for a theoretical maximum task time of 1.5 times t, and so on. The actual time that is added to the task time is a random roll between the original task time and the theoretical maximum. This way, the task may take longer, but the resources will not be wasted.

The factors may be influenced by skill and item quality using the options

 

ChanceSkillMultiplier=[value]
ChanceQualityMultiplier=[value]
RandomSkillMultiplier=[value]
RandomQualityMultiplier=[value]

 

See the description in the modtreefarm.properties file for an explanation, also for some implications of the combination with continuous growth/age limits.

Edited by GenSekiel

Share this post


Link to post
Share on other sites

The mod does not leave anything behind after being removed. All mechanics should work as they did before. Did you check the vanilla server settings for farm growth? Maybe try really short poll times to make sure that nothing grows. The default seems to be one hour.

Share this post


Link to post
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
Sign in to follow this