mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-05-02 05:13:09 +01:00
Adds binds for targeting the eyes and mouth (#55299)
This commit is contained in:
@@ -336,7 +336,8 @@
|
||||
add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/gravity, multiplicative_slowdown=speed_change)
|
||||
|
||||
//bodypart selection verbs - Cyberboss
|
||||
//8:repeated presses toggles through head - eyes - mouth
|
||||
//8: repeated presses toggles through head - eyes - mouth
|
||||
//9: eyes 8: head 7: mouth
|
||||
//4: r-arm 5: chest 6: l-arm
|
||||
//1: r-leg 2: groin 3: l-leg
|
||||
|
||||
@@ -349,6 +350,8 @@
|
||||
*
|
||||
* (bound to 8) - repeated presses toggles through head - eyes - mouth
|
||||
*/
|
||||
|
||||
///Hidden verb to target the head, bound to 8
|
||||
/client/verb/body_toggle_head()
|
||||
set name = "body-toggle-head"
|
||||
set hidden = TRUE
|
||||
@@ -368,6 +371,28 @@
|
||||
var/atom/movable/screen/zone_sel/selector = mob.hud_used.zone_select
|
||||
selector.set_selected_zone(next_in_line, mob)
|
||||
|
||||
///Hidden verb to target the eyes, bound to 7
|
||||
/client/verb/body_eyes()
|
||||
set name = "body-eyes"
|
||||
set hidden = TRUE
|
||||
|
||||
if(!check_has_body_select())
|
||||
return
|
||||
|
||||
var/atom/movable/screen/zone_sel/selector = mob.hud_used.zone_select
|
||||
selector.set_selected_zone(BODY_ZONE_PRECISE_EYES, mob)
|
||||
|
||||
///Hidden verb to target the mouth, bound to 9
|
||||
/client/verb/body_mouth()
|
||||
set name = "body-mouth"
|
||||
set hidden = TRUE
|
||||
|
||||
if(!check_has_body_select())
|
||||
return
|
||||
|
||||
var/atom/movable/screen/zone_sel/selector = mob.hud_used.zone_select
|
||||
selector.set_selected_zone(BODY_ZONE_PRECISE_MOUTH, mob)
|
||||
|
||||
///Hidden verb to target the right arm, bound to 4
|
||||
/client/verb/body_r_arm()
|
||||
set name = "body-r-arm"
|
||||
|
||||
Reference in New Issue
Block a user