code/_onclick/click_override.dm
/datum/middleClickOverride/callback_invoker | Middle click override which accepts a callback as an arugment in the New() proc.
When the living mob that has this datum middle-clicks or alt-clicks on something, the callback will be invoked. |
---|