Template:Faction: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(basic implementation of Faction template. TODO: add value limits to cargo declare)
 
(added player reputation color template)
Line 7: Line 7:
rows=
rows=
{{#if: {{{visible|}}}      | {{infobox row|Visible Faction|{{{visible}}} }} }}
{{#if: {{{visible|}}}      | {{infobox row|Visible Faction|{{{visible}}} }} }}
{{infobox row|Initial Player Reputation|{{{baserep|0}}}}}
{{infobox row|Initial Player Reputation|{{Player reputation color|{{{baserep|0}}}}}}}
{{#if: {{{feelings|}}}    | {{infobox row|Relationships|{{{feelings}}} }} }}
{{#if: {{{feelings|}}}    | {{infobox row|Relationships|{{{feelings}}} }} }}
{{#if: {{{buyinterests|}}} | {{infobox row|Interested in learning|{{{buyinterests}}} }} }}
{{#if: {{{buyinterests|}}} | {{infobox row|Interested in learning|{{{buyinterests}}} }} }}

Revision as of 22:40, 10 July 2019

This template defines the table "Factions". View table.


Faction
Initial Player Reputation

0

visible if the faction is visible in game. yes/no
baserep player's initial rep integer, defaults to 0
feelings feelings about other factions. please declare with Template:Faction feelings for each faction. Template:Faction feelings
buyinterests what secrets they like to hear. List separated by ,
sellintersts what secrets they like to share. List separated by ,
ritualskill the skill taught in water ritual. string
recipe the recipe taught in water ritual. string