Design
WebsiteGitHubGitBook
  • ✍️Design Intro
    • Gameplay Summary
    • Art Style
  • 🕹️Basic Game Mechanics
    • 🖥️User Interface
      • Server Hub
      • Server Lobby
        • Edit Character
      • Game
        • Player HUD
        • In-game Settings
        • Inventory
        • Radial Menu
        • Misc. UI Elements
        • Windows
    • 🎮Controls
    • 🔦Field of Vision
    • 🔍Examine
    • 🖐️Interactions
      • Move
      • Activate
      • Access
    • ⏳Rounds
  • 🛰️Environment
    • 🗺️Tilemaps
      • Stations
      • Planets
      • Tile Objects
        • Airlocks
    • ☁️Atmospherics
      • Gas Substances
    • 🧩Connectables
      • Basic Adjacency Connections
      • Advanced Adjacency Connections
      • Window Divider Adjacency Connections
      • Counter Adjacency Connections
      • Directional Adjacency Connections
      • Disposal Adjacency Connections
        • Disposal Furniture Connections
      • Pipe Adjacency Connections
        • Pipe Furniture Connections
      • Transit Tube Adjacency Connections
      • Wire Adjacency Connections
      • Airlock Adjacency Connections
    • 🏗️Construction
      • Construction Recipes
        • Walls / Windows
        • Doors
      • Menu and User Case
      • Propositions and Suggestions
    • 🔓Crew Access
    • ⚡Electricity
      • Power Grid
    • 📞Communication Systems
  • 👫Entities
    • 🎥Roles
      • 📋Crew
        • Nanotrasen
        • Command
        • Security
        • Engineering
        • Medical
        • Science
        • Supply
        • Civilian
        • Silicons
      • Antagonists
        • Primary Antags
        • Secondary Antags
      • Ghosts
    • 🧙‍♂️Characters
      • Player Characters
      • NPCs
    • 🌡️Health
      • Stamina
      • Damage
      • Body Systems
        • Organs
          • Lungs
          • Heart
        • Blood
        • Oxygen
        • Pain
        • Death
        • Body parts volume
      • Healing
        • Surgery
    • ⚔️Combat
      • Combat Mode
        • Help
        • Harm
        • Grab
        • Hold
        • Push
        • Toss and Throw
        • Items
          • Melee
          • Ranged
      • Melee combat
  • 🔦Items
    • 📌Hold Positions
    • 🍕Food
    • 🧰Containers
  • 🎬Actions
    • 🛠️Crafting
      • Makeshift, simple Crafting
      • Advanced Crafting
      • Specialized Crafting
    • ⚗️Chemistry
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. 🛰️Environment

🧩Connectables

The system for connectable tilemap objects.

PreviousGas SubstancesNextBasic Adjacency Connections

Last updated 1 month ago

Was this helpful?

For technical documentation on this system use the link below.

Connectables are a sub-system of Tilemaps which use adjacency connection scripts to replace models depending on the status of neighboring tiles.

This works by using several differently shaped models and replacing them depending on any adjacent tiles with the same type of connectable (see the Tilemap document for more details).

Different types of connectables have different ways they allow or don’t allow connections.

For example, wires can connect diagonally and have several unique shapes that are not possible with tables.

As a result, we use several unique mathematical scripts known as “adjacency connectors” to handle the connection logistics.

Types of connectables are manually defined by an ID known as a “generic type” (ex. wall, table, wire, cable, etc.). When properly assigned, this ID makes sure different types of connectables properly connect to themselves but not other types of connectables.

In addition to generic types, some connectables may even have a “specific type” ID. The specific type is used to distinguish different variants of the same type of connectable. The best example is having multiple material-based table variants (wood & metal), the specific type could be used to prevent connections between different variant types while maintaining connections between the same variant types.

It should also be noted that objects will only connect if they are connected to the tilemap, removing them from the tilemap will disconnect any connections to it. Some objects can be bolted to / unbolted from the tilemap (tables, girders, sofa, etc.), while others also have ways to be attached / detached to the tilemap.

Page cover image
Adjacency Connections