diff --git a/alpha/cotton_1.pgm b/alpha/cotton_1.pgm new file mode 100644 index 0000000..3df56bb --- /dev/null +++ b/alpha/cotton_1.pgm @@ -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 diff --git a/alpha/cotton_2.pgm b/alpha/cotton_2.pgm new file mode 100644 index 0000000..3cbc647 --- /dev/null +++ b/alpha/cotton_2.pgm @@ -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 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 diff --git a/alpha/cotton_3.pgm b/alpha/cotton_3.pgm new file mode 100644 index 0000000..0a49568 --- /dev/null +++ b/alpha/cotton_3.pgm @@ -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 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 diff --git a/alpha/cotton_4.pgm b/alpha/cotton_4.pgm new file mode 100644 index 0000000..7b887bc --- /dev/null +++ b/alpha/cotton_4.pgm @@ -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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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 diff --git a/alpha/cotton_6.pgm b/alpha/cotton_6.pgm new file mode 100644 index 0000000..24e38f3 --- /dev/null +++ b/alpha/cotton_6.pgm @@ -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 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 diff --git a/alpha/cotton_7.pgm b/alpha/cotton_7.pgm new file mode 100644 index 0000000..8e9456d --- /dev/null +++ b/alpha/cotton_7.pgm @@ -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 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 diff --git a/alpha/cotton_8.pgm b/alpha/cotton_8.pgm new file mode 100644 index 0000000..bbdd52a --- /dev/null +++ b/alpha/cotton_8.pgm @@ -0,0 +1,19 @@ +P2 +16 16 +1 +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 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 diff --git a/color/cotton.ppm b/color/cotton.ppm new file mode 100644 index 0000000..a464edd --- /dev/null +++ b/color/cotton.ppm @@ -0,0 +1,4 @@ +P3 +2 1 +255 +242 242 242 217 217 217 diff --git a/color/cotton_plant_1.ppm b/color/cotton_plant_1.ppm new file mode 100644 index 0000000..e1a33f1 --- /dev/null +++ b/color/cotton_plant_1.ppm @@ -0,0 +1,4 @@ +P3 +2 1 +255 +158 179 54 135 153 46 diff --git a/color/cotton_plant_2.ppm b/color/cotton_plant_2.ppm new file mode 100644 index 0000000..7b3030b --- /dev/null +++ b/color/cotton_plant_2.ppm @@ -0,0 +1,4 @@ +P3 +2 1 +255 +153 108 46 128 90 38 diff --git a/index/cotton_8.pgm b/index/cotton_8.pgm new file mode 100644 index 0000000..1d20414 --- /dev/null +++ b/index/cotton_8.pgm @@ -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 diff --git a/rules/farming.py b/rules/farming.py index 8e072e8..cbd7a66 100644 --- a/rules/farming.py +++ b/rules/farming.py @@ -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'),