/c for _,recipe in pairs (game.forces[1].recipes) do if not recipe.enabled then game.print({"",recipe.name," : ", recipe.localised_name}) end end
이파(dc8626)2024-08-17 17:59
답글
이러면 뜨긴할텐데 너무길어서 한눈에 안보일 수 있음
/c game.write_file("disabled.txt","",false) for _,recipe in pairs (game.forces[1].recipes) do if not recipe.enabled then game.write_file("disabled.txt",{"",recipe.name," : ", recipe.localised_name,"\n"},true) end end
쓰면 script-output폴더에 disabled.txt라는 파일로 내용이 저장됨
이파(dc8626)2024-08-17 18:03
답글
이파(dc8626)2024-08-17 18:03
답글
/c game.forces[1].recipes["원하는레시피"].enabled=true 쓰면 레시피가 활성화 될거임
/c for _,recipe in pairs (game.forces[1].recipes) do if not recipe.enabled then game.print({"",recipe.name," : ", recipe.localised_name}) end end
이러면 뜨긴할텐데 너무길어서 한눈에 안보일 수 있음 /c game.write_file("disabled.txt","",false) for _,recipe in pairs (game.forces[1].recipes) do if not recipe.enabled then game.write_file("disabled.txt",{"",recipe.name," : ", recipe.localised_name,"\n"},true) end end 쓰면 script-output폴더에 disabled.txt라는 파일로 내용이 저장됨
/c game.forces[1].recipes["원하는레시피"].enabled=true 쓰면 레시피가 활성화 될거임
콘솔 인거죠? - dc App