mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-22 12:47:43 +01:00
button
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
/datum/action/small_sprite/drake/akatosh
|
||||
small_icon = 'sandcode/icons/mob/lavaland/drakeling_greyscale.dmi'
|
||||
small_icon_state = "ash_whelp"
|
||||
|
||||
/datum/action/item_action/toggle_light/Trigger()
|
||||
if(istype(target, /obj/item/pda))
|
||||
var/obj/item/pda/P = target
|
||||
P.toggle_light(owner)
|
||||
return
|
||||
..()
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
/obj/item/pda
|
||||
actions_types = list(/datum/action/item_action/toggle_light)
|
||||
Reference in New Issue
Block a user