The Wiki for Tale 6 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Template:AquaductTowerConstruction"
From ATITD6
Jump to navigationJump to search(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<NOINCLUDE>parameter built=no to include base materials.<br>base concrete is parameter buildconcrete, concrete is for raise.<br> | <NOINCLUDE>parameter built=no to include base materials.<br>base concrete is parameter buildconcrete, concrete is for raise.<br> | ||
ex: | ex: | ||
− | <nowiki>{{AquaductTowerConstruction|current= | + | <nowiki>{{AquaductTowerConstruction|current=50|target=100|bricks=4|concrete=3|cut=2|pipe=1}}</nowiki> |
gives | gives | ||
− | {{AquaductTowerConstruction|current=0|target=50|bricks=4|concrete=3|cut=2|pipe=1}} | + | {{AquaductTowerConstruction|current=50|target=100|bricks=4|concrete=3|cut=2|pipe=1}} |
+ | <nowiki>{{AquaductTowerConstruction|current=0|target=50|built=no|bricks=4|concrete=3|cut=2|pipe=1 | ||
+ | |copper=5|tar=6|black=7|white=8|yellowish|9|reddish=10|greenish=11|blueish=12 | ||
+ | |buildconcrete=13|canvas=1|rope=2|straw=3}}</nowiki> | ||
+ | gives | ||
+ | {{AquaductTowerConstruction|current=0|target=50|built=no|bricks=4|concrete=3|cut=2|pipe=1 | ||
+ | |copper=5|tar=6|black=7|white=8|yellowish=9|reddish=10|greenish=11|blueish=12 | ||
+ | |buildconcrete=13|canvas=1|rope=2|straw=3}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{| style = 'width: 23em; margin-bottom: 0.5em; border-spacing: 0; border-left: 1px solid black; border-right: 1px solid black' | {| style = 'width: 23em; margin-bottom: 0.5em; border-spacing: 0; border-left: 1px solid black; border-right: 1px solid black' | ||
Line 30: | Line 37: | ||
}} | }} | ||
|- | |- | ||
− | ! colspan='6' style = 'padding: 0.25em 0.7em' | <div style='font-size: 120%'>Raise Aquaduct Tower from {{{ | + | ! colspan='6' style = 'padding: 0.25em 0.7em' | <div style='font-size: 120%'>Raise Aquaduct Tower from {{{current|0}}} to {{{target|50}}}</div> |
− | {{ResResource|Bricks|{{{bricks|0}}}|{{#expr: (2000+50*{{{target|50}}})-{{#ifeq: {{{ | + | {{ResResource|Bricks|{{{bricks|0}}}|{{#expr: (2000+50*{{{target|50}}})-{{#ifeq: {{{current|0}}} | 0 | 0 | (2000+50*{{{current|0}}})}}}}}} |
− | {{ResResource|Concrete|{{{concrete|0}}}|{{#expr: (2*{{{target|50}}})-(2*{{{ | + | {{ResResource|Concrete|{{{concrete|0}}}|{{#expr: (2*{{{target|50}}})-(2*{{{current|0}}})}}|0}} |
− | {{ResResource|Cut Stone|{{{cut|0}}}|{{#expr: trunc(1.5*{{{target|50}}})-trunc(1.5*{{{ | + | {{ResResource|Cut Stone|{{{cut|0}}}|{{#expr: trunc(1.5*{{{target|50}}})-trunc(1.5*{{{current|0}}})}}|0}} |
− | {{ResResource|Pipe Segments|{{{pipe|0}}}|{{#expr: trunc(5+{{{target|50}}}/50)-{{#ifeq: {{{ | + | {{ResResource|Pipe Segments|{{{pipe|0}}}|{{#expr: trunc(5+{{{target|50}}}/50)-{{#ifeq: {{{current|0}}} | 0 | 0 | trunc(5+{{{current|0}}}/50)}}}}}} |
− | |||
− | |||
|} | |} | ||
|- | |- |
Latest revision as of 00:53, 13 December 2010
parameter built=no to include base materials.
base concrete is parameter buildconcrete, concrete is for raise.
ex:
{{AquaductTowerConstruction|current=50|target=100|bricks=4|concrete=3|cut=2|pipe=1}}
gives
| ||||||||||||||||||||||||||||||||||||||||||||||||||
{{AquaductTowerConstruction|current=0|target=50|built=no|bricks=4|concrete=3|cut=2|pipe=1 |copper=5|tar=6|black=7|white=8|yellowish|9|reddish=10|greenish=11|blueish=12 |buildconcrete=13|canvas=1|rope=2|straw=3}} gives
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||