August 22, 2017, 11:49:12 AM

Author Topic: [MOD for GnomoriaModUI] Happy farmer  (Read 2714 times)

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
[MOD for GnomoriaModUI] Happy farmer
« on: April 11, 2016, 11:58:10 PM »
Hello everyone!

I present you the happy farmer mod, supported 1.0

Mod using GnomoriaModUI by Faark, thanks a lot!

How to install mod launcher, thanks to majorgetsome

Mod add harvest to count functionality to groves and farms.

(Sorry, now only groves, farms not done yet) Solved!

What has been done
When you open a grow properties window, an additional tab "Happy forester" will show like



Sorry for using grow name for saving properties, this way is only solve sync-problem of save data. If I store someway else, your backup save not be syncronized with happy properties. So, if I learn how hide this from player, I do this immidiately. Solved.

So, how it should help.
There three sections in grow:
  • Auto cut clipping if less than will dynamically enable cut clipping if some sort of clipping will less than typed value
  • Pick fruit if less than will dynamically enable pick fruit if less. If it is fruitless grove, then no fruit will pick. Maybe I fight my lazy and seal this section if grow is fruitless
  • Fell trees if less than will dynamically enable fell trees if some sort of logs is less than typed value

Note: grow auto switch Cut CB, Pick CB and Fell CB instead of Suspend CB. If you Uncheck Suspend CB, grow will always not harvest.

Farms:



And farms unfortunally works little different. On "Happy farmer" tab places "Seed" group and one or more harvested items. (For example, with strawberry you harvest seed and fruit, but with wheat you harvest seed, wheat and grain) If all CB is unchecked, then Suspend CB on overview tab operate manually. If at least one CB is checked, mod will manipulate Suspend CB in automatic mode. Rule: if at least one of checked items is less than typed value, then Suspend is disable, if all checked more than typed value, then suspend is enable.

Gnomes will harvest some more goods if workers more 1. Identically how in any industrial cluster.

Automation calculation sealed in another thread from main Gnomoria thread for high perfomance and work with 1000msec between iterations.
For god sake I move code to main thread.

DOWNLOAD from gDrive

Update on fire: Now grow name does not contain grow properties. But it still there, so you cannot use a "|" literal in grow naming, sorry.

[FIX] Rare exception in GetJob code, because threading problems, moved to main thread for god sake.

[PRF] Capacity value is divided to minimum and maximum capacity. For now no more useless hang around kingdom for harvest few ugly pieces of resources. If goods goes to less from minimum, harvest is initiated. And will be proceed until not be more than maximum capacity. For me, harvest logs with 100/200 pair capacity speeded up by ~30% entire kingdom. So will it be.

[FIX] Few UI num checks.
« Last Edit: April 20, 2016, 04:06:51 AM by Wild Braas »
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #1 on: April 12, 2016, 05:08:04 AM »
Update on fire: Now grow name does not contain grow properties. But it still there, so you cannot use a "|" literal in grow naming, sorry.
« Last Edit: April 13, 2016, 05:34:11 AM by Wild Braas »
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer

Morokael

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #2 on: April 12, 2016, 05:34:16 PM »
Does this work with wheat/grain as well?

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #3 on: April 12, 2016, 08:05:57 PM »
Not yet. By few days it was, this feature is simpler than grow automation.
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #4 on: April 13, 2016, 05:31:59 AM »
[PRF] Calculation sealed in another thread
[ADD] Farm supprt
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer

Morokael

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #5 on: April 13, 2016, 04:17:46 PM »
I love you.

Your mods make Gnomoria go from great to OH MY GOD

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #6 on: April 13, 2016, 10:01:47 PM »
Morokael, TY bro! Next is Advanced music :-X
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #7 on: April 15, 2016, 03:39:42 AM »
[FIX] Rare exception in GetJob code, because threading problems, moved to main thread for god sake.
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #8 on: April 20, 2016, 04:01:45 AM »
[PRF] Capacity value is divided to minimum and maximum capacity. For now no more useless hang around kingdom for harvest few ugly pieces of resources. If goods goes to less from minimum, harvest is initiated. And will be proceed until not be more than maximum capacity. For me, harvest logs with 100/200 pair capacity speeded up by ~30% entire kingdom. So will it be.

[FIX] Few UI num checks.
« Last Edit: April 20, 2016, 04:07:03 AM by Wild Braas »
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer

Wild Braas

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: [MOD for GnomoriaModUI] Happy farmer
« Reply #9 on: April 22, 2016, 01:40:22 AM »
[FIX] Rare exception while long run more 20 hours.
Я художник, я так вижу.

My mods: Auto resume after saving Perfomance dreams Auto trading Herold Happy Farmer