;author  Alan Hudnott
;description platelayers hut
;copyright

;front wall
[meshbuilder]
vertex 0,0,0
vertex 0,3,0
vertex 0,3,3
vertex 0,0,3
face 0,1,2,3

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



; L side wall
[meshbuilder]
vertex 0,0,0
vertex -3,0,0
vertex -3,3,0
vertex 0,3,0
face 0,1,2,3

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

; R side wall
[meshbuilder]
vertex 0,0,3
vertex 0,3,3
vertex -3,3,3
vertex -3,0,3
face 0,1,2,3

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


;hut roof
[meshbuilder]
vertex 0,3,0
vertex -1.6,3.98,0.5
vertex -1.6,3.98,2.52
vertex 0,3,3
face 0,1,2,3
[texture]
load slateroof.png
coordinates 0,0,0
coordinates 1,0,1
coordinates 2,1,1
coordinates 3,1,0
transparent 0,0,255



;hut roof back
[meshbuilder]
vertex -3,3,3
vertex -1.6,3.98,2.50
vertex -1.6,3.98,0.5
vertex -3,3,0

face 0,1,2,3

[texture]
load slateroof.png
coordinates 0,0,0
coordinates 1,0,1
coordinates 2,1,1
coordinates 3,1,0
transparent 0,0,255



;hut roof side
[meshbuilder]
vertex 0,3,0
vertex 0,4,0.5
vertex -3,4,0.5
vertex -3,3,0
face2 0,1,2,3
[texture]
load slateroof4.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1
transparent 0,0,255

;hut roof side
[meshbuilder]
vertex 0,3,3
vertex 0,4,2.5
vertex -3,4,2.5
vertex -3,3,3
face 0,1,2,3
[texture]
load slateroof4.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1
transparent 0,0,255

;small chimney side 1
[meshbuilder]
vertex -2.25,2,1.5
vertex -2.25,5,1.5
vertex -2,5,1.5
vertex -2,2,1.5
face 3,2,1,0
[texture]
load chimneybrick.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1
transparent 0,0,255


;small chimney side 2
[meshbuilder]
vertex -2,2,1
vertex -2,5,1
vertex -2,5,1.5
vertex -2,2,1.5
face 0,1,2,3
[texture]
load chimneybrick.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1
transparent 0,0,255

;small chimney side 3
[meshbuilder]
vertex -2.25,2,1
vertex -2.25,5,1
vertex -2,5,1
vertex -2,2,1
face 0,1,2,3
[texture]
load chimneybrick.png
coordinates 0,1,1
coordinates 1,1,0
coordinates 2,0,0
coordinates 3,0,1
transparent 0,0,255


[meshbuilder]
cylinder 8,0.12,0.12,1
color 44,44,44
translate -2.12,5.25,1.25

