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 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=0|target=50|bricks=4|concrete=3|cut=2|pipe=1}}</nowiki>
+
<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 {{{cur|0}}} to {{{target|50}}}</div>
+
! 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: {{{cur|0}}} | 0 | 0 | (2000+50*{{{cur|0}}})}}}}}}
+
{{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*{{{cur|0}}})}}|0}}
+
{{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*{{{cur|0}}})}}|0}}
+
{{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: {{{cur|0}}} | 0 | 0 | trunc(5+{{{cur|0}}}/50)}}}}}}
+
{{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

block
Raise Aquaduct Tower from 50 to 100
Bricks
4
/
2500
(2496)
0%
Concrete
3
/
100
(97)
3%
Cut Stone
2
/
75
(73)
2%
Pipe Segments
1
/
1
(0)
100%
block

{{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

block
Build Aquaduct Tower
Cistern
0
/
1
(1)
0%
Copper Pipe
5
/
5
(0)
100%
Tar
6
/
20
(14)
30%
Black Raeli Tiles
7
/
200
(193)
3%
White Raeli Tiles
8
/
100
(92)
8%
Yellowish Raeli Tiles
9
/
50
(41)
18%
Reddish Raeli Tiles
10
/
50
(40)
20%
Greenish Raeli Tiles
11
/
50
(39)
22%
Blueish Raeli Tiles
12
/
50
(38)
24%
Concrete
13
/
100
(87)
13%
Canvas
1
/
1
(0)
100%
Rope
2
/
4
(2)
50%
Straw
3
/
50
(47)
6%
Raise Aquaduct Tower from 0 to 50
Bricks
4
/
4500
(4496)
0%
Concrete
3
/
100
(97)
3%
Cut Stone
2
/
75
(73)
2%
Pipe Segments
1
/
6
(5)
16%
block