From 31cf00369231b4242f358605f910b4b166b21985 Mon Sep 17 00:00:00 2001 From: hkc Date: Wed, 22 May 2024 13:04:44 +0300 Subject: [PATCH] Now it finally works --- make.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make.py b/make.py index 33ffbc8..0f1addd 100644 --- a/make.py +++ b/make.py @@ -189,13 +189,13 @@ async def main(): for color in GLASS_COLORS: out_path = GLASS_OUTPUT_PATH / color out_path.mkdir(exist_ok=True) - with (out_path / "glass.properties").open("w") as fp: - texture_name = f"{color}_greenhouse_glass" + texture_name = f"{color}_greenhouse_glass" + with (out_path / f"{texture_name}.properties").open("w") as fp: fp.write("method=ctm\n") - fp.write(f"matchBlocks=seasonextras:{texture_name}\n") + fp.write(f"matchBlocks=seasonsextras:{texture_name}\n") fp.write(f"tiles=0-46\n") fp.write(f"connect=block\n") - fp.write(f"resourceCondition=textures/block/{texture_name}.png\n") + fp.write(f"resourceCondition=seasonextras:textures/block/{texture_name}.png\n") with Image.open(GLASS_CACHE_SEAMLESS / f"{color}.png") as glass: for i in range(47): ctm = Image.composite(border_texture, glass, ctm_list[i])