Skip to content

Commit

Permalink
fixed steel smelting 2 could not be researched without manganese present
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelySanta committed Aug 20, 2020
1 parent bbc2ef9 commit 3583a8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions angelssmelting/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Date: 20.08.2020
Changes:
- Updated to base game 1.0
- Mold creation now use a resin dummy instead of the iron motor casing (356)
Bugfixes:
- Fixed steel smelting 2 could not be researched in some cases
---------------------------------------------------------------------------------------------------
Version: 0.6.10
Date: 17.07.2020
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ if angelsmods.trigger.smelting_products["steel"].ingot then
)
end

if not angelsmods.trigger.smelting_products["silicon"] then
if (not angelsmods.trigger.smelting_products["silicon"] ) or
(not angelsmods.trigger.smelting_products["silicon"].ingot) then
OV.remove_prereq("angels-steel-smelting-2", "angels-silicon-smelting-1")
end

if not angelsmods.trigger.smelting_products["manganese"] then
if (not angelsmods.trigger.smelting_products["manganese"] ) or
(not angelsmods.trigger.smelting_products["manganese"].ingot) then
OV.remove_prereq("angels-steel-smelting-2", "angels-manganese-smelting-1")
end

Expand Down

0 comments on commit 3583a8b

Please sign in to comment.