mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Texture Converter: Add description.txt
This commit is contained in:
parent
058cb2f1ee
commit
729c176ff4
1 changed files with 5 additions and 0 deletions
|
@ -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(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")
|
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!")
|
print("Textures conversion COMPLETE!")
|
||||||
if failed_conversions > 0:
|
if failed_conversions > 0:
|
||||||
|
|
Loading…
Reference in a new issue