commit f8323f947a583b253581e94fdf0988da2ae642e5 Author: iisaev Date: Thu Sep 10 10:59:40 2026 +0300 init diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..531cb27 --- /dev/null +++ b/manifest.json @@ -0,0 +1,8 @@ +{ + "id": "test_defaults_and_patches", + "name": "Test Defaults and Patches", + "version": "1.0.0", + "author": "ct", + "description": "Test mod demonstrating property patches system with wildcard and targeted patches", + "depends": ["core>=1"] +} diff --git a/patches/characters.json b/patches/characters.json new file mode 100644 index 0000000..2cbd4c6 --- /dev/null +++ b/patches/characters.json @@ -0,0 +1,14 @@ +{ + "Items": [ + { + "Id": "Marao", + "TestPatched": 42, + "TestDefault": 100 + }, + { + "Id": "*", + "TestDefault": -20, + "TestGlobalPatch": 1 + } + ] +} diff --git a/patches/items.json b/patches/items.json new file mode 100644 index 0000000..d8dbace --- /dev/null +++ b/patches/items.json @@ -0,0 +1,14 @@ +{ + "Items": [ + { + "Id": "food/ration", + "Durability": 99, + "SpecialProp": true + }, + { + "Id": "*", + "Durability": 50, + "GlobalItemProp": "patched" + } + ] +}