Added basic entity scripts

This commit is contained in:
jonathan
2025-12-18 14:27:27 +01:00
parent 9032272599
commit 59d313d97d
19 changed files with 227 additions and 0 deletions
@@ -0,0 +1,12 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace Babushka.scripts.CSharp.GameEntity.LoadSave;
public class MalformedJsonException(JObject actualJson, string key, string problem) : Exception
{
public override string Message => $"JsonObject was malformed: {key} {problem}";
public override IDictionary Data => new Dictionary<string, JObject> { { "json", actualJson } };
}