/ stimulustimes = [0 = alc] / validresponse = (0) / trialduration = 3000 / ontrialbegin = [values.image_cat = "ALC"; values.image_name = picture.alc.currentitem] / ontrialend = [values.image_cat = "ALC"; values.image_name = picture.alc.currentitem] / responsetrial = (0, rating) / correctresponse = (0) / beginresponsetime = 3000 / stimulustimes = [0 = nonalc] / validresponse = (0) / trialduration = 3000 / ontrialbegin = [values.image_cat = "NONALC"; values.image_name = picture.nonalc.currentitem] / ontrialend = [values.image_cat = "NONALC"; values.image_name = picture.nonalc.currentitem] / responsetrial = (0, rating) / correctresponse = (0) / beginresponsetime = 3000 / questions = [1 = stim_slider1; 2 = stim_slider2] / stimulusframes = [1 = slider_q1, slider_l1, slider_r1, slider_remind, slider_q2, slider_l2, slider_r2, slider_remind] / showpagenumbers = false / showquestionnumbers = false / finishlabel = "Submit" / timeout = 10000 / navigationbuttonfontstyle = ("Arial", 2.5%, true) / nextbuttonposition = (46.75%, 85%) / ontrialbegin = [if (values.image_cat == "ALC") {values.image_cat = "ALC"; values.image_name = picture.alc.currentitem}] / ontrialbegin = [if (values.image_cat == "NONALC") {values.image_name = picture.nonalc.currentitem; values.image_cat = "NONALC"}] / ontrialend = [if (values.image_cat == "ALC" && surveypage.rating.correct == true) {values.alc_num += 1; values.alc_enjoy_sum += slider.stim_slider1.response; values.alc_want_sum += slider.stim_slider2.response; values.alc_rt_sum += surveypage.rating.latency;};] / ontrialend = [if (values.image_cat == "NONALC" && surveypage.rating.correct == true) {values.nonalc_num += 1; values.nonalc_enjoy_sum += slider.stim_slider1.response; values.nonalc_want_sum += slider.stim_slider2.response; values.nonalc_rt_sum += surveypage.rating.latency;};] / ontrialend = [if (values.image_cat == "ALC") values.image_name = picture.alc.currentitem] / ontrialend = [if (values.image_cat == "NONALC") values.image_name = picture.nonalc.currentitem] / ontrialend = [if (slider.stim_slider1.response == "50" && slider.stim_slider2.response == "50" && surveypage.rating.latency < 10000) surveypage.rating.correct == true] / response = timeout (10000) / iscorrectresponse = [slider.stim_slider1.latency < 10000 && slider.stim_slider2.latency < 10000] / range = (0, 100) / increment = 1 / slidersize = (80%, 50%) / position= (10%, 35%) / showtooltips = false / range = (0, 100) / increment = 1 / slidersize = (80%, 50%) / position = (10%, 65%) / showtooltips = false