Truly Modular: Modular Item API

Truly Modular: Modular Item API

Synergies

Description

Synergies are used to adjust a ModuleInstances properties based on condition. They can be found/added in mod-id:miapi/synergies/any-path-and-file-name.json

type

The Type of synergy, can either by "tag", "material", "all", if no type is given module is asumed.

  • tag applies to module with the tag.
  • all applies to all modules
  • material applies to a certain material

condition

A complex Condition

module/material/tag mentioned above

this is the key, the inner data is split into

  • replace Replaces the property, erasing previous data
  • merge properties to be merged into the modules property
  • remove a list of properties to remove