mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 11:53:46 +01:00
Converter: Add mcl_supplemental support
This commit is contained in:
parent
14578baec1
commit
6a8cf24100
@ -898,3 +898,7 @@ Source path,Source file,Target path,Target file,xs,ys,xl,yl,xt,yt,Blacklisted?
|
|||||||
/assets/minecraft/textures/blocks,endframe_side.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_endframe_side.png,,,,,,,
|
/assets/minecraft/textures/blocks,endframe_side.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_endframe_side.png,,,,,,,
|
||||||
/assets/minecraft/textures/blocks,endframe_eye.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_endframe_eye.png,,,,,,,
|
/assets/minecraft/textures/blocks,endframe_eye.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_endframe_eye.png,,,,,,,
|
||||||
/assets/minecraft/textures/blocks,end_stone.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_endframe_bottom.png,,,,,,,
|
/assets/minecraft/textures/blocks,end_stone.png,/mods/ITEMS/mcl_portals/textures,mcl_portals_endframe_bottom.png,,,,,,,
|
||||||
|
/assets/minecraft/textures/blocks,red_nether_brick.png,,mcl_supplemental_fence_red_nether_brick.png,,,,,,,
|
||||||
|
/assets/minecraft/textures/blocks,red_nether_brick.png,,mcl_supplemental_fence_gate_red_nether_brick.png,,,,,,,
|
||||||
|
/assets/minecraft/textures/blocks,nether_brick.png,,mcl_supplemental_fence_gate_nether_brick.png,,,,,,,
|
||||||
|
/assets/minecraft/textures/blocks,stonebrick_carved.png,,mcl_supplemental_stonebrick_carved_slab.png,,,,,,,
|
||||||
|
|
@ -160,6 +160,13 @@ def convert_textures():
|
|||||||
# Skip blacklisted files
|
# Skip blacklisted files
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if make_texture_pack == False and dst_dir == "":
|
||||||
|
# If destination dir is empty, this texture is not supposed to be used in MCL2
|
||||||
|
# (but maybe an external mod). It should only be used in texture packs.
|
||||||
|
# Otherwise, it must be ignored.
|
||||||
|
# Example: textures for mcl_supplemental
|
||||||
|
continue
|
||||||
|
|
||||||
src_file = base_dir + src_dir + "/" + src_filename # source file
|
src_file = base_dir + src_dir + "/" + src_filename # source file
|
||||||
src_file_exists = os.path.isfile(src_file)
|
src_file_exists = os.path.isfile(src_file)
|
||||||
dst_file = target_dir(dst_dir) + "/" + dst_filename # destination file
|
dst_file = target_dir(dst_dir) + "/" + dst_filename # destination file
|
||||||
|
Loading…
Reference in New Issue
Block a user