Template:Lore: Difference between revisions

From Timaresh
Jump to navigationJump to search
(Created page with "{{#vardefine:gov| {{citygov|{{{3}}}|{{{5}}}}} }}{{#vardefine:output| {{#expr: {{citymod| {{citysize|{{{1|1}}} }} }} + {{#if: {{#pos:{{{2}}}|N}} |1|0}} + {...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
   {{#expr:
   {{#expr:
       {{citymod| {{citysize|{{{1|1}}} }} }} +
       {{citymod| {{citysize|{{{1|1}}} }} }} +
       {{#if: {{#pos:{{{2}}}|N}} |1|0}} +
       {{#if: {{#pos:{{{2}}}|N}} |1|0}}*{{#if: {{#pos:{{#var:gov}}|theocracy}} |2|1}} +
       {{#ifeq: {{{2}}}|N |1|0}} +
       {{#ifeq: {{{2}}}|N |1|0}}*{{#if: {{#pos:{{#var:gov}}|theocracy}} |2|1}} +
       {{#if: {{#pos:{{#var:gov}}|council}} |-2|0}} +
       {{#if: {{#pos:{{#var:gov}}|council}} |-2|0}} +
       {{#if: {{#pos:{{#var:gov}}|magical}} |2|0}} +
       {{#if: {{#pos:{{#var:gov}}|magical}} |2|0}} +
       {{#if: {{#pos:{{{4}}}|academic}} |1|0}} +
       {{#if: {{#pos:{{{4}}}|academic}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|city of the dead}} |2|0}} +
      {{#if: {{#pos:{{{4}}}|guilds}} |-1|0}} +
      {{#if: {{#pos:{{{4}}}|magical polyglot}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|resettled ruins}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|religious tolerance}} |1|0}} +
       {{#if: {{#pos:{{{4}}}|rumormongering citizens}} |1|0}} +
       {{#if: {{#pos:{{{4}}}|rumormongering citizens}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|small-folk settlement}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|therapeutic}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|under-city}} |1|0}} +
      {{#if: {{#pos:{{{4}}}|well educated}} |1|0}} +
       {{#if: {{#pos:{{{5}}}|plagued}} |-2|0}}
       {{#if: {{#pos:{{{5}}}|plagued}} |-2|0}}
   }}
   }}
}}{{pm|{{#var:output}}}}{{#var:output}}
}}{{pm|{{#var:output}}}}{{#var:output}}

Latest revision as of 01:40, 31 May 2013

-4