NHSE/NHSE.Core/Editing/Batch/BatchMutator.cs
Kurt 0798aa5a97 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
2021-03-21 11:51:57 -07:00

12 lines
325 B
C#

using System.Collections.Generic;
namespace NHSE.Core
{
public abstract class BatchMutator<T> where T : class
{
protected const string CONST_RAND = "$rand";
public abstract ModifyResult Modify(T item, IEnumerable<StringInstruction> filters, IEnumerable<StringInstruction> modifications);
}
}