• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Validation everywhere!

KingFrog

Member
Hey,

Looking over the code, it appears (to me, at least) as though validation - that is, deciding whether I care how many character points have been spent, or abilities used, etc. before a character enters "Advances" rather than being just in initial creation - is spread over a lot of territory.

I find myself hunting in a lot of places trying to find and either modify or rip out code to get validation working in a way that will function for Traveller (which, again, uses things a bit differently than most games out there owing to its character creation system.)

Is there actually one place I can go to lay hands on the "control switches" for validation, or does that not exist? I ask because in hunting through "things_validation" it appears to have some of the stuff. "miscellaneous" has more. The tabs themselves have some. Does a central set of control variables, tags, or the like exist?

KingFrog
 
Whether you can switch to advancement or not does not depend on whether all the other validation rules have been satisfied. The only thing that matters for that is the <canadvance> element in definition.def.
 
Ah, there it is. Thanks!

I presume, then, that the remaining validation code is in fact not centralized anywhere? It's not for this purpose, but I'd rather not have spurious messages and red tabs all over the place unless I really need them. :)
 
When I'm not sure where an error message is coming from, I usually find it by finding a text string in the error message itself that looks unique, and then text searching the whole set of files for that text.
 
Back
Top