-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoscar.js
48 lines (45 loc) · 870 Bytes
/
oscar.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
exports.bonjour = function(){
echo( 'Bonjour');
};
exports.neige = function() {
box(blocks.snow,1,1,1)
.up()
.box(blocks.snow,1,1,1)
.up()
.box(blocks.pumpkin,1,1,1);
};
exports.train = function() {
down(2).box(0,16,5,16)
for (i = 0; i < 15; i++) {
fwd(i)
.box(blocks.wood,1,1,1)
.right()
.box(blocks.glowstone,1,1,1)
.left().up()
.box(blocks.rail,1,1,1)
}
for (i = 0; i < 15; i++) {
fwd(14).right(i+1)
.box(blocks.wood,1,1,1)
.fwd(-1)
.box(blocks.glowstone,1,1,1)
.fwd().up()
.box(blocks.rail,1,1,1)
}
for (i = 0; i < 14; i++) {
right(15).fwd(i)
.box(blocks.wood,1,1,1)
.left()
.box(blocks.glowstone,1,1,1)
.right().up()
.box(blocks.rail,1,1,1)
}
for (i = 0; i < 14; i++) {
right(i+1)
.box(blocks.wood,1,1,1)
.fwd(1)
.box(blocks.glowstone,1,1,1)
.fwd(-1).up()
.box(blocks.rail,1,1,1)
}
};