缺氧
641 个评价
简化树鼠种植规则 (原版/DLC)
2
   
奖励
收藏
已收藏
取消收藏
Mods: Tweaks
文件大小
发表于
更新日期
1.541 MB
2019 年 9 月 10 日 上午 9:57
6 月 13 日 上午 8:57
18 项改动说明 ( 查看 )

订阅以下载
简化树鼠种植规则 (原版/DLC)

描述
目前树鼠的种植规则确实不是难,就是单纯很烦人。

所以我调了下plantDetectionRadius和maxPlantsInRadius这两个参数,改了下CountNearbyPlants函数的逻辑,以便简化树鼠种植规则。

提供了配置文件可供按自己喜好调整参数。

默认情况下,如果在某个格子的3*3矩形范围内已经有一棵植物了,树鼠就不会在该格子种植,即如预览图所示。

配合Pip Plant Overlay使用更佳

具体参数

新增配置界面,用PLib实现,MOD开启时即可看见配置按钮,修改配置后最好是重启游戏以使配置生效。

配置参数
- searchMinInterval = 60f -> 种子搜寻最小间隔
- searchMaxInterval = 300f -> 种子搜寻最大间隔
- plantDetectionRadius = 1 (原生6) -> 植物探测半径,探测范围即以指定格子为中心边长为'plantDetectionRadius * 2 + 1'的正方形
- maxPlantsInRadius = 0 (原生2) -> 探测范围内最多允许已有的植物,超过这个值当前格子就不能种植,也即指定格子探测范围内允许种的植物数量最大为'maxPlantsInRadius + 1'

模式 (没有严格测试)
- 0101010 (默认如预览图): plantDetectionRadius = 1, maxPlantsInRadius = 0
- 0011001100: plantDetectionRadius = 2, maxPlantsInRadius = 1
- 11111111: plantDetectionRadius = 0, maxPlantsInRadius = 0

已知缺陷

- 仍在微调平衡性,欢迎建议。

相关链接

- My GitHub[github.com]
- undancer / oni-mods[github.com]
- [Oxygen Not Included] - Mods and Tools - Klei Entertainment Forums[forums.kleientertainment.com]
- Oxygen Not Included Database by Fabrizio Filizola[oni-db.com]
- peterhaneve / ONIMods / PLib[github.com]
热门讨论 查看全部(1)
0
2024 年 6 月 15 日 下午 1:02
ILMerge PLib
Rage Machine
156 条留言
Trigger Zero 5 月 17 日 下午 12:16 
as of this moment this is 1000% working, and I have a load of mods, no crashes or errors. I wanted to test it was positively the mod working: I removed all trim from all tiles and the pips just successfully haphazardly planted rows of pincha, in the wrong direction for upside down plants, in places too bundled of other plants where the game had absolutely zero business allowing planting in normal circumstances.

I use Mod Updater mod, and clicked on the mod settings for the simpler pip planting, changed the numbers from 60 -> 30, 300 -> 200, and moved the plants in area from 0 -> 1. Restarted game, was nervous they wouldn't plant (it ended up being from gas pressure too low) and it is now working. It seems like the pip planting overlay is reflecting their ability? Because places where a pip should not be able to plant are showing green for me.

If it is not working for you try messing with the settings, restart, and check there isn't something else preventing it.
Weasle 1 月 24 日 上午 3:40 
Don't bother with this one, too many conflicts and constantly crashes if you run other mods. Fast Track or this i think i'll go Fast Track.
HungryHobo 2024 年 9 月 23 日 上午 10:45 
The github for this seems to be deleted. Is there any surviving archive?
ET.Creation 2024 年 5 月 1 日 上午 4:42 
Can someone please explain to me how to change the settings so that the pip can plant in every spot one plant next to each other? What file do I need to edit? I have encoding issues when opening the .dll files and config.json is in a folder in "archived versions" and it is set to 0 and 0 for radius and max plants. When I edit stuff in the dll the games can't load the mod.
Śąnguiś ęxtręmiś 2024 年 1 月 7 日 下午 5:57 
If you want this mod to work with Fast Track than set its priority higher than fast track in the list of mods.
frd_dot 2024 年 1 月 5 日 上午 7:21 
this to work you need to disable fast track mod.
圈圈赛文超人 2024 年 1 月 4 日 下午 8:48 
大佬,游戏里为什么不显示图标按钮,模组里打开了啊
Zombie 2023 年 12 月 24 日 下午 6:10 
-.- How many times do i need to "reload till it works"?

I've adjusted the settings, restarted, loaded the save, went back to menu, and loaded the save waiting for them to plant and nothing... when that didn't work, attempted several more times of loading the same save to see "till it works" and nothing. I also created a new save with the same as above and also readjusting the settings.

I'm also using pip planting overlay and its showing green for what they don't want to bury. Is a fix for this "old bug" in the works?
Art Student 2023 年 12 月 9 日 上午 9:28 
@alpe ah thankyou mate so thts the problem, i am q confused because yesterday the mod work just fine but not today, turns out you just need to reload the load till it works lol
Alpe 2023 年 11 月 9 日 上午 10:16 
@Criticopulus
It's an old bug. My last message:
The rules only apply if you open a save, go back to the menu, and open the save again.