Skip to content

Commit

Permalink
added missing compressed hydrogen barrel (pyanodon/pybugreports#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Aug 19, 2023
1 parent c4ea210 commit 62df254
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions prototypes/recipes/fuel-canister-recipes.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local Skipped_fluids =
{
hydrogen = true
}
local skipped_fluids = {
hydrogen = true,
['pressured-hydrogen'] = true
}

RECIPE {
type = "recipe",
Expand All @@ -23,7 +23,7 @@ RECIPE {
}:add_unlock("plastics")

for f, fluid in pairs(data.raw.fluid) do
if fluid.fuel_value ~= nil and Skipped_fluids[fluid.name] ~= true and fluid.auto_barrel ~= false then
if fluid.fuel_value and not skipped_fluids[fluid.name] and fluid.auto_barrel ~= false then

local fluid_icon = table.deepcopy(fluid.icons) or {{icon = fluid.icon}}
-- Apply to each layer
Expand Down

0 comments on commit 62df254

Please sign in to comment.