mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-28 04:47:51 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user