The CDM shard Eternity Port can increase its capabilities by connecting (assimilating) computational items. Starting in version 1.1.13 you can specify what happens when a certain item is connected to the shard.

To define this behavior, you must create a <StaticData> entry in your item with an id of cdmShard.connect. In addition, you must define appropriate language elements containing text used in the UI.

Connecting an Item

The cdmShard.connect entry defines the behavior:

<ItemType ...>

   <StaticData>
      <Data id="cdmShard.connect">
         {
            xpUnitsGained: 1
            restrictions: 'itemLevelLimit
            }
      </Data>
   </StaticData>
</ItemType>
  • xpUnitsGained: This field defines the number of experience points (xp) gained by the shard when this item is connected. The actual number of xp depends on the level of the item being connected.
  • restrictions: This field defines various restrictions on the connection. Three values are defined:
    • 'incompatible: This means that the item cannot be connected to the shard. In this case we show the cdmShard.descIncompatible language element to the player.
    • 'itemLevelLimit: The item cannot be connected if it is of a lower level than the current level of the CDM shard. We display a generic message to the player.
    • 'itemTypeUnique: The item type can only be connected once. Subsequent attempts to connect will display a generic message.

If the item can be connected, we display the cdmShard.descConnect message to the player when they are choosing an item to connect.

If connection succeeds, we display the cdmShard.descSuccess language element.