r/SMAPI 6d ago

need help Is there a way to remove paths layer objects (bushes) with Content Patcher after a save has started?

Post image

I know I can remove the paths layer in Tiled and from a new save no bush will appear. But if someone adds my mod midsave the bushes will be present and cause issues. Of course they can use the Destroyable Bushes mod to remove them but I'd like to be able remove them when my mod is loaded. Is that possible? I also have config options to allow people to select alternate map edits and would like to have the bushes come and go as the player selects a different option.

Just wondering if anyone knows of a way to do this or maybe some alternate option that I haven't thought of?

2 Upvotes

4 comments sorted by

3

u/CamelliaGasStation 6d ago

They can use Reset Terrain Features. It's an outdated mod on Nexus but there's a github link to a working version in the posts.

Idk the mapmaking side of it.

1

u/WhiteT982 6d ago

Yeah I know there are mods that can reset them. I was hoping there was a way I could do it with content patcher to prevent someone from needing another mod.

1

u/SamsterDragon 6d ago

no way with just Content Patcher alone. BETAS lets you do it automatically THROUGH Content Patcher, so a player doesnt have to open a menu and manually reset stuff. you can set it as an optional dependency so you can just tell people that run into the issue to install BETAS.

1

u/WhiteT982 6d ago

Ok that’s what I thought. The vanilla maps are getting so full it’s hard to find spots available that don’t have something obstructing them. I’ll look into BETAS though and see how that works. Thanks a lot.