Wood Gasification updated: Fix amount of wood per tree
This commit is contained in:
parent
5bdde48ef1
commit
c8959290c0
2 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
|||
"?hot-metals >= 1.1.0",
|
||||
"?lane-splitters",
|
||||
"?metal-and-stars",
|
||||
"?Wood_Gasification_updated",
|
||||
"?wood-industry",
|
||||
"?wood-military >= 2.3.3",
|
||||
"!apm_power_ldinc",
|
||||
|
|
|
@ -102,6 +102,7 @@ for _, tree in pairs(data.raw.tree) do
|
|||
local woodResult = { type = "item", name = "wood", amount = nil, amount_min = 2, amount_max = 10 }
|
||||
if minable.results and #woodResults > 0 then
|
||||
table.assign(woodResults[1], woodResult)
|
||||
woodResults[1].amount = nil
|
||||
else
|
||||
minable.results = { woodResult }
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue