;author  Alan Hudnott
;description Water tower
;copyright Alan Hudnott 2009. All rights reserved.

;walls
[meshbuilder]
vertex 0,-0.4,0
vertex 0,4,0
vertex 0,4,6
vertex 0,-0.4,6
vertex -3,4,6
vertex -3,-0.4,6
vertex -3,4,0
vertex -3,-0.4,0
face 0,1,2,3
face 3,2,4,5
face 5,4,6,7
face 7,6,1,0

[texture]
load watertowerbase.png
coordinates 0,0.5,1
coordinates 1,0.5,0
coordinates 2,1.5,0
coordinates 3,1.5,1
coordinates 4,1,0
coordinates 5,1,1
coordinates 6,0,0
coordinates 7,0,1

;tank
[meshbuilder]
vertex 0.3,3.9,-0.3
vertex 0.3,7,-0.3
vertex 0.3,7,6.3
vertex 0.3,3.9,6.3
vertex -3.3,7,6.3
vertex -3.3,3.9,6.3
vertex -3.3,7,-0.3
vertex -3.3,3.9,-0.3
face 0,1,2,3
face 3,2,4,5
face 5,4,6,7
face 7,6,1,0

[texture]
load watertower.png
coordinates 0,0.5,1
coordinates 1,0.5,0
coordinates 2,1.5,0
coordinates 3,1.5,1
coordinates 4,1,0
coordinates 5,1,1
coordinates 6,0,0
coordinates 7,0,1

;tank underside
[meshbuilder]
vertex -3.3,3.9,-0.3
vertex 0.3,3.9,-0.3
vertex 0.3,3.9,6.3
vertex -3.3,3.9,6.3
face 0,1,2,3
color 177,88,88