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
3 hours ago
2.0 - 2.1
1.18K
Factorio: Space Age Icon Space Age Mod
Owner:
bradythehuman
Source:
https://github.com/bradythehuman/Biol...
Homepage:
https://discord.gg/H8NxNS9CBg
License:
MIT
Created:
7 months ago
Latest Version:
1.1.2 (3 hours ago)
Factorio version:
2.0 - 2.1
Downloaded by:
1.18K 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.

Included in

Features

  • Bot start startup setting, adds a repair harness and 25 construction bots to players starting inventory
  • Disabled by default, enabled by default with BM: Modpack active
  • 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

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

Credit