mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/obj/item/integrated_circuit/input/button/ask_for_input(mob/user) //Bit misleading name for this specific use.
|
/obj/item/integrated_circuit/input/button/ask_for_input(mob/user) //Bit misleading name for this specific use.
|
||||||
to_chat(user, "<span class='notice'>You press the button labeled '[src.name]'.</span>")
|
to_chat(user, "<span class='notice'>You press the button labeled '[src.displayed_name]'.</span>")
|
||||||
activate_pin(1)
|
activate_pin(1)
|
||||||
|
|
||||||
/obj/item/integrated_circuit/input/toggle_button
|
/obj/item/integrated_circuit/input/toggle_button
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
set_pin_data(IC_OUTPUT, 1, !get_pin_data(IC_OUTPUT, 1))
|
set_pin_data(IC_OUTPUT, 1, !get_pin_data(IC_OUTPUT, 1))
|
||||||
push_data()
|
push_data()
|
||||||
activate_pin(1)
|
activate_pin(1)
|
||||||
to_chat(user, "<span class='notice'>You toggle the button labeled '[src.name]' [get_pin_data(IC_OUTPUT, 1) ? "on" : "off"].</span>")
|
to_chat(user, "<span class='notice'>You toggle the button labeled '[src.displayed_name]' [get_pin_data(IC_OUTPUT, 1) ? "on" : "off"].</span>")
|
||||||
|
|
||||||
/obj/item/integrated_circuit/input/numberpad
|
/obj/item/integrated_circuit/input/numberpad
|
||||||
name = "number pad"
|
name = "number pad"
|
||||||
|
|||||||
Reference in New Issue
Block a user