adding saving to Datapacks and datasets

This commit is contained in:
2025-11-30 22:26:14 -06:00
parent 5efc807590
commit b40878a489
6 changed files with 153 additions and 3 deletions

View File

@@ -9,8 +9,16 @@ namespace SessionZero;
public static class TestingCommands
{
[Command(Name = "createpack")]
private static void CreateTestPack()
{
var pack = new Datapack("SessionZero Core", "sz_core");
pack.SavePack();
}
// TODO: Remove this after testing
[Command(Name = "test")]
[Command(Name = "testdata")]
private static void TestParseTemplate()
{
string toml = @"