Correct some errors in the schema that were unearthed by the previous commit

This commit is contained in:
Celtic Minstrel 2022-12-28 20:03:37 -05:00
parent 5ec1d80bc1
commit 7ef71decc5
4 changed files with 20 additions and 26 deletions

View file

@ -531,8 +531,8 @@
[/tag]
{LINK_TAG "titlescreen_music/music"}
{LINK_TAG "terrain_graphics"}
{LINK_TAG "color_palette"}
{LINK_TAG "color_range"}
{LINK_TAG "game_config/color_palette"}
{LINK_TAG "game_config/color_range"}
# TODO: Document [menu_item] and [undo_stack]
[if]
map_generation=default

View file

@ -12,21 +12,6 @@
{SIMPLE_KEY path string}
[/tag]
[tag]
name="color_range"
min=1
max=infinite
{REQUIRED_KEY id string}
{SIMPLE_KEY name t_string}
{SIMPLE_KEY rgb hex_list}
{DEFAULT_KEY default bool no}
[/tag]
[tag]
name="color_palette"
min=1
{ANY_KEY hex_list}
[/tag]
[tag]
name="game_config"
min=1
@ -128,8 +113,20 @@
{ANY_KEY string}
[/tag]
[/tag]
{LINK_TAG "color_range"}
{LINK_TAG "color_palette"}
[tag]
name="color_range"
min=1
max=infinite
{REQUIRED_KEY id string}
{SIMPLE_KEY name t_string}
{SIMPLE_KEY rgb hex_list}
{DEFAULT_KEY default bool no}
[/tag]
[tag]
name="color_palette"
min=1
{ANY_KEY hex_list}
[/tag]
[/tag]
[tag]
name="titlescreen_music"
@ -174,13 +171,10 @@
{SIMPLE_KEY description t_string}
[/tag]
[/tag]
[tag]
name="fonts"
min=1
[/tag]
[tag]
name="language"
min=1
max=infinite
{ANY_KEY t_string}
[/tag]
[tag]
@ -208,7 +202,6 @@
[/tag]
[tag]
name="about"
min=1
max=infinite
{SIMPLE_KEY title t_string}
{SIMPLE_KEY text string}

View file

@ -2,6 +2,7 @@
[tag]
name="units"
min=1
max=infinite
[tag]
name="$modifications"
max=0

View file

@ -166,8 +166,8 @@
value=image_mod
{SIMPLE_KEY replace string}
{SIMPLE_KEY add string}
{LINK_TAG "color_range"}
{LINK_TAG "color_palette"}
{LINK_TAG "game_config/color_range"}
{LINK_TAG "game_config/color_palette"}
[/case]
[case]
value=overlay