mirror of
https://github.com/Wincent01/InfectedRose.git
synced 2025-12-31 17:29:30 -06:00
13 lines
334 B
C#
13 lines
334 B
C#
namespace InfectedRose.Interface.Templates;
|
|
|
|
[ModType("file")]
|
|
public class FileMod : ModType
|
|
{
|
|
public override void Apply(Mod mod)
|
|
{
|
|
var source = mod.GetValue<string>("source");
|
|
var destination = mod.GetValue<string>("destination");
|
|
|
|
ModContext.CreateArtifactFrom(source, destination);
|
|
}
|
|
} |