Skip to content

Commit

Permalink
Changes for Mad Clowns
Browse files Browse the repository at this point in the history
Pezzawinkle/MadClowns#45

Iron and Steel Casting can be enabled without all the other ores. Don't force enable them.
  • Loading branch information
KiwiHawk committed Feb 9, 2024
1 parent 280a8a1 commit 17b9b0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
1 change: 1 addition & 0 deletions angelsrefining/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ angelsmods.functions.TNT = require("prototypes.tips-and-tricks-functions")

--TRIGGER CHECKS
angelsmods.trigger = angelsmods.trigger or {}
angelsmods.trigger.refinery_products = {}
angelsmods.trigger.enable_hq_graphics = mods["reskins-angels"] and true or settings.startup["angels-hq-graphics"].value
local aeab = settings.startup["angels-enable-auto-barreling"].value
angelsmods.trigger.enable_auto_barreling = (aeab == "Enabled+Hidden" or aeab == "Enabled+Shown") and true or false
Expand Down
15 changes: 0 additions & 15 deletions angelssmelting/data-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ if angelsmods.trigger.smelting_products["steel"].rod then
end
if angelsmods.trigger.smelting_products["steel"].plate then
angelsmods.trigger.smelting_products["steel"].ingot = true
if not angelsmods.functions.is_special_vanilla() then
angelsmods.trigger.smelting_products["silicon"].ingot = true
angelsmods.trigger.smelting_products["manganese"].ingot = true
angelsmods.trigger.smelting_products["cobalt"].ingot = true
angelsmods.trigger.smelting_products["nickel"].ingot = true
angelsmods.trigger.smelting_products["chrome"].ingot = true
angelsmods.trigger.smelting_products["tungsten"].powder = true
end
end
if angelsmods.trigger.smelting_products["steel"].powder then
angelsmods.trigger.smelting_products["steel"].ingot = true
Expand Down Expand Up @@ -142,13 +134,6 @@ if angelsmods.trigger.smelting_products["iron"].rod then
end
if angelsmods.trigger.smelting_products["iron"].plate then
angelsmods.trigger.smelting_products["iron"].ingot = true
if not angelsmods.functions.is_special_vanilla() then
angelsmods.trigger.smelting_products["manganese"].ingot = true
angelsmods.trigger.smelting_products["silicon"].ingot = true
angelsmods.trigger.smelting_products["cobalt"].ingot = true
angelsmods.trigger.smelting_products["nickel"].ingot = true
angelsmods.trigger.smelting_products["chrome"].ingot = true
end
end
--lead
if angelsmods.trigger.smelting_products["lead"].powder then
Expand Down

0 comments on commit 17b9b0e

Please sign in to comment.