PDA

View Full Version : Understanding Extensions



Bidmaron
October 13th, 2008, 14:41
I'm trying to get started on understanding extensions. In the example town extension, there are a series of 'column...' controls. I cannot seem to find where such a template is defined. It is not in the ruleset reference either. Where would that be defined?

Spyke
October 13th, 2008, 14:58
Extensions can be thought of as masks laid on top of a ruleset. Any definitions in the extension replace those with the same name declared earlier by the ruleset. Where an extension doesn't define a replacement, the original template remains in effect.

I don't have the town extension to hand, but the columnstringfield, columnnumberfield and columnfieldlabel templates are defined in the common_templates.xml file in the default d20 ruleset.

Spyke