Skip to content

Modular cybernetics

Rob Nelson requested to merge pull/10515/AdvCybernetics into Bleeding-Edge

Created by: Skullyton

A continuation of #5669 by adding a more modular approach to cybernetics.

Final outcome is hopefully

  • Tiered cybernetic limb and organ system, with each higher tier having more room for additional modules
  • Modules, that either improve a general thing, or do something specific for that organ/limb, or add a special function (Internalized toolbox, stun baton arm, etc.)
  • Add additional cybernetic organs with similar upsides to the lungs and eyes made in #5669

There are 4 tiers (5 if you include the base tier of 0)

  • First tier gets one external slot
  • Second tier gets one internal slot, 2 external slots
  • Third tier gets 2 internal slots, 2 external slots
  • Fourth tier gets 4 internal slots, 4 external slots

The first three tiers will be acquirable through research, the fourth tier, because of its potentially game-altering amount of slots, will be strictly loot and/or used for deathsquad

The modules themselves will be either passive or active. The difference being Active will actively consume energy from an internalized cell in the heart, so a heartswap will be necessary to use those sorts of modules. Recharging the cell will be dependent on other modules (Food harvester that converts half processed nutriment into power, kinetic convertors in the legs that convert steps taken into energy, energy sinks in the arms that mean you can feed directly off the powergrid like the cyber ninjas of old, etc.)

TO DO:

  • Add module and adaptation system
  • Rework the current cybernetic limb system to allow for all this nonsense
  • Make sure it doesn't break any current saves
  • Make example modules (General, and organ-specific)
  • Make cybernetic equivalents of the internal organs that have similar upsides to the current cybernetic lungs and eyes
  • Convert limbs to objects with related datums like other organs.
  • At this point, completely rewrite how limbs handle amputation and surgical attachment
  • Be very scared of all this scary code I have to rewrite and hope it doesn't break everything

NEEDED SPRITES

  • Adaptation module sprites (Used to enhance the limb/organ up a tier)
  • Generic module sprites (For more generalized upgrades such as general stat enhancers
  • Health analyzer module sprite (For scanning a person by touching them. Done by @Blithering )
  • Generic limb-specific module sprites (Things like boots, hands, with shiny colours or wires sticking out of them so you know what limb they need to be on) Boots done by @Blithering
  • Robotic limb sprites so you can tell if somebody has enhanced limbs. Done by @Lorkhatosh
  • Robotic heart sprite, with visible light to show it has a cell in it
  • Auto-surgeon sprite, as the one thing that'll put people off getting cybernetic upgrades is dependency on others

DISCLAIMER - This is far from done currently, putting the PR up so I can potentially get some outside help on the matter and so that people actually know this project exists.

Related discussion points - #7627 and #10022

Merge request reports