Merge pull request #6224 from MagmaRam/IC_input_fix

Fix for some electronics buttons having the wrong label on their pulses.
This commit is contained in:
Anewbe
2019-06-21 17:25:44 -05:00
committed by VirgoBot
parent 664fcbcffe
commit 7b724d59d5

View File

@@ -14,7 +14,7 @@
can_be_asked_input = 1 can_be_asked_input = 1
inputs = list() inputs = list()
outputs = list() outputs = list()
activators = list("on pressed" = IC_PINTYPE_PULSE_IN) activators = list("on pressed" = IC_PINTYPE_PULSE_OUT)
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
@@ -31,7 +31,7 @@
can_be_asked_input = 1 can_be_asked_input = 1
inputs = list() inputs = list()
outputs = list("on" = IC_PINTYPE_BOOLEAN) outputs = list("on" = IC_PINTYPE_BOOLEAN)
activators = list("on toggle" = IC_PINTYPE_PULSE_IN) activators = list("on toggle" = IC_PINTYPE_PULSE_OUT)
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
/obj/item/integrated_circuit/input/toggle_button/ask_for_input(mob/user) // Ditto. /obj/item/integrated_circuit/input/toggle_button/ask_for_input(mob/user) // Ditto.
@@ -48,7 +48,7 @@
can_be_asked_input = 1 can_be_asked_input = 1
inputs = list() inputs = list()
outputs = list("number entered" = IC_PINTYPE_NUMBER) outputs = list("number entered" = IC_PINTYPE_NUMBER)
activators = list("on entered" = IC_PINTYPE_PULSE_IN) activators = list("on entered" = IC_PINTYPE_PULSE_OUT)
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
power_draw_per_use = 4 power_draw_per_use = 4
@@ -67,7 +67,7 @@
can_be_asked_input = 1 can_be_asked_input = 1
inputs = list() inputs = list()
outputs = list("string entered" = IC_PINTYPE_STRING) outputs = list("string entered" = IC_PINTYPE_STRING)
activators = list("on entered" = IC_PINTYPE_PULSE_IN) activators = list("on entered" = IC_PINTYPE_PULSE_OUT)
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
power_draw_per_use = 4 power_draw_per_use = 4
@@ -86,7 +86,7 @@
can_be_asked_input = 1 can_be_asked_input = 1
inputs = list() inputs = list()
outputs = list("color entered" = IC_PINTYPE_COLOR) outputs = list("color entered" = IC_PINTYPE_COLOR)
activators = list("on entered" = IC_PINTYPE_PULSE_IN) activators = list("on entered" = IC_PINTYPE_PULSE_OUT)
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
power_draw_per_use = 4 power_draw_per_use = 4