Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion code/game/objects/items/devices/binoculars.dm
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,13 @@

COOLDOWN_START(designator, spotting_cooldown, designator.spotting_cooldown_delay)
return TRUE

/obj/item/device/binoculars/range/designator/spotter/equipped(mob/living/user, slot)
. = ..()
//Toggle Spot Target on equip in hands. Avoids toggle in pockets
if(slot == WEAR_R_HAND || slot == WEAR_L_HAND)
var /datum/action/toggling_action = locate(/datum/action/item_action/specialist/spotter_target) in user.actions
if(toggling_action)
toggling_action.action_activate()
//ADVANCED LASER DESIGNATER, was used for WO.
/obj/item/device/binoculars/designator
name = "advanced laser designator" // Make sure they know this will kill people in the desc below.
Expand Down
8 changes: 7 additions & 1 deletion code/modules/projectiles/guns/specialist/sniper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,13 @@
break

return blocked

/obj/item/weapon/gun/rifle/sniper/equipped(mob/living/user, slot)
. = ..()
//Toggle Aimed Shot on equip in hands. Skips back and armour slot equips
if(slot == WEAR_R_HAND || slot == WEAR_L_HAND)
var /datum/action/toggling_action = locate(/datum/action/item_action/specialist/aimed_shot) in user.actions
if(toggling_action)
toggling_action.action_activate()
// Snipers may enable or disable their laser tracker at will.
/datum/action/item_action/specialist/toggle_laser

Expand Down