Oxygen Not Included

Oxygen Not Included

631 ratings
Simpler Pip Plant Rule (Vanilla/DLC)
2
   
Award
Favorite
Favorited
Unfavorite
Mods: Tweaks
File Size
Posted
Updated
1.541 MB
10 Sep, 2019 @ 9:57am
13 Jun @ 8:57am
18 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
15 Jun, 2024 @ 1:02pm
ILMerge PLib
TC-1000
156 Comments
Trigger Zero 17 May @ 12:16pm 
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 24 Jan @ 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 23 Sep, 2024 @ 10:45am 
The github for this seems to be deleted. Is there any surviving archive?
ET.Creation 1 May, 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ś 7 Jan, 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 5 Jan, 2024 @ 7:21am 
this to work you need to disable fast track mod.
圈圈赛文超人 4 Jan, 2024 @ 8:48pm 
大佬,游戏里为什么不显示图标按钮,模组里打开了啊
Zombie 24 Dec, 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 9 Dec, 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 9 Nov, 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.