mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 09:03:23 +01:00
Makes the Advanced Pinpointer easier to use (#19782)
* alt-click * dead be gone
This commit is contained in:
@@ -149,7 +149,8 @@
|
||||
|
||||
/obj/item/pinpointer/advpinpointer
|
||||
name = "advanced pinpointer"
|
||||
desc = "A larger version of the normal pinpointer, this unit features a helpful quantum entanglement detection system to locate various objects that do not broadcast a locator signal."
|
||||
desc = "A larger version of the normal pinpointer, this unit features a helpful quantum entanglement detection system to locate various objects that do not broadcast a locator signal. \n \
|
||||
<span class='notice'>Alt-click to toggle mode.</span>"
|
||||
modes = list(MODE_ADV)
|
||||
var/modelocked = FALSE // If true, user cannot change mode.
|
||||
var/turf/location = null
|
||||
@@ -169,6 +170,11 @@
|
||||
scandisk()
|
||||
point_at_target(the_disk)
|
||||
|
||||
/obj/item/pinpointer/advpinpointer/AltClick(mob/user)
|
||||
if(!isliving(user) || !Adjacent(user))
|
||||
return ..()
|
||||
toggle_mode()
|
||||
|
||||
/obj/item/pinpointer/advpinpointer/verb/toggle_mode()
|
||||
set category = "Object"
|
||||
set name = "Toggle Pinpointer Mode"
|
||||
|
||||
Reference in New Issue
Block a user