Skip to content

Commit

Permalink
Schema: Fix a few incorrect types
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Oct 24, 2018
1 parent ea9d483 commit 4ba0c2b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion data/schema/filters/location.cfg
Expand Up @@ -28,6 +28,6 @@
name="$filter_adjacent_location"
max=0
super="$filter_location"
{SIMPLE_KEY count s_int}
{SIMPLE_KEY count s_range_list}
{SIMPLE_KEY adjacent dir_list}
[/tag]
12 changes: 12 additions & 0 deletions data/schema/game_config.cfg
Expand Up @@ -358,6 +358,17 @@
name="micro_ai_action"
value="add|delete|change"
[/type]
[type]
name="coordinate"
[union]
[type]
link=int
[/type]
[type]
value="recall"
[/type]
[/union]
[/type]
[type]
name="coordinates"
[union]
Expand All @@ -380,6 +391,7 @@
[/type]
[/union]
[/type]
{SUBST_TYPE coordinate}
{SUBST_TYPE coordinates}
{SUBST_TYPE range_list}
{SUBST_TYPE terrain_code}
Expand Down
10 changes: 5 additions & 5 deletions data/schema/units/modifications.cfg
Expand Up @@ -34,11 +34,11 @@
{SIMPLE_KEY set_accuracy int}
{SIMPLE_KEY set_movement_used int}

{SIMPLE_KEY increase_damage int}
{SIMPLE_KEY increase_attacks int}
{SIMPLE_KEY increase_parry int}
{SIMPLE_KEY increase_accuracy int}
{SIMPLE_KEY increase_movement_used int}
{SIMPLE_KEY increase_damage int_percent}
{SIMPLE_KEY increase_attacks int_percent}
{SIMPLE_KEY increase_parry int_percent}
{SIMPLE_KEY increase_accuracy int_percent}
{SIMPLE_KEY increase_movement_used int_percent}

{SIMPLE_KEY attack_weight int}
{SIMPLE_KEY defense_weight int}
Expand Down
4 changes: 2 additions & 2 deletions data/schema/units/single.cfg
Expand Up @@ -83,8 +83,8 @@
name="units/unit_type/abilities"
[/link]

{SIMPLE_KEY x s_int}
{SIMPLE_KEY y s_int}
{SIMPLE_KEY x s_coordinate}
{SIMPLE_KEY y s_coordinate}
{SIMPLE_KEY location_id string}
{SIMPLE_KEY facing dir}
{SIMPLE_KEY goto_x s_int}
Expand Down

0 comments on commit 4ba0c2b

Please sign in to comment.