畜牧农业扩展Animal husbandry and agricultural expansion

v7.0.5
by wtmxhyy (蜂功伟业)

添加养牛场、奶牛场、肉联厂、服装厂等畜牧和农业相关功能Add functions related to animal husbandry and agriculture such as cattle farms, dairy farms, meat processing plants and garment factories

Stable 5 days ago CoI-Keep No source
Source code
No source provided

添加养牛场、奶牛场、肉联厂、服装厂等畜牧和农业相关功能

Add functions related to animal husbandry and agriculture, such as cattle farms, dairy farms, meat processing plants and garment factories.

版本说明(双语版)

中文本模组支持中英文双语,已完成国际化适配。
更新时间:2026年6月8日 14:30:20

EnglishThis mod supports both English and Chinese, and internationalization has been implemented.
Update time: 14:30:20, June 8, 2026

2026年7月2日10:05:04开始V3版本开始支持ru和uk语言.

Version V3 has supported ru and uk languages starting at 10:05:04, July 2, 2026.

V3版本 鱼码头开始支持传送带和诱饵.Version V3: The Fish Dock now supports conveyor belts and bait.


image.png

image.png

image.png

image.png

image.png

image.png

最后友情提示,牛和奶牛都和游戏中的鸡一样,是从第一个见到鸡的村庄岛屿获取.

A friendly reminder: Cows and dairy cows, just like chickens in the game, can be obtained from the first village island where you encounter chickens.

**Copyright Notice**

Aug 09, 2026

Copyright Notice


image.png

作为本mod作者,有鉴于中国QQ群号:458776254 发布共享盗版游戏,侵犯作者权益违背社区公约.

本人宣布,在任何时候,任何情况下,永久禁止该群用户使用本人设计的任何mod.

As the author of this mod, given that Chinese QQ Group No. 458776254 has distributed and shared pirated games, infringing upon the author's rights and violating community rules.

I hereby announce that users from this group are permanently prohibited from using any mods created by me at any time and under any circumstances.

086版本兼容Version 086 Compatibility

Jul 18, 2026 v7.0.0

Version 086 Compatibility

从7.0版本开始,兼容游戏086版本.

关于6.0-6.01的版本更迭

Jul 16, 2026 v6.0.1

v6.0.1 还原id和注册方式,兼容旧存档.
v6.0是没有错误的版本,但是为了照顾已经使用老版本开始游戏的存档玩家,而升级了6.01版本用来修复存档兼容性.

而v6.0版本直接开始新游戏是不会有任何问题的.

特警告,使用6.0开始新游戏后,不要使用6.01版本,6.01版本兼容6.0以前版本不兼容6.0版本.

6.0使用的注册id和以前版本截然不同.因此建议老用户使用6.01版本,而新开游戏直接使用6.0版本,其没有差异性,区别在于存档兼容问题.

为了防止引起问题,特恢复原本的id一贯制,而取消了6.0版本的下载,本次问题属于迭代过程中id的存储占位问题.

以后制作版本我将会尽可能不修改以往的id.


v6.0.1 restores the IDs and registration methods, and is compatible with old save files.
Version 6.0 is a bug-free version, but version 6.0.1 was updated to fix save file compatibility for players who started games with older versions.

Starting a new game directly on version 6.0 will not cause any issues.

Special Warning: Do not switch to version 6.0.1 after starting a new game on version 6.0. Version 6.0.1 is compatible with versions prior to 6.0 but incompatible with version 6.0.

Version 6.0 uses completely different registration IDs compared with previous versions. Therefore, old users are recommended to use version 6.0.1, while new players starting a fresh game can directly use version 6.0. There is no functional difference between them, and the only distinction lies in save file compatibility.

To avoid relevant issues, the original consistent ID system has been restored, and the download channel for version 6.0 has been closed. This issue stems from ID storage placeholder problems during the version iteration process.

In future version updates, I will try my best not to modify previous IDs.

添加杀虫剂和更多鱼油消耗配方

Jul 03, 2026 v4.0.0


v4.0.0 | 2026-07-03
根据社区网友 warrenc 提供的改进建议.
添加了杀虫剂和高级有机肥料在农场中使用.
添加了高级牛牧场和高级奶牛牧场使用高级动物饲料.
添加了杀虫剂配方,高级有机肥料配方.高级动物饲料配方
添加了新的建筑,用鱼油和乙醇生产柴油.
新加入配方使用鱼油作为基础原料,大大增加鱼油的使用价值和层面,但是同时全面调低整体鱼油获取的几率,从而配平.
新加入的杀虫剂将会降低和抑制病虫害,如果病虫害没有杀虫剂抑制,会随着时间快速蔓延和发展将会降低农业产量.
Based on improvement suggestions put forward by community member warrenc:
Implemented the usage of Pesticides and Premium Organic Fertilizers on farms.
Added Premium Cattle Ranch and Premium Dairy Ranch, which consume Premium Animal Feed.
Introduced crafting recipes for Pesticides, Premium Organic Fertilizers, and Premium Animal Feed.
Added a new building that produces Diesel using Fish Oil and Ethanol as raw materials.
All newly added recipes take Fish Oil as a core base material, significantly expanding the application scenarios and practical value of Fish Oil. Meanwhile, the overall acquisition rate of Fish Oil has been reduced across the board for gameplay balance.
The newly added Pesticides can suppress and slow the spread of crop pests and diseases. Without pesticide suppression, pests and diseases will spread rapidly over time and drastically reduce agricultural output.

v3.0鱼码头加入传送带和诱饵功能Conveyor belt and bait functions added to Fish Dock in v3.0

Jul 02, 2026 v3.0.0

Conveyor belt and bait functions have been added to the Fish Dock in v3.0.
Russian and Ukrainian language support has been added.

加入渔场实现国际化Join the fishery to achieve internationalization

Jun 15, 2026 v2.0.0

v2.0.0 | 2026-06-15
根据社区网友warrenc 提出的建议.
添加了渔场,罐头厂,添加鱼类和鱼类产品生产线.并且供应各种罐头供应居民.
添加英文,实现国际化.
根据社区网友 gritten60 提出的bug
添加了牛的填充功能,可以解决旧存档中因为作弊器打开地图后无法通过贸易来获取牛和奶牛的问题.
v2.0.0 | 2026-06-15
Following suggestions put forward by community user warrenc:
Added fishing grounds and canneries, as well as production lines for fish and fish products. Various canned goods are now supplied to residents.
English language support has been added to achieve internationalization.

Fixed the bug reported by community user gritten60:
A cow replenishment feature has been implemented. This resolves the issue where players could not obtain cattle and cows via trading in old save files after using cheats to reveal the map.

image.png

image.png

image.png

可以自定义配置 Customizable configuration

Jun 10, 2026 v1.0.1

v1.0.1 | 2026-06-10

根据老人家(139958668) 反馈的问题,商店消耗衣服和牛奶太快,生产无法跟上的问题.
添加,配置文件和UI,现在用户可以自定义每百人口每月消耗量和提供牛奶和服装时获得多少奖励.奖励就是凝聚力.
Based on feedback from Laorenjia (139958668): the consumption of clothes and milk in the store is too rapid, outpacing production.

We have added relevant configuration files and UI. Users can now customize the monthly consumption per 100 population, as well as the cohesion rewards granted for supplying milk and clothes.

image.png

v7.0.5

Latest
Game version
0.8.6a
Released
Aug 06, 2026
File size
15.9 MB
License
CoI-Keep
Save-game: Add · Remove
Loading forum…

V7.0.5 | 2026-08-07

* 重塑经济体系
* 修改渔场3级的建筑成本,因为铝的生产过于滞后,而替换为更多的钢需求.
* 修改罐头厂为15CP2,而不是以往的CP3,提前一个科技等级.因为CP3科技滞后,而渔场初期可以制造,定义CP2合理.
* 修改一个关于鱼产出的逻辑矛盾代码.
* 修改奶牛的产出.
* 根据成本造价修改了所有需求
* 在用户自定义配置里面分别对每一种产品都做了自定义.
* 加入防止空逻辑
* Reshape the economic system
* Revise the construction cost of Level‑3 fishing grounds; replace aluminium with higher steel requirements since aluminium production is excessively delayed.
* Change the cannery to 15CP2 instead of the previous CP3, advancing it by one tech tier. This is reasonable because CP3 technology unlocks late, while fishing grounds are available early, making CP2 the appropriate setting.
* Fix a code logic conflict related to fish output.
* Adjust cow output values.
* Revise all resource requirements based on construction costs.
* Add customisation options for every individual product within the user‑defined configuration.
* Add safeguards against empty logic.



V7.0.4 | 2026-07-29
修复 1: FoodSystemInitializer.cs 。0.8.6 版本 SettlementFoodModule.SupportedProducts 已改为纯 get 属性(读 Prototype),而 SettlementFoodModuleProto.OnInitialize 每次启动自动从 protosDb.All<FoodProto>() 重建 — 因此 UpdateSettlementFoodModules 的反射 set 完全多余且必然失败,需要删除。
该实例字段已在存档版本 323(即 0.8.6 开发阶段)被移除
086和086a有一定的更新差异.因此重新校准.

修复 2: CustomIconPatch.cs 增加 s_initialized 标志位,防止重复 Apply 触发 AssetBundle 二次加载 E 级错误 + Harmony 重复 Patch。

V7.0.3 | 2026-07-29
* 修复7.0.1-7.02可能存在的图标缺失显示问题
* 添加了自适应路径逻辑
* 清理不必要的日志和调试输出.
* Fix the possible icon missing display issue in versions 7.0.1 to 7.0.2
* Added adaptive path logic
* Removed unnecessary logs and debug outputs


V7.0.2 | 2026-07-27
* 修复7.0.1可能存在的图标缺失显示问题


V7.0.1 | 2026-07-24
2026年7月24日17:15:50
* 感谢 Vladovlak 提出的建议.
* 对家畜牧场的ui进行了修复和鸡养殖场的ui一样带有饲料和产出显示界面.
* 对3个等级渔场的鱼饵接口进行调整和逻辑判断修改,现在支持产品和鱼饵的正确显示.
* 对模型显示进行了调整加入了肉的纹理作为替代.游戏中没有鱼,而本人没有能力制作这种样式的模型只好用游戏自带的肉来替代.
* Thanks to Vladovlak for putting forward suggestions.
* Fixed the UI of the livestock ranch, which now features feed and output display panels identical to those of the chicken farm.
* Adjusted the bait interfaces and modified logical judgments for fishing grounds of all three tiers; the products and baits can now be displayed correctly.
* Tweaked model rendering by adding meat textures as a substitute. The game contains no fish models, and I lack the capability to create fish models of this style, so I used the built-in meat assets in the game as a replacement.
V7.0.0 | 2026-07-18
2026年7月18日09:22:51
兼容086版本 Compatible with version 086
v6.0.1 | 2026-07-16
修复存档问题
v6.0.0 | 2026-07-16
根据社区网友 Denis 提出的建议
* 添加了罐装食品的配置方案,可以和牛奶服装一样设置.
*修改了鱼饵投入比,修改了鱼的产出比.
* 修复了鱼码头的相关设置和存档方案,现在每个鱼码头将会有自己的诱饵配置和设定,将会存在存盘中可延续被读取.
根据社区网友 BeerSmurf 提出的建议
*服装厂加入了钢的配方

Suggestions submitted by community member Denis
Added configuration options for canned food, configurable in the same manner as milk and clothing.
Adjusted bait input ratio and fish yield ratio.
Fixed fish dock settings and save file logic. Each fish dock now retains its independent bait configurations and parameters, which will be saved and loaded persistently.
Suggestions submitted by community member BeerSmurf
Added steel crafting recipe to the garment factory.

v5.0.1 | 2026-07-10

根据社区网友NightFury 提出的BUG
bug表现为兼容性问题,在与Recipes++同时加载时,遗漏了一个关键补丁的兼容处理,虽然端口错位避免了占用,但是内在端口运行补丁了Recipes++的补丁实际未能生效,现在做出修正,并鸣谢.
修改了以下文件:
添加了 s_pesticidePortName 静态字段 Added the static field `s_pesticidePortName`
更新 PatchGreenhousePorts 方法,设置动态端口名称
Update the PatchGreenhousePorts method to set a dynamic port name
更新 ReceivePrefix 方法,使用动态端口名称
添加了 s_pesticidePortName 静态字段 Added the static field s_pesticidePortName
更新 GetOutputPortProductPrefix 方法,使用动态端口名称


Based on the bug reported by community user NightFury:
The bug manifests as a compatibility issue. When loaded alongside Recipes++, a critical patch compatibility handling was missing. Although port misalignment avoided port occupation, the internal port patch for Recipes++ failed to take effect. This issue has now been fixed, and special thanks are given accordingly.
The following files were modified:
FarmPatches.cs:
- Added the static field s_pesticidePortName
- Updated the PatchGreenhousePorts method to set dynamic port names
- Updated the ReceivePrefix method to adopt dynamic port names
FarmPortProductResolverPatch.cs:
- Added the static field s_pesticidePortName
- Updated the GetOutputPortProductPrefix method to adopt dynamic port names

v5.0.0 | 2026-07-10

根据warrenc提出的建议,添加了有机肥料和高级有机肥料合成1级肥料的配方.
本配方的方案在于优化和减少了原本的氨生产序列的需求.充分利用鱼油的生产品进行深度融合.

根据warrenc提出的本mod和Recipes++不兼容问题,做出修正.
本mod将会自动判定Recipes++是否加载,为了防止加载优先权,使用降级处理,首先容许其他mod优先加载,本mod滞后加载注册,检测如果Recipes++已经加载,则执行备用方案,在温室中使用Y+3偏移方案.若未能检测到Recipes++加载则自动使用默认Y+2偏移方案.
从而有效的避免了D端口的杀虫剂和农药两个产品的共同影响,解决了4.0版本以来的Y+1偏移产生同建筑多次定义冲突的问题.
Per suggestions from warrenc, new crafting recipes have been added to produce Tier 1 Fertilizer by combining Organic Fertilizer and Advanced Organic Fertilizer.
This recipe overhaul reduces reliance on the original ammonia production chain and enables tighter integration with existing fish oil production workflows.
Compatibility fixes between this mod and Recipes++ have been implemented as recommended by warrenc.
The mod now automatically detects whether Recipes++ is active. To resolve load priority conflicts, a delayed registration logic is introduced: all other mods will load and register their prototypes first, while this mod defers its own registration process.
If Recipes++ is detected as loaded, the fallback Y+3 offset configuration will be applied to greenhouses. If Recipes++ is absent, the default Y+2 offset scheme will be used automatically.
This adjustment successfully eliminates cross-interference between the two D-port outputs (Insecticide and Pesticide), and resolves duplicate building definition conflicts stemming from the legacy Y+1 offset that have existed since v4.0.

v4.0.2 | 2026-07-10

根据Dzony 和Vladovlak在社区做出的BUG反馈,做出紧急修复.
m_productsManager 字段标记了 \[DoNotSave\] ,这意味着它在反序列化时不会被初始化,导致 ProcessDailyAccumulation 方法中调用 m_productsManager.ProductCreated() 时抛出 NullReferenceException。
AssetTransactionManager 在存档时会序列化 m_providerBuffers 列表
- ProductStats.GlobalQuantity 和 StoredAvailableQuantity 通过序列化保存和恢复, ProductsManager 中的值是正确的
- GlobalOutputBuffer 反序列化时创建了自己的 ProductStats 对象,与 ProductsManager 中的不是同一个实例
- 通过反射替换 m_productStats ,确保 GlobalOutputBuffer.OnQuantityChanged 更新的是正确的 ProductStats 对象
在反序列化后,将 GlobalOutputBuffer 中的 m_productStats 替换为 ProductsManager 中的共享实例

v4.0.1 | 2026-07-08

根据社区网友warrenc 提供的BUG
紧急排查,已经查明是存档序列化问题,现在已经修复.

Bug reported by community member warrenc
Urgent investigation completed; the issue has been identified as a save serialization bug and is now fixed.
v4.0.0 | 2026-07-03
根据社区网友 warrenc 提供的改进建议.
添加了杀虫剂和高级有机肥料在农场中使用.
添加了高级牛牧场和高级奶牛牧场使用高级动物饲料.
添加了杀虫剂配方,高级有机肥料配方.高级动物饲料配方
添加了新的建筑,用鱼油和乙醇生产柴油.
新加入配方使用鱼油作为基础原料,大大增加鱼油的使用价值和层面,但是同时全面调低整体鱼油获取的几率,从而配平.
新加入的杀虫剂将会降低和抑制病虫害,如果病虫害没有杀虫剂抑制,会随着时间快速蔓延和发展将会降低农业产量.
Based on improvement suggestions put forward by community member warrenc:
Implemented the usage of Pesticides and Premium Organic Fertilizers on farms.
Added Premium Cattle Ranch and Premium Dairy Ranch, which consume Premium Animal Feed.
Introduced crafting recipes for Pesticides, Premium Organic Fertilizers, and Premium Animal Feed.
Added a new building that produces Diesel using Fish Oil and Ethanol as raw materials.
All newly added recipes take Fish Oil as a core base material, significantly expanding the application scenarios and practical value of Fish Oil. Meanwhile, the overall acquisition rate of Fish Oil has been reduced across the board for gameplay balance.
The newly added Pesticides can suppress and slow the spread of crop pests and diseases. Without pesticide suppression, pests and diseases will spread rapidly over time and drastically reduce agricultural output.

未启用杀虫剂 病虫害逐渐累积,产量最高减少 50%
启用杀虫剂且供应充足 病虫害等级持续下降,产量不受影响
启用杀虫剂但供应中断 病虫害增长速度减缓(15% vs 25%)

v3.0.0 | 2026-07-02

根据社区网友 bigbang2003 和 warrenc 提出的建议.
添加了传送带接口,添加了诱饵功能可以使得鱼码头产量提升.
添加了ru和uk两种语言的支持.

Suggestions put forward by community users bigbang2003 and warrenc have been adopted.
Conveyor belt interface has been added, and the bait function is newly introduced to boost the output of the fish dock.
Support for ru and uk languages has been implemented.

v2.0.0 | 2026-06-15

根据社区网友warrenc 提出的建议.
添加了渔场,罐头厂,添加鱼类和鱼类产品生产线.并且供应各种罐头供应居民.
添加英文,实现国际化.
根据社区网友 gritten60 提出的bug
添加了牛的填充功能,可以解决旧存档中因为作弊器打开地图后无法通过贸易来获取牛和奶牛的问题.
Based on suggestions put forward by community user warrenc,
fisheries and canneries have been added, along with production lines for fish and fish products that supply residents with various canned goods.
English language support has been integrated to enable internationalization.

In response to a bug reported by community user gritten60,
a cattle replenishment feature has been added to resolve the issue where players could not obtain cows and dairy cows via trade in old save files after opening the map with cheats enabled.
v1.0.1 | 2026-06-10

根据老人家(139958668) 反馈的问题,商店消耗衣服和牛奶太快,生产无法跟上的问题.
添加,配置文件和UI,现在用户可以自定义每百人口每月消耗量和提供牛奶和服装时获得多少奖励.奖励就是凝聚力.
Based on the feedback from the senior user (139958668), clothes and milk in the store are consumed too quickly, and production cannot keep up.
Relevant configuration files and UI have been added. Now users can customize the monthly consumption per hundred population, as well as the rewards obtained for supplying milk and clothes. The reward is cohesion.

v1.0.0 | 2026-06-10

支持0.8.5
添加养牛场、奶牛场、肉联厂、服装厂等畜牧和农业相关功能
支持英文和中文
Supports version 0.8.5
Added functions related to animal husbandry and agriculture, including cattle farms, dairy farms, meat processing plants and garment factories.
Supports English and Chinese.
This mod depends on

This mod has no dependencies.

Mods that depend on this

No other mods depend on this mod yet.