Hello guys,
first: Sorry about my bad English. I'm still learning this language.
Here is my Problem:
I'm trying to mod a Mod, named MK-Mod. In future the mod should add Machines, like Solar Panel MK2, -MK3,....
Now I have a Problem. I've already began with this work, and started adding Solar-Panel-MK2, but when I open Factorio, and go into a game, I can't craft this item. I can only see it, if I want to set a filter to the logistic.
If you don't understand the question, please ask me, and then i will try to descripe it more clearly.
I hope you can help me.
Fazzel
Here is the "Mod":
Can not craft the Item I modded
Re: Can not craft the Item I modded
Well the first thing I see (or do not see technically) is that you have the recipe for solar-panel-MK2 set to be disabled (enabled=false) and you have no Technology prototype to enable (unlock) it. You can set enabled=true (or delete that line entirely since it will default to true) if you do not want to have to research it, otherwise create a technology prototype like the one below:
After that technology is researched the item should be available for crafting. Of course you'll also need a locale name/description for the Technology.
Hope that helps
Code: Select all
data:extend(
{
{
type = "technology",
name = "solar-energy-2",
icon = "__base__/graphics/technology/solar-energy.png",
effects =
{
{
type = "unlock-recipe",
recipe = "solar-panel-MK2"
},
},
prerequisites = {"solar-energy"},
unit =
{
count = 20,
ingredients = {{"science-pack-1", 10}},
time = 5
},
order = "a-h-c-a"
}
)}
Hope that helps

<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me

Or drop into #factorio on irc.esper.net