PY Functionnal - Discussion

pyanodon's mods are here

Moderator: pyanodon

aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

Donno wjat to answer to u about hot air count
MAy be u can look on hot air usage in PY Petroleum Handling and take example of using from its recipes?
Nickname on ModPortal - Naron79
chrisdec
Fast Inserter
Fast Inserter
Posts: 233
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: PY Functionnal - Discussion

Post by chrisdec »

so i did your requested recipes but now we cant produce oxygen in early game anymore :roll:
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

Sorry why u talking abot oxygen, chrisdec?
Water electrolysis is quite an effective method of extracting oxygen, and I would not say that it isn't available early
What's the problem?
Nickname on ModPortal - Naron79
chrisdec
Fast Inserter
Fast Inserter
Posts: 233
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: PY Functionnal - Discussion

Post by chrisdec »

aklesey1 wrote: Sun Aug 04, 2019 9:04 pm Sorry why u talking abot oxygen, chrisdec?
Water electrolysis is quite an effective method of extracting oxygen, and I would not say that it isn't available early
What's the problem?
well i dont have the recipe anymore to craft oxygen from water electrolysis
TzwenxD
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun Sep 18, 2016 1:49 pm
Contact:

Re: PY Functionnal - Discussion

Post by TzwenxD »

can confirme this, both normal eletroliser recies got lost. i patched PY functional Unofficial back to 1.15 and now its working again :)
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

TzwenxD wrote: Mon Aug 05, 2019 3:27 pm can confirme this, both normal eletroliser recies got lost. i patched PY functional Unofficial back to 1.15 and now its working again :)
Hi TzwenxD , are u tested new PY Functional from chrisdec and immortal_sniper1?
Heh iw want to look at that complicated code, and why it became complicated so these guys lost these recipes for oxygen :D its strange, seriously.........
Ouch its already on mod portal, i'll go to watch on it...
Nickname on ModPortal - Naron79
TzwenxD
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun Sep 18, 2016 1:49 pm
Contact:

Re: PY Functionnal - Discussion

Post by TzwenxD »

https://mods.factorio.com/mod/pyfunctio ... ial_update
you mean this? yep, thats the i'm using (on 0.15 now again)
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

Mmm pepole... i guess may be in this mod must be migration script to reset recipes lile it making pyanodon in his mod when new version is out
Like this

Code: Select all

 game.reload_script()

for _,player in pairs(game.players) do
   player.force.reset_recipes()
   player.force.reset_technologies()
   player.force.reset_technology_effects()
end 
And may be there're must be dependency from - https://mods.factorio.com/mod/stdlib - Factorio standard library mod? Second assumption may be wrong but may be...
Nickname on ModPortal - Naron79
chrisdec
Fast Inserter
Fast Inserter
Posts: 233
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: PY Functionnal - Discussion

Post by chrisdec »

I will add stdlib to be depended,
Also im trying some things in order to get both recipe back for oxigen and the recipe witch is using saline water in electrolizers
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

chrisdec wrote: Tue Aug 06, 2019 10:16 am I will add stdlib to be depended,
Also im trying some things in order to get both recipe back for oxigen and the recipe witch is using saline water in electrolizers
OMG recipe for getting chlorine from saline water is gone too...
I think the crux of the problem is easier than we think because we just missed something that underlies these two recipes with common water and saline water electrolysis

Some recipes in code have an option for the final product to be designated as the main one, maybe there is a conflict in the recpts that are hidden from this option?
In-gam name of recipes looks strange, and in code there're simple name of one of resources which we can get
Nickname on ModPortal - Naron79
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

Yes!!! It working now
I changed name of recipes for ammonia heating and hydrogen chloride electrolysis, and i deleted string which means main product in recipes
We just need to add locale filesm let it be on english for now

And i'm looking on values in recipes and it's need to be balanced, explanation:
1) Too many chlorine from hydrogen chloride, chlorine to correspond with hydrogen chloride getting in PY mods, i just wnat to respect work of pyanodon and nexela and kingarthur
2) Ammonia heating looks more or less good, but may be need to change values

Let these recipes be more close to realism and we can have some loses when processing ammonia and ydrogen chloride, i'll think about values and will write later
Nickname on ModPortal - Naron79
chrisdec
Fast Inserter
Fast Inserter
Posts: 233
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: PY Functionnal - Discussion

Post by chrisdec »

how about 10 chlorine?
chrisdec
Fast Inserter
Fast Inserter
Posts: 233
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: PY Functionnal - Discussion

Post by chrisdec »

new version out go and check iff its working
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

New idea for recipe - getting acytelene from methane
In real life its - heating 2 methane = 1 acytelene + 2 hydrogen
Nickname on ModPortal - Naron79
User avatar
tiriscef
Fast Inserter
Fast Inserter
Posts: 101
Joined: Thu Mar 28, 2019 8:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by tiriscef »

This is how I would implement it:

Code: Select all

RECIPE {
    type = "recipe",
    name = "methane-light-arc-pyrolisis",
    category = "eaf",
    enabled = false,
    energy_required = 3,
    ingredients = {
        {type = "fluid", name = "methane", amount = 100}
    },
    results = {
        {type = "fluid", name = "acetylene", amount = 50},
        {type = "fluid", name = "hydrogen", amount = 100}
    },
    main_product = "acetylene",
    order = "z-[acetylene2]"
}:add_unlock("coal-processing-2")
chrisdec
Fast Inserter
Fast Inserter
Posts: 233
Joined: Fri May 27, 2016 7:50 pm
Contact:

Re: PY Functionnal - Discussion

Post by chrisdec »

tiriscef wrote: Wed Aug 07, 2019 10:39 pm This is how I would implement it:

Code: Select all

RECIPE {
    type = "recipe",
    name = "methane-light-arc-pyrolisis",
    category = "eaf",
    enabled = false,
    energy_required = 3,
    ingredients = {
        {type = "fluid", name = "methane", amount = 100}
    },
    results = {
        {type = "fluid", name = "acetylene", amount = 50},
        {type = "fluid", name = "hydrogen", amount = 100}
    },
    main_product = "acetylene",
    order = "z-[acetylene2]"
}:add_unlock("coal-processing-2")
thank you, this will be added on the next update
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

chrisdec wrote: Thu Aug 08, 2019 3:10 am
tiriscef wrote: Wed Aug 07, 2019 10:39 pm This is how I would implement it:

Code: Select all

RECIPE {
    type = "recipe",
    name = "methane-light-arc-pyrolisis",
    category = "eaf",
    enabled = false,
    energy_required = 3,
    ingredients = {
        {type = "fluid", name = "methane", amount = 100}
    },
    results = {
        {type = "fluid", name = "acetylene", amount = 50},
        {type = "fluid", name = "hydrogen", amount = 100}
    },
    main_product = "acetylene",
    order = "z-[acetylene2]"
}:add_unlock("coal-processing-2")
thank you, this will be added on the next update
Hey hey, and where is hot air? Methane must be heated in this recipe ;)
And why it must be done in electric arc furnace? It can be done in gas refinery

PY functional has dependecy from all py mods so all these recipes will work correctly with machines
Last edited by aklesey1 on Thu Aug 08, 2019 9:43 am, edited 1 time in total.
Nickname on ModPortal - Naron79
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

Some suggestions about recipes for ammonia heating and hydrogren chloride electrolysis
1) Ammonia heating - made in gas refinery (PY Petroleum Handling)
2) Hydrogen chloride electrolysis - made in electrolyzer (PY Raw Ores)
Nickname on ModPortal - Naron79
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

New idea for next recipe
Splitting Refined syngas to hydrogen and carbon dioxide
If we can split common syngas to hydrigen and carbon dioxide why not to split refined syngas
May be 150 syngas = 130 hydrogen + 20 carbon dioxde? But i donno may be we can get some another resources and may be that resources can be rare - any ideas?
Nickname on ModPortal - Naron79
aklesey1
Smart Inserter
Smart Inserter
Posts: 1862
Joined: Sun May 18, 2014 3:45 pm
Contact:

Re: PY Functionnal - Discussion

Post by aklesey1 »

Another idea for recipe
Making hydrazine from ammonia to get solid or rocket fuel
Obtaining hydrazine according to the method of Bayer

2 ammonia + 1 hydrogen peroxide = 1 hydrazine + 2 common water
I just donno which machine to use for it process
Nickname on ModPortal - Naron79
Post Reply

Return to “PyMods”