walter-exit / factorio_sr Goto Github PK
View Code? Open in Web Editor NEWSpecialized Oil Refineries mod for Factorio
License: Other
Specialized Oil Refineries mod for Factorio
License: Other
Ran the mod update and it crashes the game.
Attempted fresh install of mod and also crashed with same error message.
failed to load mods: specialized_refineris/data.lua:13:bad argument #1 to 'insert' (table expected, got nil)
this is what some one put on mods.factorio , i ran mod and got same error
i can't seem to add productivity modules to refineries, i had a look at the code and it should allow them i think, i may be wrong. Is this intentional i can add productivity modules to vanilla refineries, thanks
Can we have it? :)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.