Various attributes' [scenario] and derived elements' of it have been implemented. But missing several.
This commit is contained in:
parent
426abfd46e
commit
f76a0596d9
1 changed files with 57 additions and 0 deletions
|
@ -26,6 +26,10 @@
|
|||
_section="optional section"
|
||||
_topic="repeated topic" # TODO: Somehow, has to say that depends on the 'section'
|
||||
_terrain_type="repeated terrain_type"
|
||||
_scenario="optional scenario"
|
||||
_multiplayer="optional scenario"
|
||||
_test="optional scenario"
|
||||
_tutorial="optional scenario"
|
||||
[/root]
|
||||
|
||||
[about]
|
||||
|
@ -378,6 +382,59 @@
|
|||
hidden="optional boolean"
|
||||
hide_help="optional boolean"
|
||||
[/terrain_type]
|
||||
[scenario]
|
||||
_music="repeated music"
|
||||
_story="optional story"
|
||||
# TODO: _label=...
|
||||
# TODO: _item=...
|
||||
# TODO: _time...
|
||||
# TODO: _time_area=...
|
||||
# TODO: _side=...
|
||||
# TODO: _event=...
|
||||
# TODO: _generator=...
|
||||
|
||||
id="required string"
|
||||
next_scenario="required string" # TODO: Can be improved to check if the scenario file really exists
|
||||
description="optional string translatable"
|
||||
name="required string translatable"
|
||||
map_data="required string" # TODO: Complex case
|
||||
turns="optional integer"
|
||||
turn_at="optional integer"
|
||||
random_start_time="optional integer list"
|
||||
music="optional path"
|
||||
defeat_music="optional path list"
|
||||
victory_music="optional path list"
|
||||
theme="optional string"
|
||||
victory_when_enemies_defeated="optional boolean"
|
||||
remove_from_carryover_on_defeat="optional boolean"
|
||||
disallow_recall="optional boolean"
|
||||
experience_modifier="optional integer"
|
||||
# TODO: And attributes for multiplayer?
|
||||
[/scenario]
|
||||
[music]
|
||||
name="required string"
|
||||
append="optional boolean"
|
||||
play_once="optional boolean"
|
||||
immediate="optional boolean"
|
||||
ms_before="optional integer" # TODO: Incompatible with 'play_once=yes' or 'immediate=yes'
|
||||
ms_after="optional integer"
|
||||
shuffle="optional boolean"
|
||||
[/music]
|
||||
[story]
|
||||
_part="repeated part"
|
||||
[/story]
|
||||
[part]
|
||||
# TODO: _background_layer="optinal ..." # TODO: Required 'background' defined
|
||||
# TODO: _image=...
|
||||
|
||||
background="optional string" # TODO: Can be improved to check if the image file really exists
|
||||
scale_background="optional boolean" # TODO: Required 'background' defined
|
||||
story="required string translatable"
|
||||
show_title="optional boolean"
|
||||
title="optional string translatable" # Incompatible with 'show_title=yes'
|
||||
music="optional string" # TODO: Can be improved to check if the music file really exists
|
||||
sound="optional string list"
|
||||
[/part]
|
||||
[/schema]
|
||||
|
||||
## Things that still need to be converted, in a similar format.
|
||||
|
|
Loading…
Add table
Reference in a new issue