The following items now have some functions triggered by alt click.

- Flashlight
- geiger counter
- T ray
- Labcoats and such
- Microwave

Feel free to suggest more.
This commit is contained in:
lbnesquik
2019-01-19 20:42:01 +01:00
parent 973af1b476
commit ec0d3e135a
6 changed files with 19 additions and 0 deletions
+3
View File
@@ -167,6 +167,9 @@
* Microwave Menu
********************/
/obj/machinery/microwave/AltClick()//chomp edit
cook()
/obj/machinery/microwave/interact(mob/user as mob) // The microwave Menu
var/dat = ""
if(src.broken > 0)
@@ -221,6 +221,9 @@ var/global/list/obj/item/device/communicator/all_communicators = list()
if(video_source)
watch_video(user)
/obj/item/device/communicator/AltClick(mob/user) //Chomp edit.
attack_self(user) //wow big skill
// Proc: MouseDrop()
//Same thing PDAs do
/obj/item/device/communicator/MouseDrop(obj/over_object as obj)
@@ -116,6 +116,9 @@
user.update_action_buttons()
return 1
/obj/item/device/flashlight/AltClick(mob/user)//chomp edit
attack_self(user)
/obj/item/device/flashlight/emp_act(severity)
for(var/obj/O in contents)
O.emp_act(severity)
@@ -58,6 +58,9 @@
update_icon()
to_chat(user, "<span class='notice'>\icon[src] You switch [scanning ? "on" : "off"] \the [src].</span>")
/obj/item/device/geiger/AltClick(mob/user)//chomp edit
attack_self(user)
/obj/item/device/geiger/update_icon()
if(!scanning)
icon_state = "geiger_off"
@@ -25,6 +25,9 @@
/obj/item/device/t_scanner/attack_self(mob/user)
set_active(!on)
/obj/item/device/t_scanner/AltClick(mob/user)//chomp edit
attack_self(user)
/obj/item/device/t_scanner/proc/set_active(var/active)
on = active
if(on)
+4
View File
@@ -53,6 +53,8 @@
return
update_clothing_icon() //so our overlays update
/obj/item/clothing/suit/storage/toggle/AltClick()//chomp edit
ToggleHood()
/obj/item/clothing/suit/storage/hooded/toggle
flags_inv = HIDEHOLSTER
@@ -79,6 +81,8 @@
return
update_clothing_icon() //so our overlays update
/obj/item/clothing/suit/storage/hooded/AltClick()//chomp edit
ToggleHood()
//New Vest 4 pocket storage and badge toggles, until suit accessories are a thing.
/obj/item/clothing/suit/storage/vest/heavy/New()