Restore the dir+count test for move_unit and add the syntax to the schema
This commit is contained in:
parent
705bfcc42f
commit
3303be6c91
3 changed files with 7 additions and 2 deletions
|
@ -346,7 +346,7 @@
|
|||
{SIMPLE_KEY to_x s_range_list}
|
||||
{SIMPLE_KEY to_y s_range_list}
|
||||
{SIMPLE_KEY to_location string}
|
||||
{SIMPLE_KEY dir dir_list}
|
||||
{SIMPLE_KEY dir dir_count_list}
|
||||
{DEFAULT_KEY clear_shroud s_bool no}
|
||||
{DEFAULT_KEY fire_event s_bool no}
|
||||
{DEFAULT_KEY check_passability s_bool yes}
|
||||
|
|
|
@ -160,6 +160,11 @@
|
|||
value="-?([ns][ew]?)(:cc?w)?"
|
||||
[/type]
|
||||
{LIST_TYPE dir}
|
||||
[type]
|
||||
name="dir_count"
|
||||
value="-?([ns][ew]?)(:cc?w)?(:\d+)?"
|
||||
[/type]
|
||||
{LIST_TYPE dir_count}
|
||||
[type]
|
||||
name="anim_hits"
|
||||
[union]
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
# to be added to the schema validation.
|
||||
[move_unit]
|
||||
id=bob
|
||||
dir=sw,sw,sw,s,s
|
||||
dir=sw:3,s:2
|
||||
[/move_unit]
|
||||
|
||||
{ASSERT (
|
||||
|
|
Loading…
Add table
Reference in a new issue