Understanding Core Functionality - Mirroar/hivemind GitHub Wiki

Understanding Core Functionality

This section provides an overview of Hivemind's core systems and how they work together to manage your Screeps empire. Each topic below links to a dedicated page with more details and guidance for extending or customizing that part of the bot.

Topics Covered

  • Processes: The process system is the backbone of Hivemind's task scheduling and multitasking. Learn how processes are structured, started, and managed.
  • Creep Roles: Roles define the behavior of individual creeps. Discover how roles are assigned, how to add new ones, and how to customize existing behaviors.
  • Spawning and Creeps: Understand how Hivemind manages spawning, creep lifecycle, and the interaction between spawning and creep roles.
  • Throttling: Throttling ensures the bot stays within CPU limits and prioritizes important tasks. Understand how throttling works and how to adjust it for your needs.
  • Caching: Hivemind has a caching system to optimize performance by storing frequently accessed data. Learn how caching works and how to manage it effectively.
  • Traffic Management: This section explains how Hivemind manages traffic, ensuring that creeps move efficiently and avoid congestion.
  • Multi-room Navigation: Learn about the navigation system and how it's used to move creeps across rooms, including multi-room pathfinding and room transition logic.

Further Topics (not yet covered)

  • Combat and Defense: How Hivemind manages combat roles, defense strategies and squads.
  • Room planning: How hivemind's room planning and room management systems work together.
  • Expansion: How Hivemind handles expansion to new rooms, including scouting and claiming.
  • Logistics: Hivemind's logistics system handles resource management, storage, and distribution across your empire.