Farthest Frontier

Farthest Frontier

106 个评价
Balanced Diet
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
12.288 KB
4 月 2 日 下午 12:16
10 月 23 日 上午 7:29
7 项改动说明 ( 查看 )

订阅以下载
Balanced Diet

在 Olleus 的 1 个合集中
Farther & Further
12 件物品
描述
A mod for Farthest Frontier that makes villagers eat more evenly from all the food types, prioritising nearly spoilt ones.

New Reworked Version

Villagers will try to eat, stock markets, and restock houses with the full range of food categories (protein, grain, veg, fruit, and dairy) that they can. Within these, they'll tend to prioritise consuming those types of food which are short lived and close to spoiling. Villages are still, however, not omniscient and will prioritise collecting food from nearby storage than from distant ones. The net effect is to increase consumption of bread, green vegetables, and dairy products; and reduce total food spoiled (see screenshots).

This new algorithm works much better than the old one. Perhaps too well, and can significantly reduce the difficulty of maintaining large food stockpiles. To counter balance this, the mod comes with the ability to reduce the lifetime of all foods in the game by a chosen percentage. By default, this reduction is set to -10%, but you can change it to whatever values you want [foodDecayRateModifier in configs - see installation instructions].


Performance
This mod has an impact on game performance. Not because the algorithm is itself inefficient, but because some compiler optimisation options had to be turned off to enable the mod to inject code in the correct part. This is not noticeable most of the time, but you may notice a slight reduction in the population at which your game starts stuttering when playing at high speed.

Installation instructions.
11 条留言
不语夜 11 月 2 日 上午 5:09 
foodLifetimeModifier怎么修改回来,不喜欢mod改动本体游戏参数。
得了不玩英格兰会死病 7 月 23 日 上午 7:53 
错误修复

解决游戏本体 0.9.7g 版本中「木桶无法正常降低食物腐败率」的BUG

性能说明

算法经优化处理,但因需关闭部分编译器优化选项以实现代码注入

高速游戏时,人口规模较大可能出现轻微卡顿(原崩溃阈值降低约10%-15%)
得了不玩英格兰会死病 7 月 23 日 上午 7:53 
新版食物智能调配系统

本模组使村民更均衡地消耗所有食物类别(蛋白质、谷物、蔬菜、水果、乳制品),并优先食用临近腐败的食物。具体特性如下:

智能消耗逻辑

村民会尽可能在饮食、市场采购和房屋补货中覆盖全部食物类别

在各类别中优先消耗保质期短且即将腐败的食物

仍遵循就近原则:优先从邻近仓库取用而非远距离运输

实际效果

✅ 显著提升面包/绿叶蔬菜/乳制品消耗量

✅ 减少食物腐败总量(参见截图对比)

⚠️ 可能大幅降低大型粮仓维护难度(视为平衡性调整)

腐败率补偿机制

为平衡系统优化带来的便利,可自定义缩短所有食物保质期

默认设置:-10%(配置文件修改 foodLifetimeModifier 参数)

支持任意百分比调整(正数延长/负数缩短保质期)
Olleus  [作者] 7 月 22 日 上午 10:38 
Thanks for reporting this. I think I've traced this down to a bug in the game (which, incidentally, means Ice of Amatok is also broken) where things that *increase* the lifetime of goods in the resource panel UI *decrease* it in practice. I'll have to double check it, and see if it's the same between 0.9.7 and the 1.0.0 beta.
Bear 7 月 15 日 下午 6:32 
I put the setting at -1 and created a new town after restarting of course. So year three and nothing ever rots. Kinda nice since I'm still learning I have a lot of food, also good, I suppose I could have just disabled spoiling which is effectively what this is. All foods including the initial preserves and smoked meat always say 0 months to spoil. Also they are not prioritizing anything over anything else, it seems that pretty much eat whatever and why not, they all spoil at the same rate, never or immediately depending on where you look.

It's safe to say this mod with setting such as -5, -1, 5, etc is not working as intended in the latest version.
Bear 7 月 14 日 下午 8:06 
Confirmed that something's backwards. If I put 5 in the settings it tells me nothing will expire in the next 12 months but everything does, all foods spoil 500% faster, so Beans only last 2 months instead of 18. If I put -5 then suddenly in the resources and storage button on the bottom, if I click a food in the settlement stores it says spoils in 0 months but the graph shows nothing is spoiling at all, the berries went from spoiling 100% in 1 month to nothing spoiling ever.

So something is wrong with the settings, you put in -0.1 it will actually delay spoilage by 10% not speed it up but it will display that it's spoiling faster. not in the "food stores" at the top of the screen doesn't care what value you put, it calculates it based on default game values.

So now I can use this mod and not have everything spoil but the numbers are all incorrect and it's opposite of the text in the mod tip text in melon.
Bear 7 月 14 日 下午 7:01 
Same for beans, peas, and other things. It shows they will not spoil any time soon but they spoil anyway.
Bear 7 月 14 日 下午 7:00 
It's weird, so I put 5 in the place of where there was -.1 and all the food updated to last 5x longer but the berries they pick in fall all still spoil in a month. It goes from full green to full red in 1 month and 600 berries just gone. No one has picked them up they're all actually spoiled. Even base game says they last longer than a month, I don't know what I'm doing wrong. I'm on tier 2 so I can't preserve them yet.
宝渊 4 月 28 日 下午 8:45 
均衡的饮食

为《最远边境》添加了一个mod,让村民们吃的食物种类更均匀。导致面包,牛奶和奶酪的消费增加(超过蔬菜和肉类),并且房屋可以更快地从当地供应商那里获得所需的食物种类。

屏幕截图显示,村民和房屋拥有的谷物和乳制品比蔬菜、水果或蛋白质种类更多。显然,这取决于你的定居点生产足够的这些物品,让它们到达每个人手中。效果是明显的,但并不激烈,当我把这个模型添加到一个现有的1500的发达城镇时,我看到面包和奶酪的消费增加了20%,而其他的则相应减少了。这让玩家更容易依赖谷物种植和牧场,但这并不能彻底改变游戏的农业平衡。


兼容最新版本:0.9.7(和补丁)Mono。订阅,启动,退出和重新启动游戏,以正确下载并安装游戏,使其在MelonLoader终端上列出。
大银 4 月 28 日 下午 5:45 
它能让村民更均衡地从各类食物中获取食物。这会使得面包、牛奶和奶酪的消费量增加(相较于蔬菜和肉类),同时让房屋能更快地从当地供应商处获取实现升级所需的食物种类。

截图展示了村民和房屋拥有更多谷物和乳制品的情况,相较于各类单独的蔬菜、水果或蛋白质食物。显然,这取决于你的定居点是否生产出足够的食物供所有人获取。这种效果比较明显,但并不夸张。当我在一个已有 1500 人口的成熟城镇添加这个模组后,我发现面包和奶酪的消费量增加了约 20%,而其他食物的消费量相应减少。这使得玩家更有可能大量依赖谷物种植和畜牧养殖,但它并不会完全改变游戏中的农业平衡。

兼容版本:0.9.7(及后续补丁)Mono 版本。订阅该模组,启动游戏,退出并重新启动游戏,以便正确下载并安装该模组,使其显示在 MelonLoader 终端上。