Page 1 of 1
Help with this mod
Posted: Sun Jul 03, 2016 12:50 am
by Neomore
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
Re: Help with this mod
Posted: Sun Jul 03, 2016 10:59 am
by kingarthur
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.
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",
}
})
there is also an issue with tech.lua file had the unlocked recipes not formatted correctly
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",
},
})
unbox doesnt show up yet im not sure why but ill keeping looking at it later
Re: Help with this mod
Posted: Sun Jul 03, 2016 4:21 pm
by Neomore
I managed to get most everything working now. just have a bit of bug fixing to do. Thanks for the help