redirect_attack_hand_from_turf ![code/datums/components/redirect_attack_hand_from_turf.dm 2](git.png)
Will redirect touching the turf it is on with your hand to the attack_hand of the parent object.
Vars | |
adjust_for_pixel_shift | If TRUE, will connect to the turf it appears to be on. |
---|---|
interact_check | A custom callback to determine whether a user's clicks will be redirected or not (mob/user) |
screentip_texts | If set, hovering over the turf you're on will show these screentips with an empty hand. Takes lmb_text and rmb_text. |
Var Details
adjust_for_pixel_shift ![code/datums/components/redirect_attack_hand_from_turf.dm 5](git.png)
If TRUE, will connect to the turf it appears to be on.
interact_check ![code/datums/components/redirect_attack_hand_from_turf.dm 12](git.png)
A custom callback to determine whether a user's clicks will be redirected or not (mob/user)
screentip_texts ![code/datums/components/redirect_attack_hand_from_turf.dm 9](git.png)
If set, hovering over the turf you're on will show these screentips with an empty hand. Takes lmb_text and rmb_text.