schema.cfg outdated

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
macabeus_br
Code Contributor
Posts: 14
Joined: March 28th, 2013, 5:44 pm

schema.cfg outdated

Post by macabeus_br »

I'm working on wmlgrammar and wmlvalidator tools. These script's function is to analyze and find errors in WML files.
They work using the schema.cfg file, which is out of date, with inconsistencies and incomplete.
It can't analyze campaigns, for exemple.

The schema.cfg stores the WML's syntax of each command.
For example, to check the syntax of TerrainWML (partially implemented):

Code: Select all

[terrain_type]
   symbol_image="required path"
   editor_image="optional path"
   id="required string"
   name="required string translatable"
   description="optional string translatable"
   editor_name="optional string"
   string="required string"
   submerge="optional float limit(0,1)"
   light="optional integer"
   max_light="optional integer"
   min_light="optional integer"
   heals="forbidden integer"
   gives_income="optional boolean"
   recruit_onto="optional boolean"
   recruit_from="optional boolean"
   editor_group="required string list"
   hidden="optional boolean"
   hide_help="optional boolean"
[/terrain_type]
To implement the rest, it is analogous.
However, they are many, will take a long time to do everything yourself. I need someone to help me.

I wonder if someone could help me update and complete the file. I appreciate any help.
I am newbie here, I do not know the team =P
Last edited by macabeus_br on August 24th, 2015, 8:10 pm, edited 3 times in total.
macabeus_br
Code Contributor
Posts: 14
Joined: March 28th, 2013, 5:44 pm

Re: schema.cfg outdated

Post by macabeus_br »

Up!

Anyone? =(
Post Reply