destructive_analyzer
Destructive Analyzer
It is used to destroy hand-held objects and advance technological research.
Procs | |
destroy_item | Destroys an item by going through all its contents (including itself) and calling destroy_item_individual Args: gain_research_points - Whether deconstructing each individual item should check for research points to boost. |
---|---|
destroy_item_individual | Destroys the individual provided item Args: thing - The thing being destroyed. Generally an object, but it can be a mob too, such as intellicards and pAIs. gain_research_points - Whether deconstructing this should give research points to the stored techweb, if applicable. |
finish_loading | Called in a timer callback after loading something into it, this handles resetting the 'busy' state back to its initial state So the machine can be used. |
unload_item | Drops the loaded item where it can and nulls it. |
user_try_decon_id | Attempts to destroy the loaded item using a provided research id. Args: id - The techweb ID node that we're meant to unlock if applicable. |
Proc Details
destroy_item
Destroys an item by going through all its contents (including itself) and calling destroy_item_individual Args: gain_research_points - Whether deconstructing each individual item should check for research points to boost.
destroy_item_individual
Destroys the individual provided item Args: thing - The thing being destroyed. Generally an object, but it can be a mob too, such as intellicards and pAIs. gain_research_points - Whether deconstructing this should give research points to the stored techweb, if applicable.
finish_loading
Called in a timer callback after loading something into it, this handles resetting the 'busy' state back to its initial state So the machine can be used.
unload_item
Drops the loaded item where it can and nulls it.
user_try_decon_id
Attempts to destroy the loaded item using a provided research id. Args: id - The techweb ID node that we're meant to unlock if applicable.