PY Functionnal - Discussion
Moderator: pyanodon
Re: PY Functionnal - Discussion
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?
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
Re: PY Functionnal - Discussion
so i did your requested recipes but now we cant produce oxygen in early game anymore
Re: PY Functionnal - Discussion
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?
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
Re: PY Functionnal - Discussion
well i dont have the recipe anymore to craft oxygen from water electrolysis
Re: PY Functionnal - Discussion
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
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 its strange, seriously.........
Ouch its already on mod portal, i'll go to watch on it...
Nickname on ModPortal - Naron79
Re: PY Functionnal - Discussion
https://mods.factorio.com/mod/pyfunctio ... ial_update
you mean this? yep, thats the i'm using (on 0.15 now again)
you mean this? yep, thats the i'm using (on 0.15 now again)
Re: PY Functionnal - Discussion
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
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...
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
Nickname on ModPortal - Naron79
Re: PY Functionnal - Discussion
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
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
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
Re: PY Functionnal - Discussion
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
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
Re: PY Functionnal - Discussion
how about 10 chlorine?
Re: PY Functionnal - Discussion
new version out go and check iff its working
Re: PY Functionnal - Discussion
New idea for recipe - getting acytelene from methane
In real life its - heating 2 methane = 1 acytelene + 2 hydrogen
In real life its - heating 2 methane = 1 acytelene + 2 hydrogen
Nickname on ModPortal - Naron79
Re: PY Functionnal - Discussion
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
thank you, this will be added on the next updatetiriscef 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")
Re: PY Functionnal - Discussion
Hey hey, and where is hot air? Methane must be heated in this recipechrisdec wrote: ↑Thu Aug 08, 2019 3:10 amthank you, this will be added on the next updatetiriscef 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")
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
Re: PY Functionnal - Discussion
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)
1) Ammonia heating - made in gas refinery (PY Petroleum Handling)
2) Hydrogen chloride electrolysis - made in electrolyzer (PY Raw Ores)
Nickname on ModPortal - Naron79
Re: PY Functionnal - Discussion
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?
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
Re: PY Functionnal - Discussion
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
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