i don't ask for validator, because i believe they use it, i ask for validation schema.Mooncat wrote:Validator can only tell you whether you are doing it right or not, but it can't tell you what you can actually do.mexmer wrote:for item/entity prototype we don't need exactly doc, validation schema should be enough.
i suspect they are using something like this http://json-schema.org/ otherwise writing validator for any and every item type will be tedious task.
There was some time people don't know the "localised_name" attribute exists, because it is not found in vanilla files, and I bet many people still don't know there is also "localised_description". I knew it by accident.
To me, I didn't know about sprite prototype until I saw aubergine's github issue here: https://github.com/aubergine10/Style/issues/33
There are still much we need to figure out. So I would say, we do need a detailed document for what we can put in the prototype files.
if you know schema, you know which nodes/elementes are required, and which are optional, also for which type.
if you ever worked with it (or similarily with DTD for XML data), you will know what i mean.
other option will be to have "commented" prototype for every entity/item type, but i don't believe that is possible to get, even if we ask 1000 times