Add cotton plant

This commit is contained in:
Yutao Yuan 2016-10-10 17:05:42 +08:00
parent e7a3d9b901
commit 581d3da2a8
13 changed files with 191 additions and 0 deletions

19
alpha/cotton_1.pgm Normal file
View File

@ -0,0 +1,19 @@
P2
16 16
1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0

19
alpha/cotton_2.pgm Normal file
View File

@ -0,0 +1,19 @@
P2
16 16
1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0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 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0

4
color/cotton.ppm Normal file
View File

@ -0,0 +1,4 @@
P3
2 1
255
242 242 242 217 217 217

4
color/cotton_plant_1.ppm Normal file
View File

@ -0,0 +1,4 @@
P3
2 1
255
158 179 54 135 153 46

4
color/cotton_plant_2.ppm Normal file
View File

@ -0,0 +1,4 @@
P3
2 1
255
153 108 46 128 90 38

19
index/cotton_8.pgm Normal file
View File

@ -0,0 +1,19 @@
P2
16 16
3
0 2 2 0 0 2 2 0 0 2 2 0 0 2 2 0
0 2 2 0 0 2 2 0 0 2 2 0 0 2 2 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

View File

@ -1,4 +1,12 @@
textures = {
'farming_cotton_1': ('cotton_plant_1', 'simple_block', 'cotton_1'),
'farming_cotton_2': ('cotton_plant_1', 'simple_block', 'cotton_2'),
'farming_cotton_3': ('cotton_plant_1', 'simple_block', 'cotton_3'),
'farming_cotton_4': ('cotton_plant_1', 'simple_block', 'cotton_4'),
'farming_cotton_5': ('cotton_plant_1', 'simple_block', 'cotton_5'),
'farming_cotton_6': ('cotton_plant_1', 'simple_block', 'cotton_6'),
'farming_cotton_7': ('cotton_plant_2', 'simple_block', 'cotton_7'),
'farming_cotton_8': (('cotton_plant_2', 'cotton'), 'cotton_8', 'cotton_8'),
'farming_straw': ('wheat_plant_2', 'straw'),
'farming_tool_bronzehoe': (('bronze', 'wood'), 'hoe', 'hoe'),
'farming_tool_diamondhoe': (('diamond', 'wood'), 'hoe', 'hoe'),