Make MiniYaml inherits and removal more flexible

- Previously the Inherits syntax was only resolved when used for top-level nodes. Now it is also resolved for nested nodes as well.
- Previously the MiniYAML Merge feature supported the ability to remove nodes, but this only worked within the context of inherited nodes. Now, we allow node removal to work outside of the inheritance context.
This commit is contained in:
RoosterDragon
2024-06-30 10:51:51 +01:00
committed by Gustas
parent dccab8fd21
commit 4312a4d3f4
3 changed files with 108 additions and 21 deletions

View File

@@ -83,7 +83,6 @@ light_inf:
Filename: DATA.R16
Start: 4272
Offset: -30,-24
-Remap:
trooper:
Defaults:
@@ -169,7 +168,6 @@ trooper:
Filename: DATA.R16
Start: 4273
Offset: -30,-24
-Remap:
engineer:
Defaults:
@@ -244,7 +242,6 @@ engineer:
Filename: DATA.R16
Start: 4274
Offset: -30,-24
-Remap:
thumper:
Defaults:
@@ -304,7 +301,6 @@ thumper:
Length: 5
Tick: 480
BlendMode: Multiply
-Remap:
die1:
Filename: DATA.R16
Frames: 1543, 1550, 1557, 1564, 1571, 1578, 1585, 1592, 1599, 1600, 1601, 1602
@@ -335,7 +331,6 @@ thumper:
Filename: DATA.R16
Start: 4275
Offset: -30,-24
-Remap:
fremen:
Defaults:
@@ -422,7 +417,6 @@ fremen:
Filename: DATA.R16
Start: 4293
Offset: -30,-24
-Remap:
saboteur:
Defaults:
@@ -497,7 +491,6 @@ saboteur:
Filename: DATA.R16
Start: 4295
Offset: -30,-24
-Remap:
sardaukar:
Defaults:
@@ -586,7 +579,6 @@ sardaukar:
Filename: DATA.R16
Start: 4276
Offset: -30,-24
-Remap:
grenadier:
Defaults:
@@ -662,7 +654,6 @@ grenadier:
Filename: DATA.R16
Start: 4297
Offset: -30,-24
-Remap:
sandworm:
mouth: