GunbunnyFuFu
Well-known member
Greetings!
I've shot out a couple of PMs on this, but thought I'd go ahead and leverage the well of collective knowledge that is The Forum (tm) on an issue I'm having.
I'm currently learning to author a Hero Lab system, and in this particular case I chose the GURPS system. Several Skills have defaults to not only attributes, but to other skills (no problem with that), but some have defaults to specific domains in a skill. This is where I get lost. How would I handle this within the HL Authoring Kit? For example, Accounting in GURPS defaults to IQ-6, as well as Finance -4 or Merchant -5. It also can default to Mathematics (Statistics) at -5 as well. Here's what I've got so far:
Any help/insight you can give would be greatly appreciated. As I'm a newb coder, if you see any glaring errors, bad form, or have constructive criticism/a better way to do things, I'm all ears.
Thanks!
GBF
I've shot out a couple of PMs on this, but thought I'd go ahead and leverage the well of collective knowledge that is The Forum (tm) on an issue I'm having.
I'm currently learning to author a Hero Lab system, and in this particular case I chose the GURPS system. Several Skills have defaults to not only attributes, but to other skills (no problem with that), but some have defaults to specific domains in a skill. This is where I get lost. How would I handle this within the HL Authoring Kit? For example, Accounting in GURPS defaults to IQ-6, as well as Finance -4 or Merchant -5. It also can default to Mathematics (Statistics) at -5 as well. Here's what I've got so far:
Code:
<!-- Accounting Skill -->
<thing
id="skAccou"
name="Accounting"
compset="Skill"
isunique="yes"
description="TBAL">
<fieldval field="trtAbbrev" value="Accou"/>
<!--
Easy, Average, Hard, Very Hard. This tag also drives controlling attribute default penalty (-4, -5, -6, -6) and skill purchase cost.
-->
<tag group="SkillLevel" tag="Hard"/>
<!--
Some skills need a TL
<tag group="User" tag="NeedTL"/>
-->
<!--
List the thingids of all skill defaults, if any. The number at the end is the absolute value of the skill default penalty. Make sure skill thingids are 9 characters in length or less!!
-->
<tag group="DefaultTo" tag="skFinan4"/>
<tag group="DefaultTo" tag="skMerch5"/>
<!--
OPTIONAL: skill or attribute to which we default; exclude this linkage if no default is possible.
The controlling attribute is tracked in a separate linkage, and the eval code in the component
will handle falling back to that attribute if a) the controlling attribute provides the best default
score or b) if all the skills listed as defaults are untrained.
In any case, if the skill is capable of a default, the default linkage element is required.
-->
<link linkage="default" thing="attrIQ"/>
<!--
REQUIRED: our controlling attribute. For now we're assuming the default penalty on the controlling
attribute is governed by the skill difficulty.
-->
<link linkage="attribute" thing="attrIQ"/>
</thing>
Any help/insight you can give would be greatly appreciated. As I'm a newb coder, if you see any glaring errors, bad form, or have constructive criticism/a better way to do things, I'm all ears.
Thanks!
GBF