nuggets = [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ] ingots = [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ] blocks = [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ] with open("metal-ban.zs", "w") as file: for nug, ing, blk in zip(nuggets, ingots, blocks): file.write(f"recipes.removeShaped({ing}, [[{nug},{nug},{nug}],[{nug},{nug},{nug}],[{nug},{nug},{nug}]]);\n") file.write(f"recipes.removeShaped({blk}, [[{ing},{ing},{ing}],[{ing},{ing},{ing}],[{ing},{ing},{ing}]]);\n") file.write(f"recipes.removeShapeless({nug}*9, [{ing}]);\n") file.write(f"recipes.removeShapeless({ing}*9, [{blk}]);\n")