;author  Alan Hudnott
;description Burgh le Marsh Station building
;copyright


;front wall
[meshbuilder]
vertex -5,0,0
vertex -5,3,0
vertex -5,3,8
vertex -5,0,8

face 3,2,1,0

[texture]
load burghfrontwall.png
coordinates 0,0,1
coordinates 1,0,0
coordinates 2,1,0
coordinates 3,1,1

;side wall

[meshbuilder]
vertex -5,3,0
vertex 0,3,0
vertex 0,0,0
vertex -5,0,0

face 0,1,2,3
[texture]
load burghsidewall.png
coordinates 0,0,1
coordinates 1,1,1
coordinates 2,1,0
coordinates 3,0,0

;side wall upper
[meshbuilder]
vertex -5,5.5,0
vertex 0,5.5,0
vertex 0,2.95,0
vertex -5.1,2.95,0
face2 0,1,2,3
[texture]
load burghtoproof2.png
coordinates 0,0,1
coordinates 1,1,1
coordinates 2,1,0
coordinates 3,0,0
transparent 0,0,255

;main roof 
[meshbuilder]
vertex -5,3,0
vertex -2.5,5.5,0
vertex -2.5,5.5,8
vertex -5,3,8
face2 3,2,1,0
[texture]
load slateroof3.png
coordinates 0,0,0
coordinates 1,0,1
coordinates 2,1,1
coordinates 3,1,0


;chimney side 1
[meshbuilder]
vertex -3,5,7.4
vertex -3,7,7.4
vertex -3,7,7.9
vertex -3,5,7.9
face2 0,1,2,3
[texture]
load chimneybrick.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1

;chimney side 4
[meshbuilder]
vertex -3,5,7.4
vertex -3,7,7.4
vertex -2,7,7.4
vertex -2,5,7.4
face2 0,1,2,3
[texture]
load chimneybrick.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1




;chimney pot side 3
[meshbuilder]
vertex -2.60,7,7.50
vertex -2.60,7.5,7.50
vertex -2.60,7.5,7.75
vertex -2.60,7,7.75
face2 0,1,2,3
[texture]
load yellowbrick.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1

;chimney pot side 4
[meshbuilder]
vertex -2.40,7,7.5
vertex -2.40,7.5,7.5
vertex -2.60,7.5,7.5
vertex -2.60,7,7.5
face 3,2,1,0
[texture]
load yellowbrick.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1






