The Wiki for Tale 5 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 ATITD5
Jump to navigationJump to searchKasumiGhia (talk | contribs) |
KasumiGhia (talk | contribs) |
||
Line 42: | Line 42: | ||
{{ResResource|Cut Stone|{{{cut|0}}}|{{#expr: trunc(1.5*{{{target|50}}})-trunc(1.5*{{{cur|0}}})}}|0}} | {{ResResource|Cut Stone|{{{cut|0}}}|{{#expr: trunc(1.5*{{{target|50}}})-trunc(1.5*{{{cur|0}}})}}|0}} | ||
{{ResResource|Pipe Segments|{{{pipe|0}}}|{{#expr: trunc(5+{{{target|50}}}/50)-{{#ifeq: {{{cur|0}}} | 0 | 0 | trunc(5+{{{cur|0}}}/50)}}}}}} | {{ResResource|Pipe Segments|{{{pipe|0}}}|{{#expr: trunc(5+{{{target|50}}}/50)-{{#ifeq: {{{cur|0}}} | 0 | 0 | trunc(5+{{{cur|0}}}/50)}}}}}} | ||
− | |||
− | |||
|} | |} | ||
|- | |- |
Revision as of 13:53, 6 December 2010
parameter built=no to include base materials.
base concrete is parameter buildconcrete, concrete is for raise.
ex:
{{AquaductTowerConstruction|current=0|target=50|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
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||