Hello. I have been attempting for several days to get a rather extensive mod to work, and have become stuck on one issue.
I have isolated the part of the mod that is currently giving me trouble. Every time the mod loads, it reads: No such node (name). After looking up as much information as I can find, I cannot see what I'm doing wrong.
Any help is appreciated
Kind thanks,
Neomore
Help with this mod
Help with this mod
- Attachments
-
- 1_0.1.0.zip
- (12.92 KiB) Downloaded 112 times
Author of Advanced Factorio, a set of mods that add small bits of Advanced functionality to your gameplay
Check it out here: https://mods.factorio.com/user/neomore
Check it out here: https://mods.factorio.com/user/neomore
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: Help with this mod
i fixed boxed iron plates to work. name wasn't the issue. there was a few spots where you had {} where they shouldn't have been and missed an extra set around the ingredients.
there is also an issue with tech.lua file had the unlocked recipes not formatted correctly
unbox doesnt show up yet im not sure why but ill keeping looking at it later
Code: Select all
data:extend(
{
-- Iron Plates
{
type = "recipe",
name = "box-iron-plate",
enabled = false,
category = "advanced-crafting",
energy_required = 16,
ingredients = {{"iron-plate", 50}},
result = "box-iron-plate",
icon = "__1__/graphics/icons/box-iron-plate.png"
},
{
type = "recipe",
name = "unbox-iron-plate",
enabled = false,
category = "advanced-crafting",
energy_required = 8,
ingredients = {{"box-iron-plate", 1}},
result = "iron-plate",
result_count = 50,
icon = "__1__/graphics/icons/unbox-iron-plate.png",
order = "a1",
}
})
Code: Select all
data:extend(
{
{
type = "technology",
name = "storage-1",
icon = "__1__/graphics/icons/box.png",
effects =
{
{
type = "unlock-recipe",
recipe = "box-iron-plate",
},
{
type = "unlock-recipe",
recipe = "unbox-iron-plate",
}
},
prerequisites = {"automation-2"},
unit =
{
count = 100,
ingredients =
{
{"science-pack-1", 1},
{"science-pack-2", 1},
{"science-pack-3", 1},
},
time = 20
},
order = "z4",
},
})
Re: Help with this mod
I managed to get most everything working now. just have a bit of bug fixing to do. Thanks for the help
Author of Advanced Factorio, a set of mods that add small bits of Advanced functionality to your gameplay
Check it out here: https://mods.factorio.com/user/neomore
Check it out here: https://mods.factorio.com/user/neomore