This game system has cultures, these convey a list of skills to the user. The skills are already bootstrapped, but at this stage the user is expected to spend some points on just these skills. So what I'm working on is the chooser that let's them pick their Culture, which already works.
What I need to do now is to filter out the skills that aren't their culture in the table on the tab. So this is what it looks like currently.
If I change the expression test to just 'Culture.Barbarian', it will list only those skills. But what I want to do is list only the skills that have a tag that matches the tag on the hero. My original thought there was to use if then statements, but apparently I can't do that in the list element. Where can I add that logic?
What I need to do now is to filter out the skills that aren't their culture in the table on the tab. So this is what it looks like currently.
Code:
<portal
id="cuCulture"
style="tblNormal">
<table_fixed
component="Skill"
showtemplate="cuPick"
alwaysupdate="yes">
<list>
<![CDATA[
Culture.Barbarian & hero#Culture.Barbarian
]]>
</list>
<headertitle><![CDATA[
@text = "Standard Skills"
]]></headertitle>
</table_fixed>
</portal>
If I change the expression test to just 'Culture.Barbarian', it will list only those skills. But what I want to do is list only the skills that have a tag that matches the tag on the hero. My original thought there was to use if then statements, but apparently I can't do that in the list element. Where can I add that logic?