This shouldn't be too hard to make. Let's say your town got totally destroyed, like
Someone removed your house, overloaded your town with seeds and brick seeds, etc
Well, it shouldn't be too hard to make a code that removes everything in your town (including your house) and then it searches for whatever acre is your house acre. Then, it places a mansion seed somewhere in that acre. Maybe also search for your gate acre, and place a gate in that acre.
That way, you can either simply place your other buildings back with seeds, or have someone else come do it