Template:Gplim: Difference between revisions

From Timaresh
Jump to navigationJump to search
(Created page with "{{#vardefine:output| {{#expr: {{citygplim| {{citysize| {{{1|1}}} }} }} * ( 1 + {{#if: {{#pos:{{{2}}}|magically attuned}} |0.2|0}} + {{#if: {{#pos...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
       {{citygplim| {{citysize| {{{1|1}}} }} }} *
       {{citygplim| {{citysize| {{{1|1}}} }} }} *
       ( 1 +
       ( 1 +
        {{#if: {{#pos:{{{2}}}|decadent}} |0.25|0}} +
        {{#if: {{#pos:{{{2}}}|financial center}} |0.4|0}} +
        {{#if: {{#pos:{{{2}}}|gambling}} |0.1|0}} +
         {{#if: {{#pos:{{{2}}}|magically attuned}} |0.2|0}} +
         {{#if: {{#pos:{{{2}}}|magically attuned}} |0.2|0}} +
         {{#if: {{#pos:{{{2}}}|notorious}} |0.5|0}} +
         {{#if: {{#pos:{{{2}}}|notorious}} |0.5|0}} +
        {{#if: {{#pos:{{{2}}}|planar crossroads}} |0.25|0}} +
         {{#if: {{#pos:{{{2}}}|prosperous}} |0.5|0}} +
         {{#if: {{#pos:{{{2}}}|prosperous}} |0.5|0}} +
        {{#if: {{#pos:{{{2}}}|trading post}} |1|0}} +
         {{#if: {{#pos:{{{3}}}|impoverished}} |-0.5|0}}
         {{#if: {{#pos:{{{3}}}|impoverished}} |-0.5|0}}
       )
       )
   }}
   }}
}}{{#var:output}}
}}{{#var:output}}

Latest revision as of 01:41, 31 May 2013

500