Skip to content
Draft
Show file tree
Hide file tree
Changes from 116 commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
c406eb2
Changed factorio version and added migration for stone-crushed
elvanaud May 4, 2025
f5230d6
Replaced 'hidden' flag by property hidden and added some warning mess…
elvanaud May 4, 2025
02dc91d
data - Fixed ScienceCostTweaker compatiblity
elvanaud May 4, 2025
71f12c4
data - Renamed base game techs and bob-stuff
elvanaud May 4, 2025
8469418
data - Renamed technologies and fixed some changes in the tech tree
elvanaud May 4, 2025
df2f5d3
Fixed new ingredient format and renamed bob-stuff
elvanaud May 4, 2025
56e63b3
prototypes - technology: fixed 2.0 tech and renamed bob-stuff
elvanaud May 4, 2025
5876ae1
Renamed bob-stuff for starting items
elvanaud May 4, 2025
688570e
data-updates - fixed compatibility for mods: SpaceMod, clowns, Companion
elvanaud May 4, 2025
0d36b27
data-updates - fixed compatibility for science cost tweaker
elvanaud May 4, 2025
5cb7e0e
data-updates - renamed bob stuff
elvanaud May 4, 2025
5a0e33a
data-updates - military.lua - renamed bob-stuff
elvanaud May 4, 2025
ca7de07
data-updates - misc.lua - renamed bob-stuff
elvanaud May 4, 2025
c3458dd
data-updates - fixed fluid boxes
elvanaud May 4, 2025
1202908
data-updates - renamed bob stuff
elvanaud May 4, 2025
543934f
data-final-fixes - SpaceMod compatibility
elvanaud May 4, 2025
31dc169
data-final-fixes - renamed bob-stuff
elvanaud May 4, 2025
899b2bf
Fixed control.lua and remote.lua
elvanaud May 4, 2025
581f59e
Basic mapgen for 2.0
elvanaud May 4, 2025
6a01ce4
Fixed spacemod integration and missing bob-prefix
elvanaud May 4, 2025
5d81e2f
Fixed thermal extractor fluid box and locale
elvanaud May 5, 2025
8ac04f9
Fixed some bugs :
elvanaud Jul 29, 2025
6004124
Patched to use the new angels internal names
elvanaud Aug 7, 2025
f7c0704
Renamed angels stuff
elvanaud Aug 7, 2025
7112f64
Added missing migrations and removed old bob valves code
elvanaud Aug 10, 2025
0a42856
Quick patch so that the game loads, still need to redo the thermal bore
elvanaud Aug 30, 2025
1882e24
Removed dependency on hidden tech "electronics"
elvanaud Aug 30, 2025
6399a13
SeaBlockPack 2.0 and removed reskins mods
KompetenzAirbag Sep 5, 2025
5f79738
removed duplicate on_player_created event function and cleared player…
KompetenzAirbag Sep 5, 2025
999cc4d
added autoplace-controls todo
KompetenzAirbag Sep 5, 2025
f873cec
Added new tile mapgen and entity autoplace
KompetenzAirbag Sep 9, 2025
383c460
Added enemy autopalce
KompetenzAirbag Sep 9, 2025
cf63cf3
Changed Tree/Garden generation
KompetenzAirbag Sep 9, 2025
5449d50
Added fish
KompetenzAirbag Sep 9, 2025
cda7f98
Added changelog
KompetenzAirbag Sep 9, 2025
6eeae2d
Readded Reskins mods except Angel's Reskins
KompetenzAirbag Sep 9, 2025
ba79cd4
Adjusted volume for wind-turbine-2 as it is otherwise way too loud in…
KompetenzAirbag Sep 9, 2025
333221b
Added localised name for landfill recipe
KompetenzAirbag Sep 9, 2025
1ef5a59
Fixed default ghost landfill type to default landfill in startup sett…
KompetenzAirbag Sep 9, 2025
4876734
Removed normal/expensive from add_recipe_unlock function
KompetenzAirbag Sep 10, 2025
f816532
Changed firemarm-magazine recipe to not include coal
KompetenzAirbag Sep 10, 2025
6dd96c1
Removed normal/expensive properties and logic
KompetenzAirbag Sep 10, 2025
3610ba8
Fixes issue #7 with wrong lead-plate and tin-plate recipe
KompetenzAirbag Sep 12, 2025
aecc5cc
Fixed several naming issues, #4
KompetenzAirbag Sep 12, 2025
653ab1a
Added item-group bob-gems to fix #10
KompetenzAirbag Sep 12, 2025
a919b1d
Fix for #13
KompetenzAirbag Sep 14, 2025
da44467
Changed default landfill type
KompetenzAirbag Sep 14, 2025
f536ede
Added tech dependency for battery to fix #14
KompetenzAirbag Sep 14, 2025
e9039d4
Removed item angels-stone-crushed to force migration
KompetenzAirbag Sep 14, 2025
4d83812
Fixed -charcoal migration issue #16
KompetenzAirbag Sep 14, 2025
fa11827
Updated battery recipe to include plastic
KompetenzAirbag Sep 15, 2025
7ef5b47
Updated changelog
KompetenzAirbag Sep 15, 2025
33fd45b
Updated changelog
KompetenzAirbag Sep 15, 2025
a66dc46
Changed mapgen to spawn more gardens
KompetenzAirbag Sep 15, 2025
61e6110
Made electronics craftable by assembling-machine and player
KompetenzAirbag Sep 15, 2025
6fc935d
Fixed tech softlock for techs requiring electronics
KompetenzAirbag Sep 15, 2025
c23dabd
Moved character crafting category
KompetenzAirbag Sep 15, 2025
6b95144
data-final-fixes/SpaceMod.lua cleanup
KompetenzAirbag Sep 15, 2025
b562fca
Fixing SpaceMod startup error
KompetenzAirbag Sep 15, 2025
c5273e8
data-final-fixes/mapgen.lua cleanup
KompetenzAirbag Sep 15, 2025
267a833
More cleanup
KompetenzAirbag Sep 16, 2025
fab6cc9
Updated localised name for landfill recipe to fix #27
KompetenzAirbag Sep 16, 2025
f4313a9
Fixed #29 : graphics and fluid output of angels-thermal-bore which ge…
KompetenzAirbag Sep 16, 2025
d12175f
Fixed angels-thermal-extractor animation
KompetenzAirbag Sep 16, 2025
2d7d921
Removed tech bob-chemical-plant to fix #28
KompetenzAirbag Sep 16, 2025
f62bb2f
Added sand-4 and sand-5 as tile condition for landfill
KompetenzAirbag Sep 17, 2025
24387a6
Added tile_condition comment
KompetenzAirbag Sep 17, 2025
17bfedb
Fixes hand craftable recipes
KompetenzAirbag Sep 20, 2025
9aa6dbb
Removed sb-hand-electronics crafting category
KompetenzAirbag Sep 20, 2025
ccf37ec
Removed recipe category from bob-phenolic-board
KompetenzAirbag Sep 20, 2025
23d1476
Changed recycling recipe name
KompetenzAirbag Sep 21, 2025
28d2b04
Updated add_category errors
KompetenzAirbag Sep 23, 2025
2452ad3
Outsourced add_category function to lib
KompetenzAirbag Sep 23, 2025
279a3a1
Made add_category error functions conform with seablock standards
KompetenzAirbag Sep 23, 2025
38818ab
Added add_recipe_category function
KompetenzAirbag Sep 23, 2025
bb33d52
Decreased the number of islands further out
KompetenzAirbag Sep 23, 2025
c6f0dad
Fixed bob-alien-science-pack dummylab insert error
KompetenzAirbag Sep 23, 2025
618d0ee
Updated tile_condition to fix https://github.com/modded-factorio/SeaB…
KompetenzAirbag Sep 23, 2025
ca7e2ea
Added move_stuck_player property to fix #11
KompetenzAirbag Sep 23, 2025
db15f0b
Temporary fix for #33
KompetenzAirbag Sep 25, 2025
53d43b2
Cleanup
KompetenzAirbag Sep 25, 2025
98ccd10
Typos and comments
KompetenzAirbag Sep 25, 2025
ef144b3
Removed resources for FNEI
KompetenzAirbag Sep 25, 2025
2ee24dc
Final cleanup
KompetenzAirbag Sep 25, 2025
feea5b5
Added parameter- recipes back
KompetenzAirbag Sep 26, 2025
8125a2e
Added autoplace for fish
KompetenzAirbag Sep 28, 2025
089ce5d
angels-oil-gas-extraction is now base game oil-gathering, this commit…
KompetenzAirbag Oct 12, 2025
17064fb
Reimplemented ore crystallization
KompetenzAirbag Oct 17, 2025
157c6be
Fixed recipe names for unhidden recipes
KompetenzAirbag Oct 17, 2025
ca80772
Removed uranium-mining tech
KompetenzAirbag Oct 18, 2025
9efb230
Fixed angels-bio-module researchability
KompetenzAirbag Oct 18, 2025
d1c8ae5
Fixed bob tech prerequisites
KompetenzAirbag Oct 19, 2025
3debeac
Technology fixes (including uncraftable items which are now hidden)
KompetenzAirbag Oct 19, 2025
9eddf5d
Removed unecessary angels-bio-module prereq fix (is fixed in CircuitP…
KompetenzAirbag Oct 19, 2025
c3ff2f9
Adding shotgun recipe for blueprint-shotgun mod
KompetenzAirbag Oct 19, 2025
79ccf01
Removed hidden ingredients for angels and bobs to fix #50
KompetenzAirbag Oct 31, 2025
c37bf4d
Made beacons match their 1.1 effectiveness closer (#51)
KompetenzAirbag Nov 3, 2025
8a70f34
Angels-chemical-plant got changed to chemical-plant
KompetenzAirbag Nov 3, 2025
bec08a0
Fixed beacon range
KompetenzAirbag Nov 7, 2025
751bee6
Fixed typo in beacon range
KompetenzAirbag Nov 7, 2025
ce0f8ab
Updated changelog
KompetenzAirbag Nov 7, 2025
1237978
Removing circular tech dependencies (#53)
KompetenzAirbag Nov 12, 2025
d271d84
Fixed technology name
KompetenzAirbag Nov 15, 2025
38727ce
Fixed hidden charcoal silo
KompetenzAirbag Nov 18, 2025
b65a13d
Fixed charcoal silo locale
KompetenzAirbag Nov 18, 2025
0ec1891
Fixed charcoal silo locale typo
KompetenzAirbag Nov 18, 2025
0beff84
Removed unecessary angels-stone-crushed modification
KompetenzAirbag Nov 18, 2025
48a029a
Added comments for recipe changes
KompetenzAirbag Nov 18, 2025
feb4488
Added several comments and moved things from misc to slag-processing
KompetenzAirbag Nov 18, 2025
549ef21
Moved insert_effect function to seablock.lib
KompetenzAirbag Nov 18, 2025
dce3fe7
Adding comments to lib functions
KompetenzAirbag Nov 18, 2025
6abcbb0
Removed mapgen.md file
KompetenzAirbag Nov 18, 2025
1cb1ee1
Fixed tech prerequisite for bobsgreenhouse
KompetenzAirbag Nov 21, 2025
0fe0a8b
Merge branch 'dev' of https://github.com/modded-factorio/SeaBlock int…
KompetenzAirbag Dec 15, 2025
1917641
Merge updates
KompetenzAirbag Dec 15, 2025
2d4a67d
Changelog updates
KompetenzAirbag Dec 15, 2025
31e131f
Format and miscellaneous
KompetenzAirbag Dec 18, 2025
34abbe9
Fixed breaking changes from AngelsMods
KompetenzAirbag Dec 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions SeaBlock/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,31 @@
Version: 0.6.0
Date: ??.??.??
Changes:
- Factorio 2.0 update
- Added "angels-" prefix to all AngelsMods related prototypes
- Added "bob-" prefix to all BobsMods related prototypes
- Basegame 2.0 changes
- Added/Modified library functions to include better warnings/new 2.0 code
- Removed all references of normal/expensive recipes
- Crafting category "electronics" is no longer craftable by hand (see Fulgora changes) and must thus be readded to handcrafting
- Updated the mapgen to implement the new 2.0 mapgen functions
- Added "tile_condition" to landfill (2.0)
- Replaced old research trigger with new 2.0 trigger tech
- Added incompatibility condition with "space-age" and "quality" for SeaBlockMetaPack
- BobsMods 2.0 changes
- Reimplemented "item-group": "bob-gems" since it is quite fitting in SB
- bobwarfare 2.0 now includes "coal" in "firearm-magazine" which is unobtainable so this change is reverted
- bobplates 2.0 uses "steel-plate"/"iron-plate" instead of "plastic-bar" in batteries, this change is reverted
- "bob-alien-x-alloy" is hidden in SB and must be removed from the equipment recipes
- "bob-rocket-engine" is no longer needed
- AngelsMods 2.0 changes
- The ore amount for tin and lead were changed in 2.0, this was reverted
- SpaceMod 2.0 changes
- None of the listed recipes took one of the listed upgrades or were already applied
- Because of the changes of bobmodules and circuitprocessing the tech prerequisites changed as well
- Miscellaneous 2.0 changes
- control.lua cleanup
- data-final-fixes.lua cleanup
- SCT 2.0 has replaced "automation-science-pack" with "sct-automation-science-pack"
- Added "shotgun" recipe if "blueprint-shotgun" is enabled
- Changed the volume of the "wind-turbine-2" as it is way too loud
---------------------------------------------------------------------------------------------------
Version: 0.5.17
Date: ??.??.??
Expand Down
14 changes: 3 additions & 11 deletions SeaBlock/control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ local function init()
end
end



script.on_event(defines.events.on_player_joined_game, function(e)
seablock.give_research(game.players[e.player_index].force)
end)
Expand Down Expand Up @@ -187,17 +189,6 @@ script.on_load(function()
set_pvp()
end)

script.on_event(defines.events.on_player_created, function(e)
if global.starting_items and game.is_multiplayer() then
local inv = game.players[e.player_index].get_main_inventory()
for item, quantity in pairs(global.starting_items) do
if quantity > 0 then
inv.insert({ name = item, count = quantity })
end
end
end
end)

if script.active_mods["Companion_Drones"] then
script.on_event(defines.events.on_player_created, function(e)
local s = game.surfaces["nauvis"]
Expand Down Expand Up @@ -227,6 +218,7 @@ script.on_load(function()
end)

script.on_event(defines.events.on_player_created, function(e)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was all duplicate code.

game.get_player(e.player_index).get_main_inventory().clear()
if storage.starting_items and game.is_multiplayer() then
local inv = game.get_player(e.player_index).get_main_inventory()
for item, quantity in pairs(storage.starting_items) do
Expand Down
62 changes: 57 additions & 5 deletions SeaBlock/data-final-fixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@ for _, v in pairs(reactors) do
end
end

-- Refresh circuit board icon as it may have been overwritten
if data.raw.tool["sb-basic-circuit-board-tool"] and data.raw.item["basic-circuit-board"] then
seablock.lib.copy_icon(data.raw.tool["sb-basic-circuit-board-tool"], data.raw.item["basic-circuit-board"])
end

require("data-final-fixes/logistics")
require("data-final-fixes/icons")
require("data-final-fixes/recipe")
require("data-final-fixes/tech-tree")
require("data-final-fixes/unobtainable_items")
require("data-final-fixes/mapgen")
require("data-final-fixes/SpaceMod")
require("data-final-fixes/entities")


data.raw.recipe["copper-cable"].allow_decomposition = true
data.raw.recipe["angels-solid-paper"].allow_decomposition = true
Expand All @@ -38,3 +35,58 @@ for _, v in pairs(data.raw.character) do
table.insert(v.crafting_categories, "sb-crafting-handonly")
end
end

-- Adds handcrafting recipes because crafting category "electronics" is no longer craftable by hand
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should rather be handled by the respective mods individually but I'm unsure so I left it in for now.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you believe this is necessary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added all this because otherwise it wouldn't be craftable by hand. I didn't want to change "electronics" to be handcraftable because that would change certain items as well which weren't handcraftable in 1.1.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think any of this is required. These recipes can be crafted by hand. Their crafting category should be crafting. This is the default if a category is not specified. They have electronics in their additional_categories.

local handcrafting_recipes = {
"electronic-circuit",
"copper-cable",
"advanced-circuit",
"bob-tinned-copper-cable",
"bob-insulated-cable",
"bob-gilded-copper-cable",
"bob-wooden-board",
"bob-basic-circuit-board",
"bob-robot-brain",
"bob-robot-brain-2",
"bob-robot-brain-3",
"bob-robot-brain-4",
"angels-wire-gold",
"angels-wire-platinum",
"angels-wire-silver",
"angels-wire-tin"
}

if mods["bobmodules"] then
table.insert(handcrafting_recipes, "bob-module-case")
table.insert(handcrafting_recipes, "bob-module-contact")
table.insert(handcrafting_recipes, "bob-speed-processor")
table.insert(handcrafting_recipes, "bob-efficiency-processor")
table.insert(handcrafting_recipes, "bob-productivity-processor")
end

if mods["CircuitProcessing"] then
table.insert(handcrafting_recipes, "cp-electronic-circuit-board")
table.insert(handcrafting_recipes, "cp-advanced-circuit-board")
end

for _, name in pairs(handcrafting_recipes) do
seablock.lib.add_recipe_category(name, "crafting")
end

if mods["bobelectronics"] and mods["bobassembly"] then
-- Recipe was craftable with assembling-machine-1 even though it required a fluid
data.raw.recipe["bob-phenolic-board"].category = "electronics-with-fluid"
data.raw.recipe["bob-phenolic-board"].additional_categories = nil
end


--- TODO
--- This fix is only temporary
--- Needed because angelspetrochem moved the global_replace_item function to
--- data-updates stage (was in data-final-fixes stage)
if mods["bobplates"] and mods["angelspetrochem"] then
local OV = angelsmods.functions.OV

OV.global_replace_item("bob-carbon", "angels-solid-carbon")
OV.execute()
end
19 changes: 19 additions & 0 deletions SeaBlock/data-final-fixes/entities.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-- crafting category "electronics" got removed from assembling machines since it is now part of Fulgora
if mods["bobassembly"] then
seablock.lib.add_category("assembling-machine", "assembling-machine-1", "electronics")

seablock.lib.add_category("assembling-machine", "assembling-machine-2", "electronics")
seablock.lib.add_category("assembling-machine", "assembling-machine-2", "electronics-with-fluid")

seablock.lib.add_category("assembling-machine", "assembling-machine-3", "electronics")
seablock.lib.add_category("assembling-machine", "assembling-machine-3", "electronics-with-fluid")

seablock.lib.add_category("assembling-machine", "bob-assembling-machine-4", "electronics")
seablock.lib.add_category("assembling-machine", "bob-assembling-machine-4", "electronics-with-fluid")

seablock.lib.add_category("assembling-machine", "bob-assembling-machine-5", "electronics")
seablock.lib.add_category("assembling-machine", "bob-assembling-machine-5", "electronics-with-fluid")

seablock.lib.add_category("assembling-machine", "bob-assembling-machine-6", "electronics")
seablock.lib.add_category("assembling-machine", "bob-assembling-machine-6", "electronics-with-fluid")
end
3 changes: 3 additions & 0 deletions SeaBlock/data-final-fixes/logistics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ set_speed("transport-belt", "bob-ultimate-transport-belt", 75)
set_speed("underground-belt", "bob-ultimate-underground-belt", 75)
set_speed("splitter", "bob-ultimate-splitter", 75)

-- Change base game beacon
data.raw.beacon["beacon"].distribution_effectivity = 1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This better fits the 1.1 feel. I'm unsure about this though. It matches the distribution_effectivity of bob-beacon-x below.

-- Increase energy consumption of bob's extra beacons
-- Also reduce module slots and effectivity
if data.raw.beacon["bob-beacon-2"] then
Expand Down
81 changes: 66 additions & 15 deletions SeaBlock/data-final-fixes/mapgen.lua
Original file line number Diff line number Diff line change
@@ -1,48 +1,99 @@
-- No resource placement
for k, v in pairs(data.raw.resource) do
v.autoplace = nil
for k, _ in pairs(data.raw.resource) do
data.raw.resource[k].autoplace = nil
end

data.raw["planet"]["nauvis"].map_gen_settings.autoplace_settings = {
tile = {
settings = {
deepwater = {},
water = {},
["sand-4"] = {},
["sand-5"] = {},
}
},
entity = {
settings = {
["angels-desert-garden"] = {},
["angels-temperate-garden"] = {},
["angels-swamp-garden"] = {},

["angels-desert-tree"] = {},
["angels-temperate-tree"] = {},
["angels-swamp-tree"] = {},

["angels-puffer-nest"] = {},
["small-worm-turret"] = {},
["medium-worm-turret"] = {},
["big-worm-turret"] = {},
["behemoth-worm-turret"] = {},

["angels-alien-fish-1"] = {},
["angels-alien-fish-2"] = {},
["angels-alien-fish-3"] = {},

["fish"] = {}
}
}
}
data.raw["planet"]["nauvis"].map_gen_settings.autoplace_controls = nil

-- Enemies
for _,name in pairs({ "bob-big-explosive-worm-turret", "bob-big-fire-worm-turret", "bob-big-poison-worm-turret", "bob-big-piercing-worm-turret", "bob-giant-worm-turret" }) do
if (data.raw.turret[name]) then
data.raw["planet"]["nauvis"].map_gen_settings.autoplace_settings.entity.settings[name] = {}
end
end

-- No spawners
for k, v in pairs(data.raw["unit-spawner"]) do
for _, v in pairs(data.raw["unit-spawner"]) do
v.autoplace = nil
v.control = nil
if v.autoplace then
v.autoplace.default_enabled = false
end
end

-- No trees
for k, v in pairs(data.raw.tree) do
if
k ~= "temperate-garden"
and k ~= "desert-garden"
and k ~= "swamp-garden"
and k ~= "temperate-tree"
and k ~= "desert-tree"
and k ~= "swamp-tree"
and k ~= "puffer-nest"
k ~= "angels-temperate-garden"
and k ~= "angels-desert-garden"
and k ~= "angels-swamp-garden"
and k ~= "angels-temperate-tree"
and k ~= "angels-desert-tree"
and k ~= "angels-swamp-tree"
and k ~= "angels-puffer-nest"
then
v.autoplace = nil
seablock.lib.add_flag("tree", v.name, "not-deconstructable")
else
v.autoplace.control = nil
end
end

-- No rocks
for k, v in pairs(data.raw["simple-entity"]) do
for _, v in pairs(data.raw["simple-entity"]) do
v.autoplace = nil
seablock.lib.add_flag("simple-entity", v.name, "not-deconstructable")
end

for _, v in pairs(data.raw["optimized-decorative"]) do
v.autoplace = nil
seablock.lib.add_flag("optimized-decorative", v.name, "not-deconstructable")
end

local keepcontrols = {}
local turrets = data.raw["turret"]
for turret_name, turret in pairs(turrets) do
for _, turret in pairs(turrets) do
if turret.autoplace and turret.autoplace.control then
keepcontrols[turret.autoplace.control] = true
end
end

local controls = data.raw["autoplace-control"]
for k, v in pairs(controls) do
for k, _ in pairs(controls) do
if k ~= "enemy-base" and not keepcontrols[k] then
controls[k] = nil
data.raw["autoplace-control"][k] = nil
end
end

Expand Down
39 changes: 39 additions & 0 deletions SeaBlock/data-final-fixes/recipe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,42 @@ if data.raw.recipe["angels-stone-crushed-dissolution"] then
{ "stone" }
)
end

-- Recipe gets changed by bobwarfare to include coal which is unobtainable
bobmods.lib.recipe.set_ingredients("firearm-magazine", {{ type = "item", name = "iron-plate", amount = 4}}) --this function automatically clears previous ingredients

-- angelspetrochem changes petroleum-gas to angels-gas-methane
bobmods.lib.recipe.remove_ingredient("sct-t3-flash-fuel", "angels-gas-methane")

-- bobmods switched plastic-bar for steel-plate in 2.0
if settings.startup["bobmods-plates-batteryupdate"].value == true then
bobmods.lib.recipe.replace_ingredient("battery", "steel-plate", "plastic-bar")
else
bobmods.lib.recipe.replace_ingredient("battery", "iron-plate", "plastic-bar")
end
bobmods.lib.tech.add_prerequisite("battery", "plastics")

if (mods["blueprint-shotgun"]) then
seablock.lib.unhide_recipe("shotgun")
seablock.lib.unhide_recipe("shotgun-shell")

seablock.lib.unhide("gun", "shotgun")
seablock.lib.unhide("ammo", "shotgun-shell")

bobmods.lib.tech.add_recipe_unlock("military", "shotgun")
bobmods.lib.tech.add_recipe_unlock("military", "shotgun-shell")
end

-- bob-alien-x-alloy is hidden by Sea Block
bobmods.lib.recipe.replace_ingredient("bob-fission-reactor-equipment-4", "bob-alien-blue-alloy", "bob-cobalt-steel-alloy")
bobmods.lib.recipe.replace_ingredient("bob-fission-reactor-equipment-4", "bob-alien-fire", "angels-liquid-naphtha")

bobmods.lib.recipe.replace_ingredient("bob-exoskeleton-equipment-3", "bob-alien-blue-alloy", "bob-cobalt-steel-alloy")

bobmods.lib.recipe.replace_ingredient("bob-personal-laser-defense-equipment-6", "bob-alien-blue-alloy", "bob-cobalt-steel-alloy")
bobmods.lib.recipe.replace_ingredient("bob-personal-laser-defense-equipment-6", "bob-alien-orange-alloy", "bob-gold-plate")
bobmods.lib.recipe.replace_ingredient("bob-personal-laser-defense-equipment-6", "bob-alien-poison", "angels-liquid-nitric-acid")

-- No longer needed for rockets
bobmods.lib.recipe.hide("bob-rocket-engine")
bobmods.lib.item.hide("bob-rocket-engine")
Loading