Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for 0.17 #6

Open
lawl opened this issue Feb 27, 2019 · 1 comment
Open

Update for 0.17 #6

lawl opened this issue Feb 27, 2019 · 1 comment

Comments

@lawl
Copy link

lawl commented Feb 27, 2019

Hey, just starting a 0.17 run and had to patch this mod a bit to get it to load.

diff --git a/config.lua b/config.lua
index 5594f42..168202d 100644
--- a/config.lua
+++ b/config.lua
@@ -86,7 +86,7 @@ technology_time_to_research = 10

 -- The technology requires 1 of each science pack (red vial, blue vial and green vial)
 technology_required_materials = {
-       {"science-pack-1", 1},
-       {"science-pack-2", 1},
-       {"science-pack-3", 1}
-}
\ No newline at end of file
+       {"automation-science-pack", 1},
+       {"logistic-science-pack", 1},
+       {"chemical-science-pack", 1}
+}
diff --git a/info.json b/info.json
index b96ca55..3a845e3 100644
--- a/info.json
+++ b/info.json
@@ -1,13 +1,13 @@
 {
    "name": "specialized_refineries",
    "version": "1.4.0",
-   "factorio_version": "0.16",
+   "factorio_version": "0.17",
    "title": "Specialized Oil Refineries",
    "author": "Walter, Exclusive-IT.nl",
    "contact": "https://mods.factorio.com/mods/walter/specialized_refineries",
    "homepage": "https://mods.factorio.com/mods/walter/specialized_refineries",
    "description": "Process crude oil into a single product in specialized refineries.",
    "dependencies": [
-   "base >= 0.16"
+   "base >= 0.17"
   ]
 }
diff --git a/prototypes/item.lua b/prototypes/item.lua
index 64096b6..a88a942 100644
--- a/prototypes/item.lua
+++ b/prototypes/item.lua
@@ -5,7 +5,6 @@ data:extend(
     name = "specialized-refinery",
     icon = SR_G_ENTITY_ICON,
     icon_size = 32,
-    flags = {"goes-to-quickbar"},
     subgroup = "production-machine",
     order = "e[refinery]",
     place_result = "specialized-refinery",

The goes-to-quickbar flag doesn't seem to exist anymore or has been renamed? I'm not very familiar with factorio modding, so I've just removed it because it doesn't seem like a big deal. And science packs have been renamed so I've fixed up their names.

I haven't playtested this yet, so if I run into issues while playing, I'll update this.

@lawl
Copy link
Author

lawl commented Mar 2, 2019

Built a few factories with this patch now and everything seems to work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant