Skip to content

Conversation

@KompetenzAirbag
Copy link
Collaborator

@KompetenzAirbag KompetenzAirbag commented Nov 28, 2025

This PR is based on my 2.0 naming changes. It implements all the logic needed to run Sea Block in 2.0. It mostly recreates the 1.1 feel. Any change done by Angels/Bobs which is not listed below is accepted and/or integrated.

Changes:

  • 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

elvanaud and others added 30 commits May 4, 2025 14:58
	- thermal extractor graphics has changed (still need to
fix the animations)
	- Crash when not using bobwarfare
	- Unnecessary line of code since angels was patched (removing
	  glass from red science recipe)
	- Somewhat cleaned the dummy lab code
@KompetenzAirbag KompetenzAirbag marked this pull request as draft November 28, 2025 18:01
@KompetenzAirbag KompetenzAirbag force-pushed the 2.0-logic-changes branch 2 times, most recently from 394116f to e948a36 Compare December 8, 2025 17:54
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.


-- 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.


local turbine = data.raw["electric-energy-interface"]["wind-turbine-2"]
turbine.working_sound.sound.volume = 0.3

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 did this because the turbine was unbearably loud.

seablock.lib.removeingredient("bob-basic-underground-belt", "wood")
seablock.lib.removeingredient("bob-basic-splitter", "wood")

-- Can always apply productivity modules to furnace recipes, so make it official
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 is now handled when sb-wood-bricks-charcoal is created.

set_pvp()
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants