| Line 346: |
Line 346: |
| | Personalities control employee traits(Leadership, aptitude and diligence) an inter office relationships. All employees have exactly 2 personality traits. All personalities will be merged with the pre-existing personalities in the game. | | Personalities control employee traits(Leadership, aptitude and diligence) an inter office relationships. All employees have exactly 2 personality traits. All personalities will be merged with the pre-existing personalities in the game. |
| | | | |
| − | === Tags === | + | === Values === |
| | {|class="wikitable" | | {|class="wikitable" |
| | |PersonalityGraph | | |PersonalityGraph |
| − | |This is the root tag, which all tags should be a child to. If the mod has more than 2 new personalities, you can add Replace="true" to this tag, to replace the base personalities of the game. | + | |This is the root table. If the mod has more than 2 new personalities, you can add a '''Replace True''' record to this table, to replace the base personalities of the game. |
| | |- | | |- |
| | |Personalities | | |Personalities |
| − | |This tag should contain the list of personalities | + | |This list should contain the personalities |
| | |- | | |- |
| | |Incompatibilities | | |Incompatibilities |
| − | |This tag should contain a list of personalities which cannot be mixed when picking employee personality. | + | |This list should contain a list of personalities which cannot be mixed when picking employee personality. |
| | |- | | |- |
| | |} | | |} |
| Line 361: |
Line 361: |
| | === Personalities and incompatibilities === | | === Personalities and incompatibilities === |
| | | | |
| − | Personality tags include: | + | Personality values include: |
| | {|class="wikitable" | | {|class="wikitable" |
| | |Personality | | |Personality |
| − | |This is the root tag, which all tags should be a child to. | + | |This is the root table |
| | |- | | |- |
| | |Name | | |Name |
| | |The personality's name as it appears in the game. | | |The personality's name as it appears in the game. |
| | |- | | |- |
| − | |WorkLearn (Replaces Aptitude) | + | |WorkLearn |
| | |Between -1 and 1, where -1 is hard working and 1 is easy learner. | | |Between -1 and 1, where -1 is hard working and 1 is easy learner. |
| | |- | | |- |
| − | |Social (Replaces Leadership | + | |Social |
| | |Between -1 and 1, where -1 is independent and 1 is social. | | |Between -1 and 1, where -1 is independent and 1 is social. |
| | |- | | |- |
| − | |LazyStress (Replaces Diligence | + | |LazyStress |
| | |Between -1 and 1, where -1 is lazy and 1 is stressed. | | |Between -1 and 1, where -1 is lazy and 1 is stressed. |
| | |- | | |- |
| | |Relationships | | |Relationships |
| − | |This tag should contain a list how people with this personality feels about another personality, between -1 for bad and 1 for great. You only need to define this one-way, so if you already have a relationship with Stubborn defined for Short-tempered, you shouldn't also define it other way around. You can define relationships with personalities already in the game. | + | |This table should contain a list of records, defining how people with this personality feels about another personality, between -1 for bad, 0 for okay and 1 for great. You only need to define this one-way, so if you already have a relationship with Stubborn defined for Short-tempered, you shouldn't also define it other way around. You can define relationships with personalities already in the game. |
| | |- | | |- |
| | |} | | |} |
| | | | |
| − | The Incompatibilities should contain a list of Incompatible tags, each with two Personality tags naming the two personalities which cannot exist in the same person. | + | The Incompatibilities list should contain a list of personality pairs, that are incompatible, meaning they cannot exist in the same person. |
| | | | |
| | === Example === | | === Example === |
| − | <pre><PersonalityGraph> | + | <pre>PersonalityGraph |
| − | <Personalities> | + | { |
| − | <Personality> | + | Personalities |
| − | <Name>TestPersonlity</Name> | + | [ |
| − | <Aptitude>1</Aptitude> | + | { |
| − | <Leadership>-1</Leadership> | + | Name TestPersonlity |
| − | <Diligence>0.3</Diligence> | + | WorkLearn 1 |
| − | <Relationships> | + | Social -1 |
| − | <Relation Name = "Extrovert">-0.5</Relation> | + | LazyStress 0.3 |
| − | <Relation Name = "TestPersonlity 2">1</Relation> | + | Relationships |
| − | </Relationships> | + | { |
| − | </Personality>
| + | Extrovert -0.5 |
| − | <Personality>
| + | TestPersonality2 1 |
| − | <Name>TestPersonlity 2</Name> | + | } |
| − | <Aptitude>-0.5</Aptitude> | + | } |
| − | <Leadership>0</Leadership> | + | { |
| − | <Diligence>0.25</Diligence> | + | Name TestPersonality2 |
| − | <Relationships> | + | WorkLearn -0.5 |
| − | </Relationships>
| + | Social 0 |
| − | </Personality> | + | LazyStress 0.25 |
| − | </Personalities>
| + | } |
| − | <Incompatibilities> | + | ] |
| − | <Incompatible> | + | Incompatibilities |
| − | <Personality>TestPersonlity</Personality> | + | [ |
| − | <Personality>TestPersonlity 2</Personality> | + | [ TestPersonlity; TestPersonality2 ] |
| − | </Incompatible> | + | [ TestPersonality2; Introvert ] |
| − | </Incompatibilities> | + | ] |
| − | </PersonalityGraph></pre>
| + | }</pre> |