Elin
Not enough ratings
Farmers And Gardeners Give Items
   
Award
Favorite
Favorited
Unfavorite
Gameplay: QoL
File Size
Posted
Updated
78.107 KB
6 Jan @ 1:11am
26 Jan @ 12:00am
6 Change Notes ( view )

Subscribe to download
Farmers And Gardeners Give Items

Description

Every new day is given a configurable amount of vegetables, mushrooms and pasture (10 per day base). The mushrooms and vegetables are generated using the

ThingGen.CreateFromCategory
method, which creates a specific item from the respective category. The pastures are generated using
ThingGen.Create
, which creates a specific pasture item.


Additionally, I replaced the

TryAddThingSharedContainer
method in the Zone class to allow elements to be placed outside the active zone.


The values for item generation are periodically updated to maintain balance and prevent the mod from becoming overpowered. The intention is to provide a reasonable passive income from the generated vegetables, mushrooms, and livestock.


In addition to maintaining and improving this mod, I will be developing more mods to introduce new quality-of-life enhancements. Stay tuned for exciting updates that make your game more enjoyable and engaging!


This description was rewritten using ChatGPT for clarity and presentation.


每一新的日子,农民会生成4种蔬菜,4种蘑菇,和12片牧场,每有25名战队成员,将额外生成1片牧场。蘑菇和蔬菜通过

ThingGen.CreateFromCategory
方法生成,该方法会从相应分类中创建特定物品。牧场会通过
ThingGen.Create
生成,该方法创建特定牧场物品。


此外,我替换了Zone类中的

TryAddThingSharedContainer
方法,以方便将元素放置在活动区域之外。


物品生成值会进行周期更新,以保持平衡,防止该修复功能过于强大。目的是为您提供一些合理的蔬菜,蘑菇和牧物生成的活动收入。


除了维持和改善该修复功能,我还将开发更多修复,以带来新的生活质量改善。敬请期待,让您的游戏更加愉快和互动!


该描述通过ChatGPT重写,以提高清晰度和表述效果。

8 Comments
Beinded  [author] 16 Aug @ 7:56pm 
@Renfa Thank you a lot, I forgot to mention, I think when I published one of the last versions of the mod, I added a config file so anyone could simply change the amount of vegetables it would receive after each day. I don't remember if I published it, I think that yes, I think you have to go to the Elin folder -> BepInEx -> Config and edit the variables with the name of the mod.

There are 3 variables, "VegiAmount", "MushroomAmount" and "PastureAmount", you can change it to anything you want
Renfa Arviette (arv) 16 Aug @ 4:12pm 
Thats fair. im not gonna ask you to update this functionality, or rework the mod if youre clearly not interrested in it anymore. enjoy the horses by the way. Hope you are well, and thank you very much for this mod, maybe ill look at it, but likely ill just disable it as its a bit too op that way
Beinded  [author] 16 Aug @ 8:41am 
@Renfa I think it is because I set up the code to spawn the items every day, so even if you don't have a farm they would appear.

I didn't thought much about it when I created the mod as it is was easier to set it up if just gave items every day, but it is possible to make it to give items only when farmer does the farming action (though I'm not sure how as it has been a lot of time since I modded the game)
Renfa Arviette (arv) 16 Aug @ 6:14am 
So why is it that on an ew savegame, every so often, id assume llyod or ashland/fima , i just randomly spawn a few carrots, mushrooms and so on in my beginning chest? i havent even set up a farm yet! i dont really feel like generating thigns that i shouldnt be having. is this because theres still trash items in my meadow?
spessman 6 Jan @ 11:19pm 
@Beinded I see, thanks for explanation. i'll try to use this and see how it goes
Beinded  [author] 6 Jan @ 4:39pm 
@spessman Also, values are being updated from time to time to ensure that it is not too OP, it is supposed to ensure a passive income from the generated vegetables and mushrooms (and being able of having livestock passively
Beinded  [author] 6 Jan @ 4:36pm 
@spessman When farmer and gardener does their action of finishing farming, it gives 5 type of mushroom, 5 type of vegetables and 5 pasture (the mushroom and vegetables are using a method from ThingGen called CreateFromCategory that generates a specific element from that category, the pastures uses Create (generates a specific element, in this case pasture)
spessman 6 Jan @ 10:26am 
So what does this mod actually do? Farmer and gardners spawn food at certain interval?