Biological Machines: Core


Contains shared modules and compatibility patches for other Biological Machines mods. Does nothing on its own by default although some modules can be enabled as standalone via mod settings.

Content
2 days ago
2.0
106
Owner:
bradythehuman
Source:
https://github.com/bradythehuman/Biol...
Homepage:
https://discord.gg/H8NxNS9CBg
License:
MIT
Created:
4 days ago
Latest Version:
1.0.1 (2 days ago)
Factorio version:
2.0
Downloaded by:
106 users

Description

Contains shared modules and compatibility patches for other Biological Machines mods. Does nothing on its own by default although some modules can be enabled as standalone via mod settings.

Includes

Included in

Features

  • Standalone modules which are enabled behind the scenes by various BM mods or can be enabled explicitly via startup settings even if only BM: Core is installed
  • Modding tools which can be used by third party mods with BM: Core as a dependency
  • Can be added to existing saves without any complications

Standalone Modules

  • Bot start, adds a repair harness and 10 bots to players starting inventory
  • Auto included with BM: Modpack
  • Internal setting name is bm-bot-start-standalone
  • Alternative nutrients, adds source of nutrients to early game Nauvis and Vulcanus/Fulgora. This includes plant-able berries on Nauvis and new bacteria to Vulcanus/Fulgora. Also adds nutrient wine and ethanol which may be consumed to gain a short regen buff followed by a movement speed debuff
  • Auto included with BM: Hunger and BM: Industry
  • Internal setting name is bm-alternative-nutrients-standalone
  • Scrapyard, adds an early game recycler which consumes no power, is less space efficient and outputs a lot of pollution
  • Auto included with BM: Industry and BM: Planet Wit
  • Internal setting name is bm-scrapyard-standalone
  • Reinforced wall, adds a more durable wall made from refined concrete and tungsten plate
  • Auto included with BM: Radioactive Tissue and BM: Planet Balack
  • Internal setting name is bm-reinforced-wall-standalone

Modding Tools

  • Data helper, a util file with functions to manipulate data in the prototype stage. Load into your mod by calling

local dh = require("__biological-machines-core__.data-helper")

  • Full resistances, a table containing entity prototypes which will be made 100% resistant to all damage in the data-final-fixes stage. Mark an entity for full resistance in the data or data-updates stages by calling

ENTITY_PROTOTYPE = data.raw[ENTITY_TYPE][ENTITY_NAME] table.insert(bm_add_full_resistences, ENTITY_PROTOTYPE)

  • All science, a function returning a copy of a technologies ingredients table containing all science packs in BM

data.raw.technology[TECH_NAME].unit.ingredients = BM_COPY_ALL_SCI_PACKS()

  • Standalone modules, a global function to force a standalone module to be loaded and hide the setting. Call the function in any of the setting stages using the standalone modules internal setting name

BM_STANDALONE_SETTING_OVERRIDE(INTERNAL_SETTING_NAME)

Credit