Template:Faction: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(added reputation costs for recipe and skill taught)
(added ritualliquid)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Factions|FactionID=String|IsVisible=Boolean|BasePlayerReputation=Integer|WaterRitualSkill=String|WaterRitualRecipe=String|BuyInterests=List (,) of String|SellInterests=List (,) of String|SkillReputationCost=Integer|RecipeReputationCost=Integer}}
<noinclude>{{#cargo_declare:_table=Factions|FactionID=String|IsVisible=Boolean|BasePlayerReputation=Integer|WaterRitualSkill=String|WaterRitualRecipe=String|BuyInterests=List (,) of String|SellInterests=List (,) of String|SkillReputationCost=Integer|RecipeReputationCost=Integer|WaterRitualLiquid=String}}
</noinclude>
</noinclude>


<includeonly>{{#cargo_store:_table=Factions|FactionID={{{id|}}}|IsVisible={{{visible|}}}|BasePlayerReputation={{{baserep|0}}}|WaterRitualSkill={{{ritualskill|}}}|WaterRitualRecipe={{{recipe|}}}|BuyInterests={{{buyinterests|}}}|SellInterests={{{sellinterests|}}}|SkillReputationCost={{{skillrep|0}}}|RecipeReputationCost={{{reciperep|0}}}}}
<includeonly>{{#cargo_store:_table=Factions|FactionID={{{id|}}}|IsVisible={{{visible|}}}|BasePlayerReputation={{{baserep|0}}}|WaterRitualSkill={{{ritualskill|}}}|WaterRitualRecipe={{{recipe|}}}|BuyInterests={{{buyinterests|}}}|SellInterests={{{sellinterests|}}}|SkillReputationCost={{{skillrep|0}}}|RecipeReputationCost={{{reciperep|0}}}|WaterRitualLiquid={{{ritualliquid|Water}}}}}
{{#invoke: infobox | infobox |
{{#invoke: infobox | infobox |
image=none|
image=none|
rows=
rows=
{{#if: {{{visible|}}}      | {{infobox row|Visible Faction|{{{visible}}} }} }}
{{#if: {{{visible|}}}      | {{infobox row|Visible Faction|{{{visible}}} }} }}
{{infobox row|Water Ritual Liquid|[[{{{ritualliquid|Water}}}]]}}
{{infobox row|Initial Player</br>Reputation|{{Player reputation color|{{{baserep|0}}}}}}}
{{infobox row|Initial Player</br>Reputation|{{Player reputation color|{{{baserep|0}}}}}}}
{{#if: {{{feelings|}}}    | {{infobox row|Relationships|{{{feelings}}} }} }}
{{#if: {{{feelings|}}}    | {{infobox row|Relationships|{{{feelings}}} }} }}
Line 55: Line 56:
| reputation needed for skill
| reputation needed for skill
| Integer
| Integer
|-
! ritualliquid
| the liquid used in water ritual with legendaries of this faction. Defaults to Water
| String
|}</noinclude>
|}</noinclude>

Revision as of 19:42, 13 July 2019

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

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
id the faction Name="__" in factions.xml string
reciperep reputation needed for recipe integer
skillrep reputation needed for skill Integer
ritualliquid the liquid used in water ritual with legendaries of this faction. Defaults to Water String