Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landfill Undo Planner #113

Open
morsk opened this issue Feb 1, 2022 · 1 comment
Open

Landfill Undo Planner #113

morsk opened this issue Feb 1, 2022 · 1 comment

Comments

@morsk
Copy link

morsk commented Feb 1, 2022

Is your feature request related to a problem? Please describe.

I don't care about the feature as a user, as I can already do it myself. I'm just offering to write it.

Describe the solution you'd like

I wrote code that restores landfill tiles to the original, by regenerating the chunks on a separate surface, and copying tiles from them. It works, and as far as I know, no one has implemented this before.

I have no idea how interesting this is to other people, but if you want it in the mod I'll contribute it. It currently works as a script you can try:

https://github.com/combe15/factorio-whiteboard/blob/main/Lua/landfill%20undo.lua

But in a mod, I would make a planner for it, like the ore eraser. And the code would have comments and not look like a mess.

Additional context

@Nexela
Copy link
Owner

Nexela commented Feb 1, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants