0
0
Fork 0

Texture Converter: Add description.txt

This commit is contained in:
Wuzzy 2019-02-07 21:24:19 +01:00
parent 058cb2f1ee
commit 729c176ff4
1 changed files with 5 additions and 0 deletions

View File

@ -375,6 +375,11 @@ def convert_textures():
colorize(GRASS, tex_dir+"/blocks/grass_top.png", o[0], str(PXSIZE), target_dir("/mods/ITEMS/mcl_core/textures")+"/default_"+o[2]+".png")
colorize_alpha(GRASS, tex_dir+"/blocks/grass_side_overlay.png", o[0], str(PXSIZE), target_dir("/mods/ITEMS/mcl_core/textures")+"/default_"+o[2]+"_side.png")
# Create description file
description = "Automatically converted Minecraft texture pack from MineClone 2 Texture Converter.\nSize: "+str(PXSIZE)+"px×"+str(PXSIZE)+"px"
description_file = open(target_dir("/") + "/description.txt", "w")
description_file.write(description)
description_file.close()
print("Textures conversion COMPLETE!")
if failed_conversions > 0: