-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschlegelweg39.js
126 lines (87 loc) · 1.83 KB
/
schlegelweg39.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
var AnzahlStockwerke = 3;
var Breite = 9;
var HoeheStockwerk = 3;
var drone;
function BaueBodenplatte()
{
box( blocks.wool.white , Breite, 1, Breite );
drone.up(1);
}
function BaueZwischendecke()
{
drone.box( blocks.wool.white , Breite, 1, Breite );
drone.up(1);
}
function BaueStockwerk()
{
drone.box0(blocks.wool.white, Breite, HoeheStockwerk, Breite);
drone.up(HoeheStockwerk);
}
function BaueFenster()
{
drone.down(12);
drone.right(2);
drone.box( blocks.glass , 2, 1, 1 );
drone.right(3);
drone.down();
drone.box( blocks.air , 1, 2, 1 );
drone.up();
drone.right(2);
drone.box( blocks.glass , 1, 1, 1 );
drone.up(5);
drone.left();
drone.box( blocks.glass , 2, 1, 1 );
drone.left(4);
drone.box( blocks.glass , 2, 1, 1 );
drone.up(3);
drone.right(4)
drone.box( blocks.glass , 2, 1, 1 );
drone.left(4);
drone.box( blocks.glass , 2, 1, 1 );
drone.fwd(Breite);
drone.turn(2)
;
drone.down(8)
;
drone.left(5);
drone.fwd(1)
;
drone.box( blocks.glass , 2, 1, 1 );
drone.right(3)
;
drone.down()
;
drone.box( blocks.wooden.door , 1, 2, 1 );
drone.up()
;
drone.right(2)
;
drone.box( blocks.glass , 2, 1, 1 );
drone.box( blocks.gold , 1, 1, 2 );
}
function BaueKeller()
{
drone = box( blocks.air , 1, 1, 1 );
drone.down(HoeheStockwerk);
drone.box( blocks.air , Breite, HoeheStockwerk, Breite );
drone.up(HoeheStockwerk);
}
function BaueDach()
{
drone.box( blocks.wool.white , Breite, 1, Breite );
drone.up(1);
drone.box( blocks.gravel , Breite, 1, Breite );
}
function Schlegelweg39()
{
BaueKeller();
BaueBodenplatte();
for ( i = 0; i < AnzahlStockwerke;i++)
{
BaueStockwerk();
BaueZwischendecke();
}
BaueDach();
BaueFenster();
}
exports.Schlegelweg39 = Schlegelweg39;