Add batch editor

Similar to PKHeX's batch editor, probably with some stubbed functionality.

Example to change Oak Trees to apple trees:
=ItemId=60000
.ItemId=60001
;
=ExtensionItemId=60000
.ExtensionItemId=60001

Example to unbury all items:
=IsBuried=True
.IsBuried=False
.IsDropped=True
This commit is contained in:
Kurt
2021-03-21 11:51:57 -07:00
parent c9a4554beb
commit 0798aa5a97
18 changed files with 1115 additions and 35 deletions

View File

@@ -987,6 +987,14 @@ private void B_ImportPlacedDesigns_Click(object sender, EventArgs e)
}
private void Menu_Spawn_Click(object sender, EventArgs e) => new BulkSpawn(this, View.X, View.Y).ShowDialog();
private void Menu_Bulk_Click(object sender, EventArgs e)
{
var editor = new BatchEditor(SpawnLayer.Tiles, ItemEdit.SetItem(new Item()));
editor.ShowDialog();
SpawnLayer.ClearDanglingExtensions(0, 0, SpawnLayer.MaxWidth, SpawnLayer.MaxHeight);
LoadItemGridAcre();
}
}
public interface IItemLayerEditor