diff --git a/data-final-fixes.lua b/data-final-fixes.lua new file mode 100644 index 0000000..075a915 --- /dev/null +++ b/data-final-fixes.lua @@ -0,0 +1,13 @@ +require("factsheet") + +if settings.startup["adamo-nuclear-recipe-trolling"].value then + for _,recipe in pairs(data.raw.recipe) do + if recipe_uses(recipe,"uranium-238") then + replace_in_recipe_io( + recipe, + "uranium-238", + "adamo-nuclear-DU-oxide" + ) + end + end +end \ No newline at end of file diff --git a/settings.lua b/settings.lua new file mode 100644 index 0000000..24d7a75 --- /dev/null +++ b/settings.lua @@ -0,0 +1,15 @@ +data:extend({ + { + name = "adamo-nuclear-recipe-trolling", + type = "bool-setting", + setting_type = "startup", + default_value = true, + order = "a" + },{ + name = "adamo-nuclear-uranium-belt-recipe-override", + type = "bool-setting", + setting_type = "startup", + default_value = true, + order = "b" + } +}) \ No newline at end of file