Page 2 of 5

Re: PY Functionnal - Discussion

Posted: Thu Aug 01, 2019 10:05 am
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?

Re: PY Functionnal - Discussion

Posted: Sun Aug 04, 2019 5:31 am
by chrisdec
so i did your requested recipes but now we cant produce oxygen in early game anymore :roll:

Re: PY Functionnal - Discussion

Posted: Sun Aug 04, 2019 9:04 pm
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?

Re: PY Functionnal - Discussion

Posted: Sun Aug 04, 2019 10:18 pm
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

Re: PY Functionnal - Discussion

Posted: Mon Aug 05, 2019 3:27 pm
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 :)

Re: PY Functionnal - Discussion

Posted: Mon Aug 05, 2019 3:47 pm
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...

Re: PY Functionnal - Discussion

Posted: Mon Aug 05, 2019 4:44 pm
by TzwenxD
https://mods.factorio.com/mod/pyfunctio ... ial_update
you mean this? yep, thats the i'm using (on 0.15 now again)

Re: PY Functionnal - Discussion

Posted: Mon Aug 05, 2019 4:47 pm
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...

Re: PY Functionnal - Discussion

Posted: Tue Aug 06, 2019 10:16 am
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

Re: PY Functionnal - Discussion

Posted: Wed Aug 07, 2019 6:56 am
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

Re: PY Functionnal - Discussion

Posted: Wed Aug 07, 2019 7:24 am
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

Re: PY Functionnal - Discussion

Posted: Wed Aug 07, 2019 2:42 pm
by chrisdec
how about 10 chlorine?

Re: PY Functionnal - Discussion

Posted: Wed Aug 07, 2019 4:02 pm
by chrisdec
new version out go and check iff its working

Re: PY Functionnal - Discussion

Posted: Wed Aug 07, 2019 9:26 pm
by aklesey1
New idea for recipe - getting acytelene from methane
In real life its - heating 2 methane = 1 acytelene + 2 hydrogen

Re: PY Functionnal - Discussion

Posted: Wed Aug 07, 2019 10:39 pm
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")

Re: PY Functionnal - Discussion

Posted: Thu Aug 08, 2019 3:10 am
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

Re: PY Functionnal - Discussion

Posted: Thu Aug 08, 2019 8:48 am
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

Re: PY Functionnal - Discussion

Posted: Thu Aug 08, 2019 9:01 am
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)

Re: PY Functionnal - Discussion

Posted: Thu Aug 08, 2019 11:53 am
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?

Re: PY Functionnal - Discussion

Posted: Sat Aug 10, 2019 1:26 pm
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