Module events on add/remove.
Posted: Sat Sep 08, 2018 12:44 pm
Fire events on module addition and module removal.
Returns entity added to/removed from, module, and player.
Use case: Allows for interfacing with modules to create custom effects when adding or removing modules. My particular idea is allowing addition of "features" of modularity to buildings that can accept modules. Things like, a module that adds a power pole to an assembler, or a logistics box to it or something. Could be used with anything that can accept a module. The concept is very similar to an equipment grid, but more specialized since module slots are limited, and this can be used on a slightly different variety of entities.
Returns entity added to/removed from, module, and player.
Use case: Allows for interfacing with modules to create custom effects when adding or removing modules. My particular idea is allowing addition of "features" of modularity to buildings that can accept modules. Things like, a module that adds a power pole to an assembler, or a logistics box to it or something. Could be used with anything that can accept a module. The concept is very similar to an equipment grid, but more specialized since module slots are limited, and this can be used on a slightly different variety of entities.