Oxygen Not Included

Oxygen Not Included

619 ratings
Simpler Pip Plant Rule (Vanilla/DLC)
2
   
Award
Favorite
Favorited
Unfavorite
Mods: Tweaks
File Size
Posted
Updated
1.541 MB
Sep 10, 2019 @ 9:57am
Mar 20 @ 11:30pm
17 Change Notes ( view )

Subscribe to download
Simpler Pip Plant Rule (Vanilla/DLC)

Description
I really agree that the pips' vanilla plant rule is not hard but pure annoying.

So I made this, tweaked the plantDetectionRadius and maxPlantsInRadius arguments, changed the CountNearbyPlants function, to simplify the pips' plant rule.

There's a config file so that you can tweak it as you wish.

For default, the pip won't plant seed at the tile, if there's already a plant in the 3*3 square area of it, just like the preview picture.

Works better with Pip Plant Overlay

Details

Now having config UI implement with PLib, check it out while mod's enabled. It's best to restart the game after you changed the config.

Config Params
- searchMinInterval = 60f -> min interval for seed search
- searchMaxInterval = 300f -> max interval for seed search
- plantDetectionRadius = 1 (vanilla 6) -> detection area is a square area with 'plantDetectionRadius * 2 + 1' length of the sides and centered at the target tile.
- maxPlantsInRadius = 0 (vanilla 2) -> max allowed plants in detection area of the target tile is 'maxPlantsInRadius + 1'

Patterns (Not strictly tested)
- 0101010 (Default as the preview): plantDetectionRadius = 1, maxPlantsInRadius = 0
- 0011001100: plantDetectionRadius = 2, maxPlantsInRadius = 1
- 11111111: plantDetectionRadius = 0, maxPlantsInRadius = 0

Known Glitch

- Still tweaking for balance, welcome for your ideas.

Useful Links

- 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]
Popular Discussions View All (1)
0
Jun 15, 2024 @ 1:02pm
ILMerge PLib
TC-1000
155 Comments
Weasle Jan 24 @ 3:40am 
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 Sep 23, 2024 @ 10:45am 
The github for this seems to be deleted. Is there any surviving archive?
ET.Creation May 1, 2024 @ 4:42am 
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ś Jan 7, 2024 @ 5:57pm 
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 Jan 5, 2024 @ 7:21am 
this to work you need to disable fast track mod.
圈圈赛文超人 Jan 4, 2024 @ 8:48pm 
大佬,游戏里为什么不显示图标按钮,模组里打开了啊
Zombie Dec 24, 2023 @ 6:10pm 
-.- 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 Dec 9, 2023 @ 9:28am 
@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 Nov 9, 2023 @ 10:16am 
@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.
Criticopulus Nov 8, 2023 @ 1:20am 
This mod doesn't actually work. At least as far the configuration options. Nothing I do has as any effect in-game in terms of where the pips will actually plant. I tried modifying every variable and the pips still won't plant outside the base game restrictions.