Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 3.0.41
Date: ???
Changes:
- Fix crash in YAFC from smart farms having a field renamed
---------------------------------------------------------------------------------------------------
Version: 3.0.40
Date: 2025-12-28
Changes:
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pypostprocessing",
"version": "3.0.40",
"version": "3.0.41",
"factorio_version": "2.0",
"title": "Pyanodons Post-processing",
"author": "Pyanodon, Shadowglass, LambdaLemon",
Expand Down
4 changes: 2 additions & 2 deletions prototypes/yafc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if mods["pyalienlife"] then
local fluid = FLUID {
type = "fluid",
name = fluid_name,
localised_name = {"", "Smart farming with ", {"item-name." .. farm.seed}},
localised_name = {"", "Smart farming with ", {"item-name." .. farm.name}},
icon = resource.icon,
icon_size = resource.icon_size,
default_temperature = 15,
Expand All @@ -51,7 +51,7 @@ if mods["pyalienlife"] then

for _, recipe_data in ipairs(farm.recipes) do
local recipe = RECIPE(recipe_data.recipe_name)
recipe:add_ingredient {name = farm.seed, amount = 1, type = "item"}
recipe:add_ingredient {name = farm.name, amount = 1, type = "item"}
recipe.results[1] = {type = "fluid", name = fluid_name, amount = math.floor(recipe_data.crop_output) * 529}
end
end
Expand Down