diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml deleted file mode 100644 index a9732c7..0000000 --- a/.github/workflows/pythonpackage.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Python package - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - max-parallel: 4 - matrix: - python-version: [3.7] - - steps: - - uses: actions/checkout@v1 - with: - lfs: true - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - python setup.py develop - - name: Lint with flake8 - run: | - pip install flake8 - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest - run: | - pip install pytest - pytest diff --git a/flyingsnake/example_colors.json b/flyingsnake/example_colors.json index ab44ffb..3bd221a 100644 --- a/flyingsnake/example_colors.json +++ b/flyingsnake/example_colors.json @@ -1 +1 @@ -{"Blocks": {"0": [151, 107, 75, 255], "1": [128, 128, 128, 255], "2": [28, 216, 94, 255], "3": [27, 197, 109, 255], "4": [253, 221, 3, 255], "5": [151, 107, 75, 255], "6": [140, 101, 80, 255], "7": [150, 67, 22, 255], "8": [185, 164, 23, 255], "9": [185, 194, 195, 255], "10": [119, 105, 79, 255], "11": [119, 105, 79, 255], "12": [174, 24, 69, 255], "13": [133, 213, 247, 255], "14": [191, 142, 111, 255], "15": [191, 142, 111, 255], "16": [140, 130, 116, 255], "17": [144, 148, 144, 255], "18": [191, 142, 111, 255], "19": [191, 142, 111, 255], "20": [163, 116, 81, 255], "21": [233, 207, 94, 255], "22": [98, 95, 167, 255], "23": [141, 137, 223, 255], "24": [122, 116, 218, 255], "25": [109, 90, 128, 255], "26": [119, 101, 125, 255], "27": [226, 196, 49, 255], "28": [151, 79, 80, 255], "29": [175, 105, 128, 255], "30": [170, 120, 84, 255], "31": [141, 120, 168, 255], "32": [151, 135, 183, 255], "33": [253, 221, 3, 255], "34": [235, 166, 135, 255], "35": [197, 216, 219, 255], "36": [230, 89, 92, 255], "37": [104, 86, 84, 255], "38": [144, 144, 144, 255], "39": [181, 62, 59, 255], "40": [146, 81, 68, 255], "41": [66, 84, 109, 255], "42": [251, 235, 127, 255], "43": [84, 100, 63, 255], "44": [107, 68, 99, 255], "45": [185, 164, 23, 255], "46": [185, 194, 195, 255], "47": [150, 67, 22, 255], "48": [128, 128, 128, 255], "49": [43, 143, 255, 255], "50": [170, 48, 114, 255], "51": [192, 202, 203, 255], "52": [23, 177, 76, 255], "53": [255, 218, 56, 255], "54": [200, 246, 254, 255], "55": [191, 142, 111, 255], "56": [43, 40, 84, 255], "57": [68, 68, 76, 255], "58": [142, 66, 66, 255], "59": [92, 68, 73, 255], "60": [143, 215, 29, 255], "61": [135, 196, 26, 255], "62": [121, 176, 24, 255], "63": [110, 140, 182, 255], "64": [196, 96, 114, 255], "65": [56, 150, 97, 255], "66": [160, 118, 58, 255], "67": [140, 58, 166, 255], "68": [125, 191, 197, 255], "69": [190, 150, 92, 255], "70": [93, 127, 255, 255], "71": [182, 175, 130, 255], "72": [182, 175, 130, 255], "73": [27, 197, 109, 255], "74": [96, 197, 27, 255], "75": [36, 36, 36, 255], "76": [142, 66, 66, 255], "77": [238, 85, 70, 255], "78": [121, 110, 97, 255], "79": [191, 142, 111, 255], "80": [73, 120, 17, 255], "81": [245, 133, 191, 255], "82": [255, 120, 0, 255], "83": [255, 120, 0, 255], "84": [255, 120, 0, 255], "85": [192, 192, 192, 255], "86": [191, 142, 111, 255], "87": [191, 142, 111, 255], "88": [191, 142, 111, 255], "89": [191, 142, 111, 255], "90": [144, 148, 144, 255], "91": [13, 88, 130, 255], "92": [213, 229, 237, 255], "93": [253, 221, 3, 255], "94": [191, 142, 111, 255], "95": [255, 162, 31, 255], "96": [144, 148, 144, 255], "97": [144, 148, 144, 255], "98": [253, 221, 3, 255], "99": [144, 148, 144, 255], "100": [253, 221, 3, 255], "101": [191, 142, 111, 255], "102": [229, 212, 73, 255], "103": [141, 98, 77, 255], "104": [191, 142, 111, 255], "105": [144, 148, 144, 255], "106": [191, 142, 111, 255], "107": [11, 80, 143, 255], "108": [91, 169, 169, 255], "109": [78, 193, 227, 255], "110": [48, 186, 135, 255], "111": [128, 26, 52, 255], "112": [103, 98, 122, 255], "113": [48, 208, 234, 255], "114": [191, 142, 111, 255], "115": [33, 171, 207, 255], "116": [238, 225, 218, 255], "117": [181, 172, 190, 255], "118": [238, 225, 218, 255], "119": [107, 92, 108, 255], "120": [92, 68, 73, 255], "121": [11, 80, 143, 255], "122": [91, 169, 169, 255], "123": [106, 107, 118, 255], "124": [73, 51, 36, 255], "125": [141, 175, 255, 255], "126": [159, 209, 229, 255], "127": [128, 204, 230, 255], "128": [191, 142, 111, 255], "129": [255, 117, 224, 255], "130": [160, 160, 160, 255], "131": [52, 52, 52, 255], "132": [144, 148, 144, 255], "133": [231, 53, 56, 255], "134": [166, 187, 153, 255], "135": [253, 114, 114, 255], "136": [213, 203, 204, 255], "137": [144, 148, 144, 255], "138": [96, 96, 96, 255], "139": [191, 142, 111, 255], "140": [98, 95, 167, 255], "141": [192, 59, 59, 255], "142": [144, 148, 144, 255], "143": [144, 148, 144, 255], "144": [144, 148, 144, 255], "145": [192, 30, 30, 255], "146": [43, 192, 30, 255], "147": [211, 236, 241, 255], "148": [181, 211, 210, 255], "149": [220, 50, 50, 255], "150": [128, 26, 52, 255], "151": [190, 171, 94, 255], "152": [128, 133, 184, 255], "153": [239, 141, 126, 255], "154": [190, 171, 94, 255], "155": [131, 162, 161, 255], "156": [170, 171, 157, 255], "157": [104, 100, 126, 255], "158": [145, 81, 85, 255], "159": [148, 133, 98, 255], "160": [0, 0, 200, 255], "161": [144, 195, 232, 255], "162": [184, 219, 240, 255], "163": [174, 145, 214, 255], "164": [218, 182, 204, 255], "165": [100, 100, 100, 255], "166": [129, 125, 93, 255], "167": [62, 82, 114, 255], "168": [132, 157, 127, 255], "169": [152, 171, 198, 255], "170": [228, 219, 162, 255], "171": [33, 135, 85, 255], "172": [181, 194, 217, 255], "173": [253, 221, 3, 255], "174": [253, 221, 3, 255], "175": [129, 125, 93, 255], "176": [132, 157, 127, 255], "177": [152, 171, 198, 255], "178": [255, 0, 255, 255], "179": [49, 134, 114, 255], "180": [126, 134, 49, 255], "181": [134, 59, 49, 255], "182": [43, 86, 140, 255], "183": [121, 49, 134, 255], "184": [100, 100, 100, 255], "185": [149, 149, 115, 255], "186": [255, 0, 255, 255], "187": [255, 0, 255, 255], "188": [73, 120, 17, 255], "189": [223, 255, 255, 255], "190": [182, 175, 130, 255], "191": [151, 107, 75, 255], "192": [26, 196, 84, 255], "193": [56, 121, 255, 255], "194": [157, 157, 107, 255], "195": [134, 22, 34, 255], "196": [147, 144, 178, 255], "197": [97, 200, 225, 255], "198": [62, 61, 52, 255], "199": [208, 80, 80, 255], "200": [216, 152, 144, 255], "201": [203, 61, 64, 255], "202": [213, 178, 28, 255], "203": [128, 44, 45, 255], "204": [125, 55, 65, 255], "205": [186, 50, 52, 255], "206": [124, 175, 201, 255], "207": [144, 148, 144, 255], "208": [88, 105, 118, 255], "209": [144, 148, 144, 255], "210": [192, 59, 59, 255], "211": [191, 233, 115, 255], "212": [144, 148, 144, 255], "213": [137, 120, 67, 255], "214": [103, 103, 103, 255], "215": [254, 121, 2, 255], "216": [191, 142, 111, 255], "217": [144, 148, 144, 255], "218": [144, 148, 144, 255], "219": [144, 148, 144, 255], "220": [144, 148, 144, 255], "221": [239, 90, 50, 255], "222": [231, 96, 228, 255], "223": [57, 85, 101, 255], "224": [107, 132, 139, 255], "225": [227, 125, 22, 255], "226": [141, 56, 0, 255], "227": [255, 255, 255, 255], "228": [144, 148, 144, 255], "229": [255, 156, 12, 255], "230": [131, 79, 13, 255], "231": [224, 194, 101, 255], "232": [145, 81, 85, 255], "233": [255, 0, 255, 255], "234": [53, 44, 41, 255], "235": [214, 184, 46, 255], "236": [149, 232, 87, 255], "237": [255, 241, 51, 255], "238": [225, 128, 206, 255], "239": [224, 194, 101, 255], "240": [99, 50, 30, 255], "241": [77, 74, 72, 255], "242": [99, 50, 30, 255], "243": [140, 179, 254, 255], "244": [200, 245, 253, 255], "245": [99, 50, 30, 255], "246": [99, 50, 30, 255], "247": [140, 150, 150, 255], "248": [219, 71, 38, 255], "249": [249, 52, 243, 255], "250": [76, 74, 83, 255], "251": [235, 150, 23, 255], "252": [153, 131, 44, 255], "253": [57, 48, 97, 255], "254": [248, 158, 92, 255], "255": [107, 49, 154, 255], "256": [154, 148, 49, 255], "257": [49, 49, 154, 255], "258": [49, 154, 68, 255], "259": [154, 49, 77, 255], "260": [85, 89, 118, 255], "261": [154, 83, 49, 255], "262": [221, 79, 255, 255], "263": [250, 255, 79, 255], "264": [79, 102, 255, 255], "265": [79, 255, 89, 255], "266": [255, 79, 79, 255], "267": [240, 240, 247, 255], "268": [255, 145, 79, 255], "269": [191, 142, 111, 255], "270": [122, 217, 232, 255], "271": [122, 217, 232, 255], "272": [121, 119, 101, 255], "273": [128, 128, 128, 255], "274": [190, 171, 94, 255], "275": [122, 217, 232, 255], "276": [122, 217, 232, 255], "277": [122, 217, 232, 255], "278": [122, 217, 232, 255], "279": [122, 217, 232, 255], "280": [122, 217, 232, 255], "281": [122, 217, 232, 255], "282": [122, 217, 232, 255], "283": [128, 128, 128, 255], "284": [150, 67, 22, 255], "285": [122, 217, 232, 255], "286": [122, 217, 232, 255], "287": [79, 128, 17, 255], "288": [122, 217, 232, 255], "289": [122, 217, 232, 255], "290": [122, 217, 232, 255], "291": [122, 217, 232, 255], "292": [122, 217, 232, 255], "293": [122, 217, 232, 255], "294": [122, 217, 232, 255], "295": [122, 217, 232, 255], "296": [122, 217, 232, 255], "297": [122, 217, 232, 255], "298": [122, 217, 232, 255], "299": [122, 217, 232, 255], "300": [144, 148, 144, 255], "301": [144, 148, 144, 255], "302": [144, 148, 144, 255], "303": [144, 148, 144, 255], "304": [144, 148, 144, 255], "305": [144, 148, 144, 255], "306": [144, 148, 144, 255], "307": [144, 148, 144, 255], "308": [144, 148, 144, 255], "309": [122, 217, 232, 255], "310": [122, 217, 232, 255], "311": [117, 61, 25, 255], "312": [204, 93, 73, 255], "313": [87, 150, 154, 255], "314": [181, 164, 125, 255], "315": [235, 114, 80, 255], "316": [122, 217, 232, 255], "317": [122, 217, 232, 255], "318": [122, 217, 232, 255], "319": [96, 68, 48, 255], "320": [203, 185, 151, 255], "321": [96, 77, 64, 255], "322": [198, 170, 104, 255], "323": [182, 141, 86, 255], "324": [228, 213, 173, 255], "325": [129, 125, 93, 255], "326": [9, 61, 191, 255], "327": [253, 32, 3, 255], "328": [200, 246, 254, 255], "329": [15, 15, 15, 255], "330": [226, 118, 76, 255], "331": [161, 172, 173, 255], "332": [204, 181, 72, 255], "333": [190, 190, 178, 255], "334": [191, 142, 111, 255], "335": [217, 174, 137, 255], "336": [253, 62, 3, 255], "337": [144, 148, 144, 255], "338": [85, 255, 160, 255], "339": [122, 217, 232, 255], "340": [96, 248, 2, 255], "341": [105, 74, 202, 255], "342": [29, 240, 255, 255], "343": [254, 202, 80, 255], "344": [131, 252, 245, 255], "345": [255, 156, 12, 255], "346": [149, 212, 89, 255], "347": [236, 74, 79, 255], "348": [44, 26, 233, 255], "349": [144, 148, 144, 255], "350": [55, 97, 155, 255], "351": [31, 31, 31, 255], "352": [238, 97, 94, 255], "353": [28, 216, 94, 255], "354": [141, 107, 89, 255], "355": [141, 107, 89, 255], "356": [233, 203, 24, 255], "357": [168, 178, 204, 255], "358": [122, 217, 232, 255], "359": [122, 217, 232, 255], "360": [122, 217, 232, 255], "361": [122, 217, 232, 255], "362": [122, 217, 232, 255], "363": [122, 217, 232, 255], "364": [122, 217, 232, 255], "365": [146, 136, 205, 255], "366": [223, 232, 233, 255], "367": [168, 178, 204, 255], "368": [50, 46, 104, 255], "369": [50, 46, 104, 255], "370": [127, 116, 194, 255], "371": [249, 101, 189, 255], "372": [252, 128, 201, 255], "373": [9, 61, 191, 255], "374": [253, 32, 3, 255], "375": [255, 156, 12, 255], "376": [160, 120, 92, 255], "377": [191, 142, 111, 255], "378": [160, 120, 100, 255], "379": [251, 209, 240, 255], "380": [191, 142, 111, 255], "381": [254, 121, 2, 255], "382": [28, 216, 94, 255], "383": [221, 136, 144, 255], "384": [131, 206, 12, 255], "385": [87, 21, 144, 255], "386": [127, 92, 69, 255], "387": [127, 92, 69, 255], "388": [127, 92, 69, 255], "389": [127, 92, 69, 255], "390": [253, 32, 3, 255], "391": [122, 217, 232, 255], "392": [122, 217, 232, 255], "393": [122, 217, 232, 255], "394": [122, 217, 232, 255], "395": [191, 142, 111, 255], "396": [198, 124, 78, 255], "397": [212, 192, 100, 255], "398": [100, 82, 126, 255], "399": [77, 76, 66, 255], "400": [96, 68, 117, 255], "401": [68, 60, 51, 255], "402": [174, 168, 186, 255], "403": [205, 152, 186, 255], "404": [140, 84, 60, 255], "405": [140, 140, 140, 255], "406": [120, 120, 120, 255], "407": [255, 227, 132, 255], "408": [85, 83, 82, 255], "409": [85, 83, 82, 255], "410": [75, 139, 166, 255], "411": [227, 46, 46, 255], "412": [75, 139, 166, 255], "413": [122, 217, 232, 255], "414": [122, 217, 232, 255], "415": [249, 75, 7, 255], "416": [0, 160, 170, 255], "417": [160, 87, 234, 255], "418": [22, 173, 254, 255], "419": [117, 125, 151, 255], "420": [255, 255, 255, 255], "421": [73, 70, 70, 255], "422": [73, 70, 70, 255], "423": [255, 255, 255, 255], "424": [146, 155, 187, 255], "425": [174, 195, 215, 255], "426": [77, 11, 35, 255], "427": [119, 22, 52, 255], "428": [255, 255, 255, 255], "429": [63, 63, 63, 255], "430": [23, 119, 79, 255], "431": [23, 54, 119, 255], "432": [119, 68, 23, 255], "433": [74, 23, 119, 255], "434": [78, 82, 109, 255], "435": [39, 168, 96, 255], "436": [39, 94, 168, 255], "437": [168, 121, 39, 255], "438": [111, 39, 168, 255], "439": [150, 148, 174, 255], "440": [255, 255, 255, 255], "441": [255, 255, 255, 255], "442": [3, 144, 201, 255], "443": [123, 123, 123, 255], "444": [191, 176, 124, 255], "445": [55, 55, 73, 255], "446": [255, 66, 152, 255], "447": [179, 132, 255, 255], "448": [0, 206, 180, 255], "449": [91, 186, 240, 255], "450": [92, 240, 91, 255], "451": [240, 91, 147, 255], "452": [255, 150, 181, 255], "453": [255, 255, 255, 255], "454": [174, 16, 176, 255], "455": [48, 255, 110, 255], "456": [179, 132, 255, 255], "457": [255, 255, 255, 255], "458": [211, 198, 111, 255], "459": [190, 223, 232, 255], "460": [141, 163, 181, 255], "461": [255, 222, 100, 255], "462": [231, 178, 28, 255], "463": [155, 214, 240, 255], "464": [233, 183, 128, 255], "465": [51, 84, 195, 255], "466": [205, 153, 73, 255], "467": [233, 207, 94, 255], "468": [255, 255, 255, 255], "469": [191, 142, 111, 255]}, "Walls": {"0": [0, 0, 0, 0], "1": [52, 52, 52, 255], "2": [88, 61, 46, 255], "3": [61, 58, 78, 255], "4": [73, 51, 36, 255], "5": [52, 52, 52, 255], "6": [91, 30, 30, 255], "7": [27, 31, 42, 255], "8": [31, 39, 26, 255], "9": [41, 28, 36, 255], "10": [74, 62, 12, 255], "11": [46, 56, 59, 255], "12": [75, 32, 11, 255], "13": [67, 37, 37, 255], "14": [15, 15, 15, 255], "15": [52, 43, 45, 255], "16": [88, 61, 46, 255], "17": [27, 31, 42, 255], "18": [31, 39, 26, 255], "19": [41, 28, 36, 255], "20": [15, 15, 15, 255], "21": [0, 0, 0, 0], "22": [113, 99, 99, 255], "23": [38, 38, 43, 255], "24": [53, 39, 41, 255], "25": [11, 35, 62, 255], "26": [21, 63, 70, 255], "27": [88, 61, 46, 255], "28": [81, 84, 101, 255], "29": [88, 23, 23, 255], "30": [28, 88, 23, 255], "31": [78, 87, 99, 255], "32": [86, 17, 40, 255], "33": [49, 47, 83, 255], "34": [69, 67, 41, 255], "35": [51, 51, 70, 255], "36": [87, 59, 55, 255], "37": [69, 67, 41, 255], "38": [49, 57, 49, 255], "39": [78, 79, 73, 255], "40": [85, 102, 103, 255], "41": [52, 50, 62, 255], "42": [71, 42, 44, 255], "43": [73, 66, 50, 255], "44": [52, 52, 52, 255], "45": [60, 59, 51, 255], "46": [48, 57, 47, 255], "47": [71, 77, 85, 255], "48": [52, 52, 52, 255], "49": [52, 52, 52, 255], "50": [52, 52, 52, 255], "51": [52, 52, 52, 255], "52": [52, 52, 52, 255], "53": [52, 52, 52, 255], "54": [40, 56, 50, 255], "55": [49, 48, 36, 255], "56": [43, 33, 32, 255], "57": [31, 40, 49, 255], "58": [48, 35, 52, 255], "59": [88, 61, 46, 255], "60": [1, 52, 20, 255], "61": [55, 39, 26, 255], "62": [39, 33, 26, 255], "63": [30, 80, 48, 255], "64": [53, 80, 30, 255], "65": [30, 80, 48, 255], "66": [30, 80, 48, 255], "67": [53, 80, 30, 255], "68": [30, 80, 48, 255], "69": [43, 42, 68, 255], "70": [30, 70, 80, 255], "71": [78, 105, 135, 255], "72": [52, 84, 12, 255], "73": [190, 204, 223, 255], "74": [64, 62, 80, 255], "75": [65, 65, 35, 255], "76": [20, 46, 104, 255], "77": [61, 13, 16, 255], "78": [63, 39, 26, 255], "79": [51, 47, 96, 255], "80": [64, 62, 80, 255], "81": [101, 51, 51, 255], "82": [77, 64, 34, 255], "83": [62, 38, 41, 255], "84": [48, 78, 93, 255], "85": [54, 63, 69, 255], "86": [138, 73, 38, 255], "87": [50, 15, 8, 255], "88": [0, 0, 0, 0], "89": [0, 0, 0, 0], "90": [0, 0, 0, 0], "91": [0, 0, 0, 0], "92": [0, 0, 0, 0], "93": [0, 0, 0, 0], "94": [32, 40, 45, 255], "95": [44, 41, 50, 255], "96": [72, 50, 77, 255], "97": [78, 50, 69, 255], "98": [36, 45, 44, 255], "99": [38, 49, 50, 255], "100": [32, 40, 45, 255], "101": [44, 41, 50, 255], "102": [72, 50, 77, 255], "103": [78, 50, 69, 255], "104": [36, 45, 44, 255], "105": [38, 49, 50, 255], "106": [0, 0, 0, 0], "107": [0, 0, 0, 0], "108": [138, 73, 38, 255], "109": [94, 25, 17, 255], "110": [125, 36, 122, 255], "111": [51, 35, 27, 255], "112": [50, 15, 8, 255], "113": [135, 58, 0, 255], "114": [65, 52, 15, 255], "115": [39, 42, 51, 255], "116": [89, 26, 27, 255], "117": [126, 123, 115, 255], "118": [8, 50, 19, 255], "119": [95, 21, 24, 255], "120": [17, 31, 65, 255], "121": [192, 173, 143, 255], "122": [114, 114, 131, 255], "123": [136, 119, 7, 255], "124": [8, 72, 3, 255], "125": [117, 132, 82, 255], "126": [100, 102, 114, 255], "127": [30, 118, 226, 255], "128": [93, 6, 102, 255], "129": [64, 40, 169, 255], "130": [39, 34, 180, 255], "131": [87, 94, 125, 255], "132": [6, 6, 6, 255], "133": [69, 72, 186, 255], "134": [130, 62, 16, 255], "135": [22, 123, 163, 255], "136": [40, 86, 151, 255], "137": [183, 75, 15, 255], "138": [83, 80, 100, 255], "139": [115, 65, 68, 255], "140": [119, 108, 81, 255], "141": [59, 67, 71, 255], "142": [17, 172, 143, 255], "143": [90, 112, 105, 255], "144": [62, 28, 87, 255], "145": [0, 0, 0, 0], "146": [120, 59, 19, 255], "147": [59, 59, 59, 255], "148": [229, 218, 161, 255], "149": [73, 59, 50, 255], "150": [0, 0, 0, 0], "151": [102, 75, 34, 255], "152": [0, 0, 0, 0], "153": [255, 145, 79, 255], "154": [221, 79, 255, 255], "155": [240, 240, 247, 255], "156": [79, 255, 89, 255], "157": [154, 83, 49, 255], "158": [107, 49, 154, 255], "159": [85, 89, 118, 255], "160": [49, 154, 68, 255], "161": [154, 49, 77, 255], "162": [49, 49, 154, 255], "163": [154, 148, 49, 255], "164": [255, 79, 79, 255], "165": [79, 102, 255, 255], "166": [250, 255, 79, 255], "167": [70, 68, 51, 255], "168": [0, 0, 0, 0], "169": [5, 5, 5, 255], "170": [59, 39, 22, 255], "171": [59, 39, 22, 255], "172": [163, 96, 0, 255], "173": [94, 163, 46, 255], "174": [117, 32, 59, 255], "175": [20, 11, 203, 255], "176": [74, 69, 88, 255], "177": [60, 30, 30, 255], "178": [111, 117, 135, 255], "179": [111, 117, 135, 255], "180": [25, 23, 54, 255], "181": [25, 23, 54, 255], "182": [74, 71, 129, 255], "183": [111, 117, 135, 255], "184": [25, 23, 54, 255], "185": [52, 52, 52, 255], "186": [38, 9, 66, 255], "187": [149, 80, 51, 255], "188": [82, 63, 80, 255], "189": [65, 61, 77, 255], "190": [64, 65, 92, 255], "191": [76, 53, 84, 255], "192": [144, 67, 52, 255], "193": [149, 48, 48, 255], "194": [111, 32, 36, 255], "195": [147, 48, 55, 255], "196": [97, 67, 51, 255], "197": [112, 80, 62, 255], "198": [88, 61, 46, 255], "199": [127, 94, 76, 255], "200": [143, 50, 123, 255], "201": [136, 120, 131, 255], "202": [219, 92, 143, 255], "203": [113, 64, 150, 255], "204": [74, 67, 60, 255], "205": [60, 78, 59, 255], "206": [0, 54, 21, 255], "207": [74, 97, 72, 255], "208": [40, 37, 35, 255], "209": [77, 63, 66, 255], "210": [111, 6, 6, 255], "211": [88, 67, 59, 255], "212": [88, 87, 80, 255], "213": [71, 71, 67, 255], "214": [76, 52, 60, 255], "215": [89, 48, 59, 255], "216": [158, 100, 64, 255], "217": [62, 45, 75, 255], "218": [57, 14, 12, 255], "219": [96, 72, 133, 255], "220": [67, 55, 80, 255], "221": [64, 37, 29, 255], "222": [70, 51, 91, 255], "223": [51, 18, 4, 255], "224": [57, 55, 52, 255], "225": [68, 68, 68, 255], "226": [148, 138, 74, 255], "227": [95, 137, 191, 255], "228": [160, 2, 75, 255], "229": [100, 55, 164, 255], "230": [0, 117, 101, 255]}, "Globals": {"Space": [51, 102, 153, 255], "Sky": [155, 209, 255, 255], "Earth": [84, 57, 42, 255], "Rock": [72, 64, 57, 255], "Hell": [51, 0, 0, 255], "Lava": [255, 30, 0, 240], "Honey": [255, 172, 0, 240], "Water": [0, 12, 255, 128], "Wire": [255, 0, 0, 112], "Wire1": [0, 0, 255, 112], "Wire2": [0, 255, 0, 112], "Wire3": [255, 255, 0, 112]}, "Paints": {"0": [0, 0, 0, 0], "1": [255, 0, 0, 255], "2": [255, 127, 0, 255], "3": [255, 255, 0, 255], "4": [127, 255, 0, 255], "5": [0, 255, 0, 255], "6": [0, 255, 127, 255], "7": [0, 255, 255, 255], "8": [0, 127, 255, 255], "9": [0, 0, 255, 255], "10": [127, 0, 255, 255], "11": [255, 0, 255, 255], "12": [255, 0, 127, 255], "13": [255, 0, 0, 255], "14": [255, 127, 0, 255], "15": [255, 255, 0, 255], "16": [127, 255, 0, 255], "17": [0, 255, 0, 255], "18": [0, 255, 127, 255], "19": [0, 255, 255, 255], "20": [0, 127, 255, 255], "21": [0, 0, 255, 255], "22": [127, 0, 255, 255], "23": [255, 0, 255, 255], "24": [255, 0, 127, 255], "25": [75, 75, 75, 255], "26": [255, 255, 255, 255], "27": [175, 175, 175, 255], "28": [255, 178, 125, 255], "29": [25, 25, 25, 255], "30": [200, 200, 200, 150]}} \ No newline at end of file +{"Blocks": {"0": [0, 0, 0, 0], "1": [0, 0, 0, 0], "2": [0, 0, 0, 0], "3": [0, 0, 0, 0], "4": [0, 0, 0, 0], "5": [0, 0, 0, 0], "6": [0, 0, 0, 0], "7": [0, 0, 0, 0], "8": [0, 0, 0, 0], "9": [0, 0, 0, 0], "10": [0, 0, 0, 0], "11": [0, 0, 0, 0], "12": [0, 0, 0, 0], "13": [0, 0, 0, 0], "14": [0, 0, 0, 0], "15": [0, 0, 0, 0], "16": [0, 0, 0, 0], "17": [0, 0, 0, 0], "18": [0, 0, 0, 0], "19": [0, 0, 0, 0], "20": [0, 0, 0, 0], "21": [0, 0, 0, 0], "22": [0, 0, 0, 0], "23": [0, 0, 0, 0], "24": [0, 0, 0, 0], "25": [0, 0, 0, 0], "26": [0, 0, 0, 0], "27": [0, 0, 0, 0], "28": [0, 0, 0, 0], "29": [0, 0, 0, 0], "30": [0, 0, 0, 0], "31": [0, 0, 0, 0], "32": [0, 0, 0, 0], "33": [0, 0, 0, 0], "34": [0, 0, 0, 0], "35": [0, 0, 0, 0], "36": [0, 0, 0, 0], "37": [0, 0, 0, 0], "38": [0, 0, 0, 0], "39": [0, 0, 0, 0], "40": [0, 0, 0, 0], "41": [0, 0, 0, 0], "42": [0, 0, 0, 0], "43": [0, 0, 0, 0], "44": [0, 0, 0, 0], "45": [0, 0, 0, 0], "46": [0, 0, 0, 0], "47": [0, 0, 0, 0], "48": [0, 0, 0, 0], "49": [0, 0, 0, 0], "50": [0, 0, 0, 0], "51": [0, 0, 0, 0], "52": [0, 0, 0, 0], "53": [0, 0, 0, 0], "54": [0, 0, 0, 0], "55": [0, 0, 0, 0], "56": [0, 0, 0, 0], "57": [0, 0, 0, 0], "58": [0, 0, 0, 0], "59": [0, 0, 0, 0], "60": [0, 0, 0, 0], "61": [0, 0, 0, 0], "62": [0, 0, 0, 0], "63": [0, 0, 0, 0], "64": [0, 0, 0, 0], "65": [0, 0, 0, 0], "66": [0, 0, 0, 0], "67": [0, 0, 0, 0], "68": [0, 0, 0, 0], "69": [0, 0, 0, 0], "70": [0, 0, 0, 0], "71": [0, 0, 0, 0], "72": [0, 0, 0, 0], "73": [0, 0, 0, 0], "74": [0, 0, 0, 0], "75": [0, 0, 0, 0], "76": [0, 0, 0, 0], "77": [0, 0, 0, 0], "78": [0, 0, 0, 0], "79": [0, 0, 0, 0], "80": [0, 0, 0, 0], "81": [0, 0, 0, 0], "82": [0, 0, 0, 0], "83": [0, 0, 0, 0], "84": [0, 0, 0, 0], "85": [0, 0, 0, 0], "86": [0, 0, 0, 0], "87": [0, 0, 0, 0], "88": [0, 0, 0, 0], "89": [0, 0, 0, 0], "90": [0, 0, 0, 0], "91": [0, 0, 0, 0], "92": [0, 0, 0, 0], "93": [0, 0, 0, 0], "94": [0, 0, 0, 0], "95": [0, 0, 0, 0], "96": [0, 0, 0, 0], "97": [0, 0, 0, 0], "98": [0, 0, 0, 0], "99": [0, 0, 0, 0], "100": [0, 0, 0, 0], "101": [0, 0, 0, 0], "102": [0, 0, 0, 0], "103": [0, 0, 0, 0], "104": [0, 0, 0, 0], "105": [0, 0, 0, 0], "106": [0, 0, 0, 0], "107": [0, 0, 0, 0], "108": [0, 0, 0, 0], "109": [0, 0, 0, 0], "110": [0, 0, 0, 0], "111": [0, 0, 0, 0], "112": [0, 0, 0, 0], "113": [0, 0, 0, 0], "114": [0, 0, 0, 0], "115": [0, 0, 0, 0], "116": [0, 0, 0, 0], "117": [0, 0, 0, 0], "118": [0, 0, 0, 0], "119": [0, 0, 0, 0], "120": [0, 0, 0, 0], "121": [0, 0, 0, 0], "122": [0, 0, 0, 0], "123": [0, 0, 0, 0], "124": [0, 0, 0, 0], "125": [0, 0, 0, 0], "126": [0, 0, 0, 0], "127": [0, 0, 0, 0], "128": [0, 0, 0, 0], "129": [0, 0, 0, 0], "130": [0, 0, 0, 0], "131": [0, 0, 0, 0], "132": [0, 0, 0, 0], "133": [0, 0, 0, 0], "134": [0, 0, 0, 0], "135": [0, 0, 0, 0], "136": [0, 0, 0, 0], "137": [0, 0, 0, 0], "138": [0, 0, 0, 0], "139": [0, 0, 0, 0], "140": [0, 0, 0, 0], "141": [0, 0, 0, 0], "142": [0, 0, 0, 0], "143": [0, 0, 0, 0], "144": [0, 0, 0, 0], "145": [0, 0, 0, 0], "146": [0, 0, 0, 0], "147": [0, 0, 0, 0], "148": [0, 0, 0, 0], "149": [0, 0, 0, 0], "150": [0, 0, 0, 0], "151": [0, 0, 0, 0], "152": [0, 0, 0, 0], "153": [0, 0, 0, 0], "154": [0, 0, 0, 0], "155": [0, 0, 0, 0], "156": [0, 0, 0, 0], "157": [0, 0, 0, 0], "158": [0, 0, 0, 0], "159": [0, 0, 0, 0], "160": [0, 0, 0, 0], "161": [0, 0, 0, 0], "162": [0, 0, 0, 0], "163": [0, 0, 0, 0], "164": [0, 0, 0, 0], "165": [0, 0, 0, 0], "166": [0, 0, 0, 0], "167": [0, 0, 0, 0], "168": [0, 0, 0, 0], "169": [0, 0, 0, 0], "170": [0, 0, 0, 0], "171": [0, 0, 0, 0], "172": [0, 0, 0, 0], "173": [0, 0, 0, 0], "174": [0, 0, 0, 0], "175": [0, 0, 0, 0], "176": [0, 0, 0, 0], "177": [0, 0, 0, 0], "178": [0, 0, 0, 0], "179": [0, 0, 0, 0], "180": [0, 0, 0, 0], "181": [0, 0, 0, 0], "182": [0, 0, 0, 0], "183": [0, 0, 0, 0], "184": [0, 0, 0, 0], "185": [0, 0, 0, 0], "186": [0, 0, 0, 0], "187": [0, 0, 0, 0], "188": [0, 0, 0, 0], "189": [0, 0, 0, 0], "190": [0, 0, 0, 0], "191": [0, 0, 0, 0], "192": [0, 0, 0, 0], "193": [0, 0, 0, 0], "194": [0, 0, 0, 0], "195": [0, 0, 0, 0], "196": [0, 0, 0, 0], "197": [0, 0, 0, 0], "198": [0, 0, 0, 0], "199": [0, 0, 0, 0], "200": [0, 0, 0, 0], "201": [0, 0, 0, 0], "202": [0, 0, 0, 0], "203": [0, 0, 0, 0], "204": [0, 0, 0, 0], "205": [0, 0, 0, 0], "206": [0, 0, 0, 0], "207": [0, 0, 0, 0], "208": [0, 0, 0, 0], "209": [0, 0, 0, 0], "210": [0, 0, 0, 0], "211": [0, 0, 0, 0], "212": [0, 0, 0, 0], "213": [0, 0, 0, 0], "214": [0, 0, 0, 0], "215": [0, 0, 0, 0], "216": [0, 0, 0, 0], "217": [0, 0, 0, 0], "218": [0, 0, 0, 0], "219": [0, 0, 0, 0], "220": [0, 0, 0, 0], "221": [0, 0, 0, 0], "222": [0, 0, 0, 0], "223": [0, 0, 0, 0], "224": [0, 0, 0, 0], "225": [0, 0, 0, 0], "226": [0, 0, 0, 0], "227": [0, 0, 0, 0], "228": [0, 0, 0, 0], "229": [0, 0, 0, 0], "230": [0, 0, 0, 0], "231": [0, 0, 0, 0], "232": [0, 0, 0, 0], "233": [0, 0, 0, 0], "234": [0, 0, 0, 0], "235": [0, 0, 0, 0], "236": [0, 0, 0, 0], "237": [0, 0, 0, 0], "238": [0, 0, 0, 0], "239": [0, 0, 0, 0], "240": [0, 0, 0, 0], "241": [0, 0, 0, 0], "242": [0, 0, 0, 0], "243": [0, 0, 0, 0], "244": [0, 0, 0, 0], "245": [0, 0, 0, 0], "246": [0, 0, 0, 0], "247": [0, 0, 0, 0], "248": [0, 0, 0, 0], "249": [0, 0, 0, 0], "250": [0, 0, 0, 0], "251": [0, 0, 0, 0], "252": [0, 0, 0, 0], "253": [0, 0, 0, 0], "254": [0, 0, 0, 0], "255": [0, 0, 0, 0], "256": [0, 0, 0, 0], "257": [0, 0, 0, 0], "258": [0, 0, 0, 0], "259": [0, 0, 0, 0], "260": [0, 0, 0, 0], "261": [0, 0, 0, 0], "262": [0, 0, 0, 0], "263": [0, 0, 0, 0], "264": [0, 0, 0, 0], "265": [0, 0, 0, 0], "266": [0, 0, 0, 0], "267": [0, 0, 0, 0], "268": [0, 0, 0, 0], "269": [0, 0, 0, 0], "270": [0, 0, 0, 0], "271": [0, 0, 0, 0], "272": [0, 0, 0, 0], "273": [0, 0, 0, 0], "274": [0, 0, 0, 0], "275": [0, 0, 0, 0], "276": [0, 0, 0, 0], "277": [0, 0, 0, 0], "278": [0, 0, 0, 0], "279": [0, 0, 0, 0], "280": [0, 0, 0, 0], "281": [0, 0, 0, 0], "282": [0, 0, 0, 0], "283": [0, 0, 0, 0], "284": [0, 0, 0, 0], "285": [0, 0, 0, 0], "286": [0, 0, 0, 0], "287": [0, 0, 0, 0], "288": [0, 0, 0, 0], "289": [0, 0, 0, 0], "290": [0, 0, 0, 0], "291": [0, 0, 0, 0], "292": [0, 0, 0, 0], "293": [0, 0, 0, 0], "294": [0, 0, 0, 0], "295": [0, 0, 0, 0], "296": [0, 0, 0, 0], "297": [0, 0, 0, 0], "298": [0, 0, 0, 0], "299": [0, 0, 0, 0], "300": [0, 0, 0, 0], "301": [0, 0, 0, 0], "302": [0, 0, 0, 0], "303": [0, 0, 0, 0], "304": [0, 0, 0, 0], "305": [0, 0, 0, 0], "306": [0, 0, 0, 0], "307": [0, 0, 0, 0], "308": [0, 0, 0, 0], "309": [0, 0, 0, 0], "310": [0, 0, 0, 0], "311": [0, 0, 0, 0], "312": [0, 0, 0, 0], "313": [0, 0, 0, 0], "314": [0, 0, 0, 0], "315": [0, 0, 0, 0], "316": [0, 0, 0, 0], "317": [0, 0, 0, 0], "318": [0, 0, 0, 0], "319": [0, 0, 0, 0], "320": [0, 0, 0, 0], "321": [0, 0, 0, 0], "322": [0, 0, 0, 0], "323": [0, 0, 0, 0], "324": [0, 0, 0, 0], "325": [0, 0, 0, 0], "326": [0, 0, 0, 0], "327": [0, 0, 0, 0], "328": [0, 0, 0, 0], "329": [0, 0, 0, 0], "330": [0, 0, 0, 0], "331": [0, 0, 0, 0], "332": [0, 0, 0, 0], "333": [0, 0, 0, 0], "334": [0, 0, 0, 0], "335": [0, 0, 0, 0], "336": [0, 0, 0, 0], "337": [0, 0, 0, 0], "338": [0, 0, 0, 0], "339": [0, 0, 0, 0], "340": [0, 0, 0, 0], "341": [0, 0, 0, 0], "342": [0, 0, 0, 0], "343": [0, 0, 0, 0], "344": [0, 0, 0, 0], "345": [0, 0, 0, 0], "346": [0, 0, 0, 0], "347": [0, 0, 0, 0], "348": [0, 0, 0, 0], "349": [0, 0, 0, 0], "350": [0, 0, 0, 0], "351": [0, 0, 0, 0], "352": [0, 0, 0, 0], "353": [0, 0, 0, 0], "354": [0, 0, 0, 0], "355": [0, 0, 0, 0], "356": [0, 0, 0, 0], "357": [0, 0, 0, 0], "358": [0, 0, 0, 0], "359": [0, 0, 0, 0], "360": [0, 0, 0, 0], "361": [0, 0, 0, 0], "362": [0, 0, 0, 0], "363": [0, 0, 0, 0], "364": [0, 0, 0, 0], "365": [0, 0, 0, 0], "366": [0, 0, 0, 0], "367": [0, 0, 0, 0], "368": [0, 0, 0, 0], "369": [0, 0, 0, 0], "370": [0, 0, 0, 0], "371": [0, 0, 0, 0], "372": [0, 0, 0, 0], "373": [0, 0, 0, 0], "374": [0, 0, 0, 0], "375": [0, 0, 0, 0], "376": [0, 0, 0, 0], "377": [0, 0, 0, 0], "378": [0, 0, 0, 0], "379": [0, 0, 0, 0], "380": [0, 0, 0, 0], "381": [0, 0, 0, 0], "382": [0, 0, 0, 0], "383": [0, 0, 0, 0], "384": [0, 0, 0, 0], "385": [0, 0, 0, 0], "386": [0, 0, 0, 0], "387": [0, 0, 0, 0], "388": [0, 0, 0, 0], "389": [0, 0, 0, 0], "390": [0, 0, 0, 0], "391": [0, 0, 0, 0], "392": [0, 0, 0, 0], "393": [0, 0, 0, 0], "394": [0, 0, 0, 0], "395": [0, 0, 0, 0], "396": [0, 0, 0, 0], "397": [0, 0, 0, 0], "398": [0, 0, 0, 0], "399": [0, 0, 0, 0], "400": [0, 0, 0, 0], "401": [0, 0, 0, 0], "402": [0, 0, 0, 0], "403": [0, 0, 0, 0], "404": [0, 0, 0, 0], "405": [0, 0, 0, 0], "406": [0, 0, 0, 0], "407": [0, 0, 0, 0], "408": [0, 0, 0, 0], "409": [0, 0, 0, 0], "410": [0, 0, 0, 0], "411": [0, 0, 0, 0], "412": [0, 0, 0, 0], "413": [0, 0, 0, 0], "414": [0, 0, 0, 0], "415": [0, 0, 0, 0], "416": [0, 0, 0, 0], "417": [0, 0, 0, 0], "418": [0, 0, 0, 0], "419": [0, 0, 0, 0], "420": [0, 0, 0, 0], "421": [0, 0, 0, 0], "422": [0, 0, 0, 0], "423": [0, 0, 0, 0], "424": [0, 0, 0, 0], "425": [0, 0, 0, 0], "426": [0, 0, 0, 0], "427": [0, 0, 0, 0], "428": [0, 0, 0, 0], "429": [0, 0, 0, 0], "430": [0, 0, 0, 0], "431": [0, 0, 0, 0], "432": [0, 0, 0, 0], "433": [0, 0, 0, 0], "434": [0, 0, 0, 0], "435": [0, 0, 0, 0], "436": [0, 0, 0, 0], "437": [0, 0, 0, 0], "438": [0, 0, 0, 0], "439": [0, 0, 0, 0], "440": [0, 0, 0, 0], "441": [0, 0, 0, 0], "442": [0, 0, 0, 0], "443": [0, 0, 0, 0], "444": [0, 0, 0, 0], "445": [0, 0, 0, 0], "446": [0, 0, 0, 0], "447": [0, 0, 0, 0], "448": [0, 0, 0, 0], "449": [0, 0, 0, 0], "450": [0, 0, 0, 0], "451": [0, 0, 0, 0], "452": [0, 0, 0, 0], "453": [0, 0, 0, 0], "454": [0, 0, 0, 0], "455": [0, 0, 0, 0], "456": [0, 0, 0, 0], "457": [0, 0, 0, 0], "458": [0, 0, 0, 0], "459": [0, 0, 0, 0], "460": [0, 0, 0, 0], "461": [0, 0, 0, 0], "462": [0, 0, 0, 0], "463": [0, 0, 0, 0], "464": [0, 0, 0, 0], "465": [0, 0, 0, 0], "466": [0, 0, 0, 0], "467": [0, 0, 0, 0], "468": [0, 0, 0, 0], "469": [0, 0, 0, 0], "470": [0, 0, 0, 0], "471": [0, 0, 0, 0], "472": [0, 0, 0, 0], "473": [0, 0, 0, 0], "474": [0, 0, 0, 0], "475": [0, 0, 0, 0], "476": [0, 0, 0, 0], "477": [0, 0, 0, 0], "478": [0, 0, 0, 0], "479": [0, 0, 0, 0], "480": [0, 0, 0, 0], "481": [0, 0, 0, 0], "482": [0, 0, 0, 0], "483": [0, 0, 0, 0], "484": [0, 0, 0, 0], "485": [0, 0, 0, 0], "486": [0, 0, 0, 0], "487": [0, 0, 0, 0], "488": [0, 0, 0, 0], "489": [0, 0, 0, 0], "490": [0, 0, 0, 0], "491": [0, 0, 0, 0], "492": [0, 0, 0, 0], "493": [0, 0, 0, 0], "494": [0, 0, 0, 0], "495": [0, 0, 0, 0], "496": [0, 0, 0, 0], "497": [0, 0, 0, 0], "498": [0, 0, 0, 0], "499": [0, 0, 0, 0], "500": [0, 0, 0, 0], "501": [0, 0, 0, 0], "502": [0, 0, 0, 0], "503": [0, 0, 0, 0], "504": [0, 0, 0, 0], "505": [0, 0, 0, 0], "506": [0, 0, 0, 0], "507": [0, 0, 0, 0], "508": [0, 0, 0, 0], "509": [0, 0, 0, 0], "510": [0, 0, 0, 0], "511": [0, 0, 0, 0], "512": [0, 0, 0, 0], "513": [0, 0, 0, 0], "514": [0, 0, 0, 0], "515": [0, 0, 0, 0], "516": [0, 0, 0, 0], "517": [0, 0, 0, 0], "518": [0, 0, 0, 0], "519": [0, 0, 0, 0], "520": [0, 0, 0, 0], "521": [0, 0, 0, 0], "522": [0, 0, 0, 0], "523": [0, 0, 0, 0], "524": [0, 0, 0, 0], "525": [0, 0, 0, 0], "526": [0, 0, 0, 0], "527": [0, 0, 0, 0], "528": [0, 0, 0, 0], "529": [0, 0, 0, 0], "530": [0, 0, 0, 0], "531": [0, 0, 0, 0], "532": [0, 0, 0, 0], "533": [0, 0, 0, 0], "534": [0, 0, 0, 0], "535": [0, 0, 0, 0], "536": [0, 0, 0, 0], "537": [0, 0, 0, 0], "538": [0, 0, 0, 0], "539": [0, 0, 0, 0], "540": [0, 0, 0, 0], "541": [0, 0, 0, 0], "542": [0, 0, 0, 0], "543": [0, 0, 0, 0], "544": [0, 0, 0, 0], "545": [0, 0, 0, 0], "546": [0, 0, 0, 0], "547": [0, 0, 0, 0], "548": [0, 0, 0, 0], "549": [0, 0, 0, 0], "550": [0, 0, 0, 0], "551": [0, 0, 0, 0], "552": [0, 0, 0, 0], "553": [0, 0, 0, 0], "554": [0, 0, 0, 0], "555": [0, 0, 0, 0], "556": [0, 0, 0, 0], "557": [0, 0, 0, 0], "558": [0, 0, 0, 0], "559": [0, 0, 0, 0], "560": [0, 0, 0, 0], "561": [0, 0, 0, 0], "562": [0, 0, 0, 0], "563": [0, 0, 0, 0], "564": [0, 0, 0, 0], "565": [0, 0, 0, 0], "566": [0, 0, 0, 0], "567": [0, 0, 0, 0], "568": [0, 0, 0, 0], "569": [0, 0, 0, 0], "570": [0, 0, 0, 0], "571": [0, 0, 0, 0], "572": [0, 0, 0, 0], "573": [0, 0, 0, 0], "574": [0, 0, 0, 0], "575": [0, 0, 0, 0], "576": [0, 0, 0, 0], "577": [0, 0, 0, 0], "578": [0, 0, 0, 0], "579": [0, 0, 0, 0], "580": [0, 0, 0, 0], "581": [0, 0, 0, 0], "582": [0, 0, 0, 0], "583": [0, 0, 0, 0], "584": [0, 0, 0, 0], "585": [0, 0, 0, 0], "586": [0, 0, 0, 0], "587": [0, 0, 0, 0], "588": [0, 0, 0, 0], "589": [0, 0, 0, 0], "590": [0, 0, 0, 0], "591": [0, 0, 0, 0], "592": [0, 0, 0, 0], "593": [0, 0, 0, 0], "594": [0, 0, 0, 0], "595": [0, 0, 0, 0], "596": [0, 0, 0, 0], "597": [0, 0, 0, 0], "598": [0, 0, 0, 0], "599": [0, 0, 0, 0], "600": [0, 0, 0, 0], "601": [0, 0, 0, 0], "602": [0, 0, 0, 0], "603": [0, 0, 0, 0], "604": [0, 0, 0, 0], "605": [0, 0, 0, 0], "606": [0, 0, 0, 0], "607": [0, 0, 0, 0], "608": [0, 0, 0, 0], "609": [0, 0, 0, 0], "610": [0, 0, 0, 0], "611": [0, 0, 0, 0], "612": [0, 0, 0, 0], "613": [0, 0, 0, 0], "614": [0, 0, 0, 0], "615": [0, 0, 0, 0], "616": [0, 0, 0, 0], "617": [0, 0, 0, 0], "618": [0, 0, 0, 0], "619": [0, 0, 0, 0], "620": [0, 0, 0, 0], "621": [0, 0, 0, 0], "622": [0, 0, 0, 0]}, "Walls": {"0": [0, 0, 0, 0], "1": [52, 52, 52, 255], "2": [88, 61, 46, 255], "3": [61, 58, 78, 255], "4": [73, 51, 36, 255], "5": [52, 52, 52, 255], "6": [91, 30, 30, 255], "7": [27, 31, 42, 255], "8": [31, 39, 26, 255], "9": [41, 28, 36, 255], "10": [74, 62, 12, 255], "11": [46, 56, 59, 255], "12": [75, 32, 11, 255], "13": [67, 37, 37, 255], "14": [15, 15, 15, 255], "15": [52, 43, 45, 255], "16": [88, 61, 46, 255], "17": [27, 31, 42, 255], "18": [31, 39, 26, 255], "19": [41, 28, 36, 255], "20": [15, 15, 15, 255], "21": [0, 0, 0, 0], "22": [113, 99, 99, 255], "23": [38, 38, 43, 255], "24": [53, 39, 41, 255], "25": [11, 35, 62, 255], "26": [21, 63, 70, 255], "27": [88, 61, 46, 255], "28": [81, 84, 101, 255], "29": [88, 23, 23, 255], "30": [28, 88, 23, 255], "31": [78, 87, 99, 255], "32": [86, 17, 40, 255], "33": [49, 47, 83, 255], "34": [69, 67, 41, 255], "35": [51, 51, 70, 255], "36": [87, 59, 55, 255], "37": [69, 67, 41, 255], "38": [49, 57, 49, 255], "39": [78, 79, 73, 255], "40": [85, 102, 103, 255], "41": [52, 50, 62, 255], "42": [71, 42, 44, 255], "43": [73, 66, 50, 255], "44": [52, 52, 52, 255], "45": [60, 59, 51, 255], "46": [48, 57, 47, 255], "47": [71, 77, 85, 255], "48": [52, 52, 52, 255], "49": [52, 52, 52, 255], "50": [52, 52, 52, 255], "51": [52, 52, 52, 255], "52": [52, 52, 52, 255], "53": [52, 52, 52, 255], "54": [40, 56, 50, 255], "55": [49, 48, 36, 255], "56": [43, 33, 32, 255], "57": [31, 40, 49, 255], "58": [48, 35, 52, 255], "59": [88, 61, 46, 255], "60": [1, 52, 20, 255], "61": [55, 39, 26, 255], "62": [39, 33, 26, 255], "63": [30, 80, 48, 255], "64": [53, 80, 30, 255], "65": [30, 80, 48, 255], "66": [30, 80, 48, 255], "67": [53, 80, 30, 255], "68": [30, 80, 48, 255], "69": [43, 42, 68, 255], "70": [30, 70, 80, 255], "71": [78, 105, 135, 255], "72": [52, 84, 12, 255], "73": [190, 204, 223, 255], "74": [64, 62, 80, 255], "75": [65, 65, 35, 255], "76": [20, 46, 104, 255], "77": [61, 13, 16, 255], "78": [63, 39, 26, 255], "79": [51, 47, 96, 255], "80": [64, 62, 80, 255], "81": [101, 51, 51, 255], "82": [77, 64, 34, 255], "83": [62, 38, 41, 255], "84": [48, 78, 93, 255], "85": [54, 63, 69, 255], "86": [138, 73, 38, 255], "87": [50, 15, 8, 255], "88": [0, 0, 0, 0], "89": [0, 0, 0, 0], "90": [0, 0, 0, 0], "91": [0, 0, 0, 0], "92": [0, 0, 0, 0], "93": [0, 0, 0, 0], "94": [32, 40, 45, 255], "95": [44, 41, 50, 255], "96": [72, 50, 77, 255], "97": [78, 50, 69, 255], "98": [36, 45, 44, 255], "99": [38, 49, 50, 255], "100": [32, 40, 45, 255], "101": [44, 41, 50, 255], "102": [72, 50, 77, 255], "103": [78, 50, 69, 255], "104": [36, 45, 44, 255], "105": [38, 49, 50, 255], "106": [0, 0, 0, 0], "107": [0, 0, 0, 0], "108": [138, 73, 38, 255], "109": [94, 25, 17, 255], "110": [125, 36, 122, 255], "111": [51, 35, 27, 255], "112": [50, 15, 8, 255], "113": [135, 58, 0, 255], "114": [65, 52, 15, 255], "115": [39, 42, 51, 255], "116": [89, 26, 27, 255], "117": [126, 123, 115, 255], "118": [8, 50, 19, 255], "119": [95, 21, 24, 255], "120": [17, 31, 65, 255], "121": [192, 173, 143, 255], "122": [114, 114, 131, 255], "123": [136, 119, 7, 255], "124": [8, 72, 3, 255], "125": [117, 132, 82, 255], "126": [100, 102, 114, 255], "127": [30, 118, 226, 255], "128": [93, 6, 102, 255], "129": [64, 40, 169, 255], "130": [39, 34, 180, 255], "131": [87, 94, 125, 255], "132": [6, 6, 6, 255], "133": [69, 72, 186, 255], "134": [130, 62, 16, 255], "135": [22, 123, 163, 255], "136": [40, 86, 151, 255], "137": [183, 75, 15, 255], "138": [83, 80, 100, 255], "139": [115, 65, 68, 255], "140": [119, 108, 81, 255], "141": [59, 67, 71, 255], "142": [17, 172, 143, 255], "143": [90, 112, 105, 255], "144": [62, 28, 87, 255], "145": [0, 0, 0, 0], "146": [120, 59, 19, 255], "147": [59, 59, 59, 255], "148": [229, 218, 161, 255], "149": [73, 59, 50, 255], "150": [0, 0, 0, 0], "151": [102, 75, 34, 255], "152": [0, 0, 0, 0], "153": [255, 145, 79, 255], "154": [221, 79, 255, 255], "155": [240, 240, 247, 255], "156": [79, 255, 89, 255], "157": [154, 83, 49, 255], "158": [107, 49, 154, 255], "159": [85, 89, 118, 255], "160": [49, 154, 68, 255], "161": [154, 49, 77, 255], "162": [49, 49, 154, 255], "163": [154, 148, 49, 255], "164": [255, 79, 79, 255], "165": [79, 102, 255, 255], "166": [250, 255, 79, 255], "167": [70, 68, 51, 255], "168": [0, 0, 0, 0], "169": [5, 5, 5, 255], "170": [59, 39, 22, 255], "171": [59, 39, 22, 255], "172": [163, 96, 0, 255], "173": [94, 163, 46, 255], "174": [117, 32, 59, 255], "175": [20, 11, 203, 255], "176": [74, 69, 88, 255], "177": [60, 30, 30, 255], "178": [111, 117, 135, 255], "179": [111, 117, 135, 255], "180": [25, 23, 54, 255], "181": [25, 23, 54, 255], "182": [74, 71, 129, 255], "183": [111, 117, 135, 255], "184": [25, 23, 54, 255], "185": [52, 52, 52, 255], "186": [38, 9, 66, 255], "187": [149, 80, 51, 255], "188": [82, 63, 80, 255], "189": [65, 61, 77, 255], "190": [64, 65, 92, 255], "191": [76, 53, 84, 255], "192": [144, 67, 52, 255], "193": [149, 48, 48, 255], "194": [111, 32, 36, 255], "195": [147, 48, 55, 255], "196": [97, 67, 51, 255], "197": [112, 80, 62, 255], "198": [88, 61, 46, 255], "199": [127, 94, 76, 255], "200": [143, 50, 123, 255], "201": [136, 120, 131, 255], "202": [219, 92, 143, 255], "203": [113, 64, 150, 255], "204": [74, 67, 60, 255], "205": [60, 78, 59, 255], "206": [0, 54, 21, 255], "207": [74, 97, 72, 255], "208": [40, 37, 35, 255], "209": [77, 63, 66, 255], "210": [111, 6, 6, 255], "211": [88, 67, 59, 255], "212": [88, 87, 80, 255], "213": [71, 71, 67, 255], "214": [76, 52, 60, 255], "215": [89, 48, 59, 255], "216": [158, 100, 64, 255], "217": [62, 45, 75, 255], "218": [57, 14, 12, 255], "219": [96, 72, 133, 255], "220": [67, 55, 80, 255], "221": [64, 37, 29, 255], "222": [70, 51, 91, 255], "223": [51, 18, 4, 255], "224": [57, 55, 52, 255], "225": [68, 68, 68, 255], "226": [148, 138, 74, 255], "227": [95, 137, 191, 255], "228": [160, 2, 75, 255], "229": [100, 55, 164, 255], "230": [0, 117, 101, 255], "231": [255, 0, 255, 255], "232": [255, 0, 255, 255], "233": [255, 0, 255, 255], "234": [255, 0, 255, 255], "235": [255, 0, 255, 255], "236": [255, 0, 255, 255], "237": [255, 0, 255, 255], "238": [255, 0, 255, 255], "239": [255, 0, 255, 255], "240": [255, 0, 255, 255], "241": [255, 0, 255, 255], "242": [255, 0, 255, 255], "243": [255, 0, 255, 255], "244": [255, 0, 255, 255], "245": [255, 0, 255, 255], "246": [255, 0, 255, 255], "247": [255, 0, 255, 255], "248": [255, 0, 255, 255], "249": [255, 0, 255, 255], "250": [255, 0, 255, 255], "251": [255, 0, 255, 255], "252": [255, 0, 255, 255], "253": [255, 0, 255, 255], "254": [255, 0, 255, 255], "255": [255, 0, 255, 255], "256": [255, 0, 255, 255], "257": [255, 0, 255, 255], "258": [255, 0, 255, 255], "259": [255, 0, 255, 255], "260": [255, 0, 255, 255], "261": [255, 0, 255, 255], "262": [255, 0, 255, 255], "263": [255, 0, 255, 255], "264": [255, 0, 255, 255], "265": [255, 0, 255, 255], "266": [255, 0, 255, 255], "267": [255, 0, 255, 255], "268": [255, 0, 255, 255], "269": [255, 0, 255, 255], "270": [255, 0, 255, 255], "271": [255, 0, 255, 255], "272": [255, 0, 255, 255], "273": [255, 0, 255, 255], "274": [255, 0, 255, 255], "275": [255, 0, 255, 255], "276": [255, 0, 255, 255], "277": [255, 0, 255, 255], "278": [255, 0, 255, 255], "279": [255, 0, 255, 255], "280": [255, 0, 255, 255], "281": [255, 0, 255, 255], "282": [255, 0, 255, 255], "283": [255, 0, 255, 255], "284": [255, 0, 255, 255], "285": [255, 0, 255, 255], "286": [255, 0, 255, 255], "287": [255, 0, 255, 255], "288": [255, 0, 255, 255], "289": [255, 0, 255, 255], "290": [255, 0, 255, 255], "291": [255, 0, 255, 255], "292": [255, 0, 255, 255], "293": [255, 0, 255, 255], "294": [255, 0, 255, 255], "295": [255, 0, 255, 255], "296": [255, 0, 255, 255], "297": [255, 0, 255, 255], "298": [255, 0, 255, 255], "299": [255, 0, 255, 255], "300": [255, 0, 255, 255], "301": [255, 0, 255, 255], "302": [255, 0, 255, 255], "303": [255, 0, 255, 255], "304": [255, 0, 255, 255], "305": [255, 0, 255, 255], "306": [255, 0, 255, 255], "307": [255, 0, 255, 255], "308": [255, 0, 255, 255], "309": [255, 0, 255, 255], "310": [255, 0, 255, 255], "311": [255, 0, 255, 255], "312": [255, 0, 255, 255], "313": [255, 0, 255, 255], "314": [255, 0, 255, 255], "315": [255, 0, 255, 255]}, "Globals": {"Space": [51, 102, 153, 255], "Sky": [155, 209, 255, 255], "Earth": [84, 57, 42, 255], "Rock": [72, 64, 57, 255], "Hell": [51, 0, 0, 255], "Lava": [255, 30, 0, 240], "Honey": [255, 172, 0, 240], "Water": [0, 12, 255, 128], "Wire": [255, 0, 0, 112], "Wire1": [0, 0, 255, 112], "Wire2": [0, 255, 0, 112], "Wire3": [255, 255, 0, 112]}, "Paints": {"0": [0, 0, 0, 0], "1": [255, 0, 0, 255], "2": [255, 127, 0, 255], "3": [255, 255, 0, 255], "4": [127, 255, 0, 255], "5": [0, 255, 0, 255], "6": [0, 255, 127, 255], "7": [0, 255, 255, 255], "8": [0, 127, 255, 255], "9": [0, 0, 255, 255], "10": [127, 0, 255, 255], "11": [255, 0, 255, 255], "12": [255, 0, 127, 255], "13": [255, 0, 0, 255], "14": [255, 127, 0, 255], "15": [255, 255, 0, 255], "16": [127, 255, 0, 255], "17": [0, 255, 0, 255], "18": [0, 255, 127, 255], "19": [0, 255, 255, 255], "20": [0, 127, 255, 255], "21": [0, 0, 255, 255], "22": [127, 0, 255, 255], "23": [255, 0, 255, 255], "24": [255, 0, 127, 255], "25": [75, 75, 75, 255], "26": [255, 255, 255, 255], "27": [175, 175, 175, 255], "28": [255, 178, 125, 255], "29": [25, 25, 25, 255], "30": [200, 200, 200, 150], "31": [255, 255, 255, 255]}} \ No newline at end of file diff --git a/flyingsnake/get_colors.py b/flyingsnake/get_colors.py index 848222b..60e37a1 100644 --- a/flyingsnake/get_colors.py +++ b/flyingsnake/get_colors.py @@ -11,7 +11,7 @@ def get_block_colors_from_tedit_settings(tree: ElementTree) -> typing.Dict[int, for block in root: id_ = block.attrib["Id"] - color = block.attrib["Color"] + color = block.attrib["Color"] if "color" in block.attrib else "#00000000" alpha, red, green, blue = ImageColor.getrgb(color) colors[id_] = red, green, blue, alpha diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..2e25ad7 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,69 @@ +[[package]] +category = "main" +description = "Composable command line interface toolkit" +name = "click" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "7.1.2" + +[[package]] +category = "main" +description = "A Terraria world parser in Python" +name = "lihzahrd" +optional = false +python-versions = ">=3.6,<4.0" +version = "2.0.0a1" + +[[package]] +category = "main" +description = "Python Imaging Library (Fork)" +name = "pillow" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "6.2.2" + +[metadata] +content-hash = "5ea328722a25ebd42b3ccd900143ad2db3c94feda34c89cc5e680add291dbeb5" + python-versions = "^3.6" + +[metadata.files] +click = [ + {file = "click-7.1.2-py2.py3-none-any.whl", hash = "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"}, + {file = "click-7.1.2.tar.gz", hash = "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"}, +] +lihzahrd = [ + {file = "lihzahrd-2.0.0a1-py3-none-any.whl", hash = "sha256:facda1e2e68d5d940183cc33dd0fc52840a7ec38a69ba7e5997553ff3360da9a"}, + {file = "lihzahrd-2.0.0a1.tar.gz", hash = "sha256:aed5e196ca9cb7c11ef559f3fc398f40c5c5001e6492a73c1ea5c19125ec1c2d"}, +] +pillow = [ + {file = "Pillow-6.2.2-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:834dd023b7f987d6b700ad93dc818098d7eb046bd445e9992b3093c6f9d7a95f"}, + {file = "Pillow-6.2.2-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:d3a98444a00b4643b22b0685dbf9e0ddcaf4ebfd4ea23f84f228adf5a0765bb2"}, + {file = "Pillow-6.2.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:2b4a94be53dff02af90760c10a2e3634c3c7703410f38c98154d5ce71fe63d20"}, + {file = "Pillow-6.2.2-cp27-cp27m-win32.whl", hash = "sha256:87ef0eca169f7f0bc050b22f05c7e174a65c36d584428431e802c0165c5856ea"}, + {file = "Pillow-6.2.2-cp27-cp27m-win_amd64.whl", hash = "sha256:cbd5647097dc55e501f459dbac7f1d0402225636deeb9e0a98a8d2df649fc19d"}, + {file = "Pillow-6.2.2-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:4adc3302df4faf77c63ab3a83e1a3e34b94a6a992084f4aa1cb236d1deaf4b39"}, + {file = "Pillow-6.2.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:e3a797a079ce289e59dbd7eac9ca3bf682d52687f718686857281475b7ca8e6a"}, + {file = "Pillow-6.2.2-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:bb7861e4618a0c06c40a2e509c1bea207eea5fd4320d486e314e00745a402ca5"}, + {file = "Pillow-6.2.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:535e8e0e02c9f1fc2e307256149d6ee8ad3aa9a6e24144b7b6e6fb6126cb0e99"}, + {file = "Pillow-6.2.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:bc149dab804291a18e1186536519e5e122a2ac1316cb80f506e855a500b1cdd4"}, + {file = "Pillow-6.2.2-cp35-cp35m-win32.whl", hash = "sha256:1a3bc8e1db5af40a81535a62a591fafdb30a8a1b319798ea8052aa65ef8f06d2"}, + {file = "Pillow-6.2.2-cp35-cp35m-win_amd64.whl", hash = "sha256:d6b4dc325170bee04ca8292bbd556c6f5398d52c6149ca881e67daf62215426f"}, + {file = "Pillow-6.2.2-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:43ef1cff7ee57f9c8c8e6fa02a62eae9fa23a7e34418c7ce88c0e3fe09d1fb38"}, + {file = "Pillow-6.2.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:900de1fdc93764be13f6b39dc0dd0207d9ff441d87ad7c6e97e49b81987dc0f3"}, + {file = "Pillow-6.2.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:92b83b380f9181cacc994f4c983d95a9c8b00b50bf786c66d235716b526a3332"}, + {file = "Pillow-6.2.2-cp36-cp36m-win32.whl", hash = "sha256:00e0bbe9923adc5cc38a8da7d87d4ce16cde53b8d3bba8886cb928e84522d963"}, + {file = "Pillow-6.2.2-cp36-cp36m-win_amd64.whl", hash = "sha256:5ccfcb0a34ad9b77ad247c231edb781763198f405a5c8dc1b642449af821fb7f"}, + {file = "Pillow-6.2.2-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:5dcbbaa3a24d091a64560d3c439a8962866a79a033d40eb1a75f1b3413bfc2bc"}, + {file = "Pillow-6.2.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:6e2a7e74d1a626b817ecb7a28c433b471a395c010b2a1f511f976e9ea4363e64"}, + {file = "Pillow-6.2.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:c424d35a5259be559b64490d0fd9e03fba81f1ce8e5b66e0a59de97547351d80"}, + {file = "Pillow-6.2.2-cp37-cp37m-win32.whl", hash = "sha256:aa4792ab056f51b49e7d59ce5733155e10a918baf8ce50f64405db23d5627fa2"}, + {file = "Pillow-6.2.2-cp37-cp37m-win_amd64.whl", hash = "sha256:0d5c99f80068f13231ac206bd9b2e80ea357f5cf9ae0fa97fab21e32d5b61065"}, + {file = "Pillow-6.2.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:03457e439d073770d88afdd90318382084732a5b98b0eb6f49454746dbaae701"}, + {file = "Pillow-6.2.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:ccf16fe444cc43800eeacd4f4769971200982200a71b1368f49410d0eb769543"}, + {file = "Pillow-6.2.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:b72c39585f1837d946bd1a829a4820ccf86e361f28cbf60f5d646f06318b61e2"}, + {file = "Pillow-6.2.2-cp38-cp38-win32.whl", hash = "sha256:3ba7d8f1d962780f86aa747fef0baf3211b80cb13310fff0c375da879c0656d4"}, + {file = "Pillow-6.2.2-cp38-cp38-win_amd64.whl", hash = "sha256:3e81485cec47c24f5fb27acb485a4fc97376b2b332ed633867dc68ac3077998c"}, + {file = "Pillow-6.2.2-pp273-pypy_73-win32.whl", hash = "sha256:aa1b0297e352007ec781a33f026afbb062a9a9895bb103c8f49af434b1666880"}, + {file = "Pillow-6.2.2-pp373-pypy36_pp73-win32.whl", hash = "sha256:82859575005408af81b3e9171ae326ff56a69af5439d3fc20e8cb76cd51c8246"}, + {file = "Pillow-6.2.2.tar.gz", hash = "sha256:db9ff0c251ed066d367f53b64827cc9e18ccea001b986d08c265e53625dab950"}, +] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4eba702 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,41 @@ +[tool.poetry] + name = "flyingsnake" + version = "2.0.0a1" + description = "A Terraria world map renderer" + authors = ["Stefano Pigozzi "] + license = "AGPL-3.0+" + readme = "README.md" + homepage = "https://github.com/Steffo99/flyingsnake" + classifiers = [ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.7", + "License :: OSI Approved :: GNU Affero General Public License v3", + "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", + "Topic :: Games/Entertainment", + "Topic :: Multimedia :: Graphics", + "Typing :: Typed" + ] + +# Library dependencies +[tool.poetry.dependencies] + python = "^3.6" + click = "^7.0" + lihzahrd = "^2.0.0a1" + "Pillow" = "^6.1.0" + +# Development dependencies +[tool.poetry.dev-dependencies] + +# Optional dependencies +[tool.poetry.extras] + +# Scripts +[tool.poetry.scripts] +flyingsnake = 'flyingsnake.__main__:flyingsnake' + +# Used build system +[build-system] + requires = ["poetry>=0.12"] + build-backend = "poetry.masonry.api" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 045276b..0000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -click>=7.0 -lihzahrd>=1.0b1 -Pillow>=6.1.0 -pytest>=5.1.3 diff --git a/setup.py b/setup.py deleted file mode 100644 index bdfd4b2..0000000 --- a/setup.py +++ /dev/null @@ -1,38 +0,0 @@ -import setuptools - -with open("README.md", "r") as f: - long_description = f.read() - -setuptools.setup( - name="flyingsnake", - version="1.0", - author="Stefano Pigozzi", - author_email="ste.pigozzi@gmail.com", - description="A Terraria world map renderer", - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/Steffo99/flyingsnake", - packages=setuptools.find_packages(), - install_requires=[ - "click>=7.0", - "lihzahrd>=1.0b6", - "Pillow>=6.1.0" - ], - python_requires=">=3.7", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Environment :: Console", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3.7", - "License :: OSI Approved :: GNU Affero General Public License v3", - "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", - "Topic :: Games/Entertainment", - "Topic :: Multimedia :: Graphics", - "Typing :: Typed" - ], - entry_points={ - "console_scripts": [ - "flyingsnake = flyingsnake.__main__:flyingsnake" - ] - } -) diff --git a/tests/Small_Example.wld b/tests/Small_Example.wld deleted file mode 100644 index 5e3e552..0000000 --- a/tests/Small_Example.wld +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0cc308e0e6e0ea77cbb5789dada85c0b030ccbb3005274ed812044f72638ec88 -size 2812682 diff --git a/tests/Small_Example_full_prerendered.png b/tests/Small_Example_full_prerendered.png deleted file mode 100644 index 0efd205..0000000 --- a/tests/Small_Example_full_prerendered.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:739286eb174fea6a585a657b5f2531491ea0d6cd577b58df2ff5f4a50b3e798f -size 1604356 diff --git a/tests/Small_Example_partial_prerendered.png b/tests/Small_Example_partial_prerendered.png deleted file mode 100644 index a6b3a51..0000000 --- a/tests/Small_Example_partial_prerendered.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28fbe2b613ddb49e9bf63dc055a63a7f91323ff26fb74b3c810bf7166541f660 -size 17709 diff --git a/tests/test_flyingsnake.py b/tests/test_flyingsnake.py deleted file mode 100644 index 93f10c2..0000000 --- a/tests/test_flyingsnake.py +++ /dev/null @@ -1,35 +0,0 @@ -import pytest -import flyingsnake -from click.testing import CliRunner -from PIL import Image -import hashlib - - -# Main integration test -def test_full_render(): - runner = CliRunner() - result = runner.invoke(flyingsnake.flyingsnake, ["./tests/Small_Example.wld", "./tests/Small_Example_full.png"]) - assert result.exit_code == 0 - - with open("Small_Example_full_prerendered.png") as prerendered: - prerendered_hash = hashlib.sha1(prerendered) - with open("Small_Example_full.png") as created: - created_hash = hashlib.sha1(created) - assert prerendered_hash.hexdigest() == created_hash.hexdigest() - - -def test_partial_render(): - runner = CliRunner() - result = runner.invoke(flyingsnake.flyingsnake, - ["./tests/Small_Example.wld", "./tests/Small_Example_partial.png", - "-x", "100", - "-y", "600", - "-w", "321", - "-h", "123"]) - assert result.exit_code == 0 - - with open("Small_Example_partial_prerendered.png") as prerendered: - prerendered_hash = hashlib.sha1(prerendered) - with open("Small_Example_partial.png") as created: - created_hash = hashlib.sha1(created) - assert prerendered_hash.hexdigest() == created_hash.hexdigest()