Some github projects have badges that give you information about the project like number of open issues or number of users. The factorio mods page has an API where you can get some of this info. Using https://shields.io you can get badges from your mod page.
To use, replace YOUR-MOD with your mod ...
Search found 13 matches
- Tue Apr 24, 2018 12:18 am
- Forum: Modding discussion
- Topic: [Guide] Adding badges to a mod's github readme
- Replies: 2
- Views: 2054
- Wed Feb 07, 2018 6:22 pm
- Forum: Mods
- Topic: [MOD 0.16.x] Liquid Science
- Replies: 0
- Views: 976
[MOD 0.16.x] Liquid Science
Type: Mod
Name: Liquid Science
Description: In game, science packs look like they should be a liquid. This mod turns science into a liquid that you have to bottle before using them in a lab.
License: MIT
Download: https://mods.factorio.com/mod/liquid-science/downloads
Version: 0.1.6
Release: 11 ...
Name: Liquid Science
Description: In game, science packs look like they should be a liquid. This mod turns science into a liquid that you have to bottle before using them in a lab.
License: MIT
Download: https://mods.factorio.com/mod/liquid-science/downloads
Version: 0.1.6
Release: 11 ...
- Sun Jan 28, 2018 7:49 am
- Forum: Modding help
- Topic: data.raw["recipe"] does not exist
- Replies: 6
- Views: 2819
Re: data.raw["recipe"] does not exist
Thanks that fixed itNexela wrote:settings.lua is a special file ran in the settings stage which is before the data stage, Simply rename this file (and where it is required from) to something else.
- Sun Jan 28, 2018 7:03 am
- Forum: Modding help
- Topic: data.raw["recipe"] does not exist
- Replies: 6
- Views: 2819
Re: data.raw["recipe"] does not exist
Somewhere before the fluid code then you must be doing data.raw = {} ?
You will have to package everything up so we can take a look
data.raw is used in the following places in the entire project. The project also worked in 0.14:
enabled = data.raw["recipe"][name]["enabled"],
log(serpent ...
You will have to package everything up so we can take a look
data.raw is used in the following places in the entire project. The project also worked in 0.14:
enabled = data.raw["recipe"][name]["enabled"],
log(serpent ...
- Sun Jan 28, 2018 6:52 am
- Forum: Modding help
- Topic: data.raw["recipe"] does not exist
- Replies: 6
- Views: 2819
Re: data.raw["recipe"] does not exist
Post the whole code, or at least the whole code that adds the fluid.
parseColor = require("api.parse_color")
function addFluid(name,base_color,flow_color,icon)
data:extend({
{
type = "fluid",
name = name,
default_temperature = 0,
max_temperature = 0,
heat_capacity = "0KJ",
base_color ...
parseColor = require("api.parse_color")
function addFluid(name,base_color,flow_color,icon)
data:extend({
{
type = "fluid",
name = name,
default_temperature = 0,
max_temperature = 0,
heat_capacity = "0KJ",
base_color ...
- Sun Jan 28, 2018 6:03 am
- Forum: Modding help
- Topic: data.raw["recipe"] does not exist
- Replies: 6
- Views: 2819
data.raw["recipe"] does not exist
I'm working on a mod and it needs to get some recipes from the base game. It seems that doing data.raw["recipe"] returns nil and the only thing in data.raw is the one thing my mod managed to register before erroring.
data.raw:
0.697 Script @__modname__/api/filename.lua:4: {
fluid ...
data.raw:
0.697 Script @__modname__/api/filename.lua:4: {
fluid ...
- Fri Feb 24, 2017 3:58 pm
- Forum: Modding help
- Topic: Remove ore offset randomization
- Replies: 3
- Views: 1499
Re: Remove ore offset randomization
That made it look even worse:darkfrei wrote:Make tile pictures 32x32 seamless.
- Fri Feb 24, 2017 5:10 am
- Forum: Modding help
- Topic: Remove ore offset randomization
- Replies: 3
- Views: 1499
Remove ore offset randomization
I currently am making a mod that adds sand, a mineable resource on the ground. This works fine, except the sand texture gets randomized in its placement on the ground, making it not tile. Is there any way to fix this?
What I have:
http://i.imgur.com/gpgBVLN.png
What I want: (Notice how the ...
What I have:
http://i.imgur.com/gpgBVLN.png
What I want: (Notice how the ...
- Sun Feb 19, 2017 3:49 am
- Forum: Modding help
- Topic: Recipe is in crafting category but has a non-item product
- Replies: 6
- Views: 2281
Re: Custom fluid has unknown key
Unknown key means there's no locale (translation) for the thing giving the error text.
How can I fix this?
By adding the locale/en/locale.cfg file to your mod with the respective translations.
It appears this isn't actually the problem, the full error says "recipe is in crafting category but has ...
How can I fix this?
By adding the locale/en/locale.cfg file to your mod with the respective translations.
It appears this isn't actually the problem, the full error says "recipe is in crafting category but has ...
- Sun Feb 19, 2017 3:39 am
- Forum: Modding help
- Topic: Recipe is in crafting category but has a non-item product
- Replies: 6
- Views: 2281
Re: Custom fluid has unknown key
How can I fix this?Rseding91 wrote:Unknown key means there's no locale (translation) for the thing giving the error text.
- Sun Feb 19, 2017 3:35 am
- Forum: Modding help
- Topic: Recipe is in crafting category but has a non-item product
- Replies: 6
- Views: 2281
Recipe is in crafting category but has a non-item product
I am registering a fluid called science-red, however when I try to use it in a crafting recipe, it says that "Recipe is in crafting category but has a non-item product". I can use other items I created such as an inserter I made, however the fluid isn't registering or isn't working for some reason ...
- Wed Sep 21, 2016 10:42 pm
- Forum: Modding help
- Topic: Detecting when a custom inserter picks up an item
- Replies: 3
- Views: 1264
Re: Detecting when a custom inserter picks up an item
so... not yet?DaveMcW wrote:viewtopic.php?f=28&t=21753
- Wed Sep 21, 2016 10:01 pm
- Forum: Modding help
- Topic: Detecting when a custom inserter picks up an item
- Replies: 3
- Views: 1264
Detecting when a custom inserter picks up an item
I already have a custom inserter, and I want to know when it picks up an item so I can replace it with something else. How can I do this?