well i've nearly got role columns finished:
it will rank dwarves based on the aspects for the role: attributes, skills and traits. each aspect can have it's own individual weight, and the groups themselves can also have a weight applied. this should give maximum flexibility in creating precise roles. additionally it's possible for traits to be rated inversely. for example if you want to find a very good liar, the
less honesty a dwarf has, the
better a liar they would be.
the roles are drawn the same as attributes, with dwarves better fitting roles as large black squares, and the worst dwarves with large red squares.
all roles are specified in the game_data.ini so it's very easy to add new ones once you have the syntax. for the role above the ini looks like this:
template:
name
attributes="<attribute group weight>::<attribute>:<individual weight>"
skills="<skill group weight>::<skill id>:<individual weight>"
traits="<trait group weight>::<trait id>:<individual weight>"
1/name="Chief Medical"
1/attributes="1::analytical ability:0.8, memory:0.3, intuition:0.3"
1/skills="1::60:0.8, 63:0.2"
1/traits="1::20:0.5, 23:0.5"
all weights are assumed to be 1.0 unless modified and are optional
finally against my better judgement i've also allowed a script="" entry for roles which will allow users to specify a custom script to generate values. however these are more difficult to draw and values outside of 0-100 will look funky.
i'd like to add a set of packaged roles as well, so if anyone wants to take the initiative and use the template provided (skill and trait id numbers are in the game_data.ini) i'm also still not sure on what the best weights would be. someone previously mentioned that skills > traits > attributes (i think?) would be the way to go. any other opinions or is this sound advice?
your input is greatly appreciated!