Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelySanta committed Sep 20, 2023
1 parent e0f2140 commit cc71dd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion angelspetrochem/prototypes/override/bobplates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ if mods["bobplates"] or mods["bobelectronics"] then
OV.global_replace_item({ "solid-resin" }, "resin")
angelsmods.functions.add_flag("solid-resin", "hidden")
move_item("resin", "petrochem-solids", "a[petrochem-solids]-b[resin]")
local resin_icon = mods["bobplates"] and "__bobplates__/graphics/icons/resin.png" or "__bobelectronics__/graphics/icons/resin.png"
local resin_icon = mods["bobplates"] and "__bobplates__/graphics/icons/resin.png"
or "__bobelectronics__/graphics/icons/resin.png"

OV.patch_recipes({
{
Expand Down
5 changes: 4 additions & 1 deletion angelssmelting/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ angelsmods.trigger.smelting_products["copper"].wire = true
--glass
angelsmods.trigger.smelting_products["glass"].plate = mods["bobplates"] and true or false
angelsmods.trigger.smelting_products["glass"].fibre = false
angelsmods.trigger.smelting_products["glass"].board = not angelsmods.functions.is_special_vanilla() and mods["bobelectronics"] and true or false
angelsmods.trigger.smelting_products["glass"].board = not angelsmods.functions.is_special_vanilla()
and mods["bobelectronics"]
and true
or false
--gold
angelsmods.trigger.smelting_products["gold"].plate = mods["bobplates"] and true or false
angelsmods.trigger.smelting_products["gold"].wire = angelsmods.trigger.smelting_products["gold"].plate
Expand Down

0 comments on commit cc71dd4

Please sign in to comment.