Can't help but feel I screwed something up...

pyanodon's mods are here

Moderator: pyanodon

Sir_Locomotive
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Jun 18, 2020 8:22 pm
Contact:

Re: Can't help but feel I screwed something up...

Post by Sir_Locomotive »

Well, here are my current Py mods, no updates available. Factorio version 0.17.79
py versions.PNG
py versions.PNG (18.29 KiB) Viewed 2603 times
Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Can't help but feel I screwed something up...

Post by Squelch »

Sir_Locomotive wrote: Mon Oct 19, 2020 9:31 pm Factorio version 0.17.79
I think that may be the problem. Any particular reason for not running the latest Factorio?

[Edit] Reason: Py followed the main Factorio development, and 0.18.xx series brought us many features and fixes that were taken advantage of. There's no back porting to older versions in Py, so if I'm correct, this explains the problems you are having. Factorio is now at version 1.0.0 ie final release, and we expect a 1.1.0 patch sometime in the near future for some further fixes and feature completion.

Here's what you should expect to see for Py suite of mods
Py suite.PNG
Py suite.PNG (107.13 KiB) Viewed 2596 times
Notes:
Alien Life brings a whole new set of recipes and structures. It is not obligatory.
The graphics have now been split into separate mods for ease of updating.
Versions are tied to the Factorio version, so while you have the latest for 0.17.xx, they are incomplete.
Factorio Version 0.18 and above is required for the latest Py mods.

I strongly suggest that you upgrade to Factorio 1.0.0 unless you have a particular reason to stay on 0.17. It is technically possible to have two different versions installed, but i would not recommend this path.
Sir_Locomotive
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Jun 18, 2020 8:22 pm
Contact:

Re: Can't help but feel I screwed something up...

Post by Sir_Locomotive »

It' be me again!
I cheated in enough Chemical science packs to be able to produce the nexelit to make chemical science packs, and make the ethylene glycol to mine the nexelit (in that order!) but no more.
I can't make ethylene glycol. It shows that it is made in a centrifugal pan according to what is it used for, but the crafting menu does not show that, and the pan's crafting menu says it can't be made it that machine.
I've had a look at the mod lua, and it looks okay to me? Does the fact that eth glycol is declared in pyPetroleum but the pan is declared in pyFusion mean anything?
I've updated all mods since my last post as suggested.
eth glycol a.PNG
eth glycol a.PNG (161.21 KiB) Viewed 2514 times
eth glycol b.PNG
eth glycol b.PNG (441.22 KiB) Viewed 2514 times
eth glycol c.PNG
eth glycol c.PNG (133.32 KiB) Viewed 2514 times
py versions.PNG
py versions.PNG (43.89 KiB) Viewed 2514 times

Code: Select all

RECIPE {
    type = "recipe",
    name = "ethylene-glycol",
    category = "pan", --pyro scrubber
    enabled = false,
    energy_required = 4,
    ingredients = {
        {type = "fluid", name = "slacked-lime", amount = 20},
        {type = "fluid", name = "chloroethanol", amount = 100},
        {type = "fluid", name = "water", amount = 100},
        {type = "item", name = "pure-sand", amount = 5}
    },
    results = {
        {type = "fluid", name = "ethylene-glycol", amount = 150},
    },
    main_product = "ethylene-glycol",
    subgroup = "py-petroleum-handling-fluids",
    order = "a"
}:add_unlock("petroleum-gas-mk02"):change_category("scrubber")

FLUID {
    type = "fluid",
    name = "ethylene-glycol",
    icon = "__pypetroleumhandlinggraphics__/graphics/icons/ethylene-glycol.png",
    icon_size = 32,
    default_temperature = 10, -- less than 15 = liquid / equal a 15 = gas
    base_color = {r = 0.290, g = 0.611, b = 0.721},
    flow_color = {r = 0.290, g = 0.611, b = 0.721},
    max_temperature = 100,
    gas_temperature = 15,
    pressure_to_speed_ratio = 0.4,
    flow_to_energy_ratio = 0.59,
    subgroup = "py-petroleum-handling-fluids",
    order = "c"
}
kingarthur
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Sun Jun 15, 2014 11:39 am
Contact:

Re: Can't help but feel I screwed something up...

Post by kingarthur »

Sir_Locomotive wrote: Fri Nov 06, 2020 1:19 am It' be me again!
I cheated in enough Chemical science packs to be able to produce the nexelit to make chemical science packs, and make the ethylene glycol to mine the nexelit (in that order!) but no more.
I can't make ethylene glycol. It shows that it is made in a centrifugal pan according to what is it used for, but the crafting menu does not show that, and the pan's crafting menu says it can't be made it that machine.
I've had a look at the mod lua, and it looks okay to me? Does the fact that eth glycol is declared in pyPetroleum but the pan is declared in pyFusion mean anything?
I've updated all mods since my last post as suggested.
eth glycol a.PNG
eth glycol b.PNG
eth glycol c.PNG
py versions.PNG

Code: Select all

RECIPE {
    type = "recipe",
    name = "ethylene-glycol",
    category = "pan", --pyro scrubber
    enabled = false,
    energy_required = 4,
    ingredients = {
        {type = "fluid", name = "slacked-lime", amount = 20},
        {type = "fluid", name = "chloroethanol", amount = 100},
        {type = "fluid", name = "water", amount = 100},
        {type = "item", name = "pure-sand", amount = 5}
    },
    results = {
        {type = "fluid", name = "ethylene-glycol", amount = 150},
    },
    main_product = "ethylene-glycol",
    subgroup = "py-petroleum-handling-fluids",
    order = "a"
}:add_unlock("petroleum-gas-mk02"):change_category("scrubber")

FLUID {
    type = "fluid",
    name = "ethylene-glycol",
    icon = "__pypetroleumhandlinggraphics__/graphics/icons/ethylene-glycol.png",
    icon_size = 32,
    default_temperature = 10, -- less than 15 = liquid / equal a 15 = gas
    base_color = {r = 0.290, g = 0.611, b = 0.721},
    flow_color = {r = 0.290, g = 0.611, b = 0.721},
    max_temperature = 100,
    gas_temperature = 15,
    pressure_to_speed_ratio = 0.4,
    flow_to_energy_ratio = 0.59,
    subgroup = "py-petroleum-handling-fluids",
    order = "c"
}
the issue is the pan doesnt have enough pipe connections for the number of fluids in the recipe not what mod its from. also you have both pyrawores graphics and pyalienlife graphics enabled when they dont do anything as you dont have pyrawores or pyalienlife mods turned on.
Sir_Locomotive
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Jun 18, 2020 8:22 pm
Contact:

Re: Can't help but feel I screwed something up...

Post by Sir_Locomotive »

kingarthur wrote: Fri Nov 06, 2020 3:22 am ...
the issue is the pan doesnt have enough pipe connections for the number of fluids in the recipe not what mod its from.
...
So is there a fix?

Code: Select all

local pipe_left = {
    north = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/top-left.png",
        priority = "low",
        width = 320,
        height = 336
    },
    south = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/bottom-right.png",
        priority = "high",
        width = 320,
        height = 336
    },
    east = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/right-top.png",
        priority = "high",
        width = 320,
        height = 336
    },
    west = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/left-bottom.png",
        priority = "high",
        width = 320,
        height = 336
    }
}

local pipe_right = {
    north = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/top-right.png",
        priority = "low",
        width = 320,
        height = 336
    },
    south = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/bottom-left.png",
        priority = "high",
        width = 320,
        height = 336
    },
    east = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/right-bottom.png",
        priority = "high",
        width = 320,
        height = 336
    },
    west = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/left-top.png",
        priority = "high",
        width = 320,
        height = 336
    }
}

RECIPE {
    type = "recipe",
    name = "centrifugal-pan-mk01",
    energy_required = 1,
    enabled = false,
    ingredients = {
        {"vacuum-pump-mk01", 3},
        {"mixer-mk01", 1},
        {"advanced-circuit", 25},
        {"steel-plate", 20},
        {"tailings-pond", 1},
        {"pipe", 40} --updated-bob titanium-pipe
    },
    results = {
        {"centrifugal-pan-mk01", 1}
    },
}

ITEM {
    type = "item",
    name = "centrifugal-pan-mk01",
    icon = "__pyfusionenergygraphics__/graphics/icons/centrifugal-pan-mk01.png",
	icon_size = 64,
    flags = {},
    subgroup = "py-fusion-buildings-mk01",
    order = "d",
    place_result = "centrifugal-pan-mk01",
    stack_size = 5
}

ENTITY {
    type = "assembling-machine",
    name = "centrifugal-pan-mk01",
    icon = "__pyfusionenergygraphics__/graphics/icons/centrifugal-pan-mk01.png",
	icon_size = 64,
    flags = {"placeable-neutral", "player-creation"},
    minable = {mining_time = 0.5, result = "centrifugal-pan-mk01"},
    fast_replaceable_group = "centrifugal-pan",
    max_health = 300,
    corpse = "big-remnants",
    dying_explosion = "medium-explosion",
    collision_box = {{-4.8, -4.8}, {4.8, 4.8}},
    selection_box = {{-5.0, -5.0}, {5.0, 5.0}},
    match_animation_speed_to_activity = false,
    module_specification = {
        module_slots = 1
    },
    allowed_effects = {"consumption", "speed", "productivity", "pollution"},
    crafting_categories = {"pan"},
    crafting_speed = 1,
    energy_source = {
        type = "electric",
        usage_priority = "secondary-input",
        emissions_per_minute = 0.06,
    },
    energy_usage = "480kW",
    ingredient_count = 6,
    animation = {
		layers = {
			{
			filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/off.png",
			width = 320,
			height = 328,
			frame_count = 1,
			--line_length = 10,
			--animation_speed = 1,
			shift = {0.02, -0.10}
			},
			{
			filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/off-mask.png",
			width = 320,
			height = 328,
			frame_count = 1,
			--line_length = 10,
			--animation_speed = 1,
			shift = {0.02, -0.10},
			tint = {r = 1.0, g = 1.0, b = 0.0, a = 1.0}
			}
		}
    },
    working_visualisations = {
        {
            north_position = {0.02, -0.22},
            west_position = {0.02, -0.22},
            south_position = {0.02, -0.22},
            east_position = {0.02, -0.22},
            animation = {
                filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/on.png",
                frame_count = 100,
                line_length = 10,
                width = 192,
                height = 192,
                animation_speed = 0.4
            }
        }
    },
    fluid_boxes = {
        {
            production_type = "input",
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", {2.5, 5.3}, {-1.5, -5.7}, {5.5, -2.5}, {-5.5, 2.4}, pipe_left),
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_area = 10,
            base_level = -1,
            pipe_connections = {{type = "input", position = {-2.5, -5.5}}}
        },
        {
            production_type = "output",
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_level = 1,
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", {2.5, 5.3}, {-1.5, -5.7}, {5.5, -2.5}, {-5.5, 2.4}, pipe_left),
            pipe_connections = {{type = "output", position = {2.5, 5.5}}}
        },
        {
            production_type = "input",
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", nil, {2.5, -5.7}, {5.5, 2.5}, {-5.5, -2.5}, pipe_right),
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_area = 10,
            base_level = -1,
            pipe_connections = {{type = "input", position = {2.5, -5.5}}}
        },
        {
            production_type = "output",
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_level = 1,
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", nil, {2.5, -5.7}, {5.5, 2.5}, {-5.5, -2.5}, pipe_right),
            pipe_connections = {{type = "output", position = {-2.5, 5.5}}}
        },
        off_when_no_fluid_recipe = true
    },
    vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65},
    working_sound = {
        sound = {filename = "__pyfusionenergygraphics__/sounds/centrifugal-pan.ogg"},
        idle_sound = {filename = "__pyfusionenergygraphics__/sounds/centrifugal-pan.ogg", volume = 0.65},
        apparent_volume = 2.5
    }
}
kingarthur
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Sun Jun 15, 2014 11:39 am
Contact:

Re: Can't help but feel I screwed something up...

Post by kingarthur »

Sir_Locomotive wrote: Fri Nov 06, 2020 3:33 am
kingarthur wrote: Fri Nov 06, 2020 3:22 am ...
the issue is the pan doesnt have enough pipe connections for the number of fluids in the recipe not what mod its from.
...
So is there a fix?

Code: Select all

local pipe_left = {
    north = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/top-left.png",
        priority = "low",
        width = 320,
        height = 336
    },
    south = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/bottom-right.png",
        priority = "high",
        width = 320,
        height = 336
    },
    east = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/right-top.png",
        priority = "high",
        width = 320,
        height = 336
    },
    west = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/left-bottom.png",
        priority = "high",
        width = 320,
        height = 336
    }
}

local pipe_right = {
    north = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/top-right.png",
        priority = "low",
        width = 320,
        height = 336
    },
    south = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/bottom-left.png",
        priority = "high",
        width = 320,
        height = 336
    },
    east = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/right-bottom.png",
        priority = "high",
        width = 320,
        height = 336
    },
    west = {
        filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/left-top.png",
        priority = "high",
        width = 320,
        height = 336
    }
}

RECIPE {
    type = "recipe",
    name = "centrifugal-pan-mk01",
    energy_required = 1,
    enabled = false,
    ingredients = {
        {"vacuum-pump-mk01", 3},
        {"mixer-mk01", 1},
        {"advanced-circuit", 25},
        {"steel-plate", 20},
        {"tailings-pond", 1},
        {"pipe", 40} --updated-bob titanium-pipe
    },
    results = {
        {"centrifugal-pan-mk01", 1}
    },
}

ITEM {
    type = "item",
    name = "centrifugal-pan-mk01",
    icon = "__pyfusionenergygraphics__/graphics/icons/centrifugal-pan-mk01.png",
	icon_size = 64,
    flags = {},
    subgroup = "py-fusion-buildings-mk01",
    order = "d",
    place_result = "centrifugal-pan-mk01",
    stack_size = 5
}

ENTITY {
    type = "assembling-machine",
    name = "centrifugal-pan-mk01",
    icon = "__pyfusionenergygraphics__/graphics/icons/centrifugal-pan-mk01.png",
	icon_size = 64,
    flags = {"placeable-neutral", "player-creation"},
    minable = {mining_time = 0.5, result = "centrifugal-pan-mk01"},
    fast_replaceable_group = "centrifugal-pan",
    max_health = 300,
    corpse = "big-remnants",
    dying_explosion = "medium-explosion",
    collision_box = {{-4.8, -4.8}, {4.8, 4.8}},
    selection_box = {{-5.0, -5.0}, {5.0, 5.0}},
    match_animation_speed_to_activity = false,
    module_specification = {
        module_slots = 1
    },
    allowed_effects = {"consumption", "speed", "productivity", "pollution"},
    crafting_categories = {"pan"},
    crafting_speed = 1,
    energy_source = {
        type = "electric",
        usage_priority = "secondary-input",
        emissions_per_minute = 0.06,
    },
    energy_usage = "480kW",
    ingredient_count = 6,
    animation = {
		layers = {
			{
			filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/off.png",
			width = 320,
			height = 328,
			frame_count = 1,
			--line_length = 10,
			--animation_speed = 1,
			shift = {0.02, -0.10}
			},
			{
			filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/off-mask.png",
			width = 320,
			height = 328,
			frame_count = 1,
			--line_length = 10,
			--animation_speed = 1,
			shift = {0.02, -0.10},
			tint = {r = 1.0, g = 1.0, b = 0.0, a = 1.0}
			}
		}
    },
    working_visualisations = {
        {
            north_position = {0.02, -0.22},
            west_position = {0.02, -0.22},
            south_position = {0.02, -0.22},
            east_position = {0.02, -0.22},
            animation = {
                filename = "__pyfusionenergygraphics__/graphics/entity/centrifugal-pan/on.png",
                frame_count = 100,
                line_length = 10,
                width = 192,
                height = 192,
                animation_speed = 0.4
            }
        }
    },
    fluid_boxes = {
        {
            production_type = "input",
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", {2.5, 5.3}, {-1.5, -5.7}, {5.5, -2.5}, {-5.5, 2.4}, pipe_left),
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_area = 10,
            base_level = -1,
            pipe_connections = {{type = "input", position = {-2.5, -5.5}}}
        },
        {
            production_type = "output",
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_level = 1,
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", {2.5, 5.3}, {-1.5, -5.7}, {5.5, -2.5}, {-5.5, 2.4}, pipe_left),
            pipe_connections = {{type = "output", position = {2.5, 5.5}}}
        },
        {
            production_type = "input",
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", nil, {2.5, -5.7}, {5.5, 2.5}, {-5.5, -2.5}, pipe_right),
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_area = 10,
            base_level = -1,
            pipe_connections = {{type = "input", position = {2.5, -5.5}}}
        },
        {
            production_type = "output",
            pipe_covers = DATA.Pipes.covers(false, true, true, true),
            base_level = 1,
            pipe_picture = DATA.Pipes.pictures("assembling-machine-2", nil, {2.5, -5.7}, {5.5, 2.5}, {-5.5, -2.5}, pipe_right),
            pipe_connections = {{type = "output", position = {-2.5, 5.5}}}
        },
        off_when_no_fluid_recipe = true
    },
    vehicle_impact_sound = {filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65},
    working_sound = {
        sound = {filename = "__pyfusionenergygraphics__/sounds/centrifugal-pan.ogg"},
        idle_sound = {filename = "__pyfusionenergygraphics__/sounds/centrifugal-pan.ogg", volume = 0.65},
        apparent_volume = 2.5
    }
}
several. we can move the recipe to a different building with more fluid boxes or add a fluid box to the pan or remove one of the fluids to make the recipe work. if you want to fix it for your self i would just remove the water from the recipe till we get it dealt with push out a patch for it.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3220
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Can't help but feel I screwed something up...

Post by BlueTemplar »

Sir_Locomotive wrote: Mon Oct 19, 2020 9:31 pm Well, here are my current Py mods, no updates available. Factorio version 0.17.79
py versions.PNG
I don't know what happened there exactly for you, but raw nexelit from tailings was already available as a recipe with py for the latest 0.16 version of factorio.
When you get these kind of recipe missing issues (often because of adding mods, or updating mods), try running this command :

Code: Select all

/c for _,player in pairs(game.players) do player.force.reset_recipes() player.force.reset_technologies() player.force.reset_technology_effects()end
BobDiggity (mod-scenario-pack)
Post Reply

Return to “PyMods”