bump_click ![code/datums/elements/bump_click.dm 6](git.png)
Bump click bespoke element
Simulates a click on the attached atom when it's bumped, if the bumper and their active object meet certain criteria.
Vars | |
allow_any | Click with any item? |
---|---|
allow_combat | Click with combat mode on? |
allow_unarmed | Click with an empty active hand? |
tool_behaviours | Tool behaviours to check for on the bumper's active held item before clicking the attached atom with it. |
tool_types | Types (and their subtypes) of item to look for in the bumper's active hand before clicking the attached atom. |
Var Details
allow_any ![code/datums/elements/bump_click.dm 18](git.png)
Click with any item?
allow_combat ![code/datums/elements/bump_click.dm 16](git.png)
Click with combat mode on?
allow_unarmed ![code/datums/elements/bump_click.dm 14](git.png)
Click with an empty active hand?
tool_behaviours ![code/datums/elements/bump_click.dm 10](git.png)
Tool behaviours to check for on the bumper's active held item before clicking the attached atom with it.
tool_types ![code/datums/elements/bump_click.dm 12](git.png)
Types (and their subtypes) of item to look for in the bumper's active hand before clicking the attached atom.