Simpler Pip Plant Rule (Vanilla/DLC)

If you liked this item, please rate it up on Steam Workshop page.

Authors: Vincent, undancer

Last revision: 8 Oct, 2023 at 16:21 UTC (1)

File size: 1.47 MB

On Steam Workshop

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]

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.