ai_module 
Generic item that can be slotted into an AI law rack to give it functionality.
Procs | |
| can_install_to_rack | Called before being installed into a law rack. Return FALSE to block installation. |
|---|---|
| log_install | Logs the installation of this module to the law change log and silicon log. |
| log_uninstall | Logs the uninstallation of this module to the law change log and silicon log. |
| on_rack_install | Called after a module is installed into a law rack. |
| on_rack_uninstall | Called after a module is uninstalled from a law rack. |
| pre_user_install_to_rack | Called right before the module is added to the rack by a living mob, allowing special handling |
| pre_user_uninstall_from_rack | Called right before the module is removed from the rack by a living mob, allowing special handling |
| silicon_linked_to_installed | Called when the law rack this is installed to has been linked to an AI. Also called when installed to a rack that already has an AI linked to it. |
| silicon_unlinked_from_installed | Called with the law rack this is installed to is unlinked from an AI. Also called when uninstalled from a rack that has an AI linked to it. |
Proc Details
can_install_to_rack
Called before being installed into a law rack. Return FALSE to block installation.
log_install
Logs the installation of this module to the law change log and silicon log.
log_uninstall
Logs the uninstallation of this module to the law change log and silicon log.
on_rack_install
Called after a module is installed into a law rack.
on_rack_uninstall
Called after a module is uninstalled from a law rack.
pre_user_install_to_rack
Called right before the module is added to the rack by a living mob, allowing special handling
pre_user_uninstall_from_rack
Called right before the module is removed from the rack by a living mob, allowing special handling
silicon_linked_to_installed
Called when the law rack this is installed to has been linked to an AI. Also called when installed to a rack that already has an AI linked to it.
silicon_unlinked_from_installed
Called with the law rack this is installed to is unlinked from an AI. Also called when uninstalled from a rack that has an AI linked to it.