************************************************************************************************************** ************************************************************************************************************** STIMULUS RESPONSE COMPATIBILITY TASK (SRCT) ************************************************************************************************************** ************************************************************************************************************** SCRIPT INFO This script is based on the original Inquisit script written by Barkby et al (2012) and edited and updated for Inquisit 4 by Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software LLC. last updated: 10-01-2014 by K.Borchert for Millisecond Software LLC Copyright © 10-01-2014 Millisecond Software ************************************************************************************************************** ************************************************************************************************************** SCRIPT DESCRIPTION/BACKGROUND INFO ************************************************************************************************************** ************************************************************************************************************** This script implements the Stimulus Response Compatibility Task (SRCT) as described in Barkby, H., Dickson, J.M., Roper, L., & Field, M. (2012). To Approach or Avoid Alcohol? Automatic and Self- Reported Motivational Tendencies in Alcohol Dependence. Alcoholism: Clinical and Experimental Research, 36, 361-368. Millisecond Software LLC thanks Dr. Matt Field for generously providing the original scripts as well as the original stimuli! TASK: Participants are presented with either an alcohol-related picture or a control picture. Depending on instructions, they are asked to press the arrow keys of the numeric key pad (default, can be changed under EDITABLE VALUES) so as to move a manikin, that is either presented above (top) or below (bottom) the picture, towards (or away) from the alcohol related pictures and away (towards) the control pictures. Script Specifics: STIMULI: 14 alcohol related and 14 control pictures. !!! NOTE: The stimuli are culturally specific and may not work for a study outside the intended culture. To use your own images go to STIMULI-> item.alcoholpics and item.controlpics and substitute your own. EXPERIMENT: Experiment runs 3 main blocks (block.main_approach_alc, block.main_avoid_alc, block.main_left_alc/block.main_right_alc). The order of the 3 main blocks is counterbalanced across participants. Furthermore, half the participants in each counterbalanced condition run block.main_right_alc, the other half run block.main_left_alc. => 6 experimental conditions, assignment by groupnumber (default, can be changed under EXPERIMENT) BLOCKS: 1. block.main_approach_alc: move the manikin towards alcohol related pictures and away from control pictures (in half the trials manikin is on top, in the other half the manikin is on the bottom) 2. block.main_avoid_alc: move the manikin away from alcohol related pictures and towards control pictures (in half the trials manikin is on top, in the other half the manikin is on the bottom) 3a. block.main_left_alc: move the manikin to the left for alcholo related pictures and to the right for control pictures (in half the trials manikin is on top, in the other half the manikin is on the bottom) 3b. block.main_right_alc: move the manikin to the right for alcholo related pictures and to the left for control pictures (in half the trials manikin is on top, in the other half the manikin is on the bottom) Each main block has 8 practice trials and 2 x 28 experimental trials (= 2 subblocks). For each subblock of each main block (e.g. block.main_approach_alc) the type of trial is randomly sampled from the four corresponding trials (e.g. trial.alcapproach_manikintop, trial.alcapproach_manikinbottom, trial.ctrlavoid_manikinbottom, trial.ctrlavoid_manikintop) without replacement => 14 alcohol images and 14 control images are shown, 7 of each with the manikin on top and 7 with the manikin on the bottom. Over the course of the 2 x 28 trials (= 2 subblocks), each picture appears twice (once in the first subblock, once in the second subblock), once with the manikin on top and once with the manikin on the bottom. TRIALS: * A blank screen is shown for 1000ms, followed by the alcholol-related or control picture with a manikin on top or on the bottom * a correct response is followed by showing a video of the manikin moving in the correct direction (duration: 1000ms) * an incorrect response is followed by a red "X" in the middle of the screen (duration: 1000ms) INSTRUCTIONS: Instructions are the originals. To edit go to INSTRUCTIONS. DATA: * collects accurary and latency data for each experimental (and practice) trial * check out DATA for details of what data are recorded in the data file per trial and edit if necessary ************************************************************************************************************** ************************************************************************************************************** DEFAULT SCREEN SETTING ************************************************************************************************************** ************************************************************************************************************** requires Inquisit 4.0.0.1 /canvasaspectratio = (4,3) /minimumversion = "4.0.0.1" / screencolor = (0, 0, 0) / fontstyle = ("Courier New", 2.50%, false, false, false, false, 5, 1) / txbgcolor = (255, 255, 255) / pretrialpause = 500 / inputdevice = keyboard ************************************************************************************************************** ************************************************************************************************************** VALUES ************************************************************************************************************** ************************************************************************************************************** *************************** editable (under values ) *************************** /responsekey_up = 21 default scancode for the up-key (key "Y"-->Z on German keyboard) /responsekey_down = 48 default scancode for the down-key (key "B") /responsekey_left = 33 default scancode for the left-key (key "F") /responsekey_right = 36 default scancode for the right-key (key "J") /upkeylabel = "Y" default label for the up key (used in instructions) /downkeylabel = "B" default label for the down key (used in instructions) /leftkeylabel = "F" default label for the left key (used in instructions) /rightkeylabel = "J" default label for the right key (used in instructions) /responsekey_up = 200 /responsekey_down = 208 /responsekey_left = 203 /responsekey_right = 205 /upkeylabel = "↑" /downkeylabel = "↓" /leftkeylabel = "←" /rightkeylabel = "→" ***************************** automatically updated at runtime ***************************** /completed: 0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run) /expcondition: 6 experimental conditions; subject assignment by groupnumber /Alc_A1-Alc_A7: variables that store 7 randomly assigned (during trial.Assignment) indices of the 14 alcohol pictures (these 7 indices are used for "manikin on top" trials in the first subblock, then for "manikin on bottom" trials during the second subblock of a main block) /Alc_B1-Alc_B7: the remaining 7 randomly assigned (during trial.Assignment) indices of the 14 alcohol pictures (these 7 indices are used for "manikin on bottom" trials in the first subblock, then for "manikin on top" trials during the second subblock of a main block) /Ctrl_A1-Ctrl_A7: variables that store 7 randomly assigned (during trial.Assignment) indices of the 14 conrol pictures (these 7 indices are used for "manikin on top" trials in the first subblock, then for "manikin on bottom" trials during the second subblock of a main block) /Ctrl_B1-Ctrl_B7: the remaining 7 randomly assigned (during trial.Assignment) indices of the 14 conrol pictures (these 7 indices are used for "manikin on bottom" trials in the first subblock, then for "manikin on top" trials during the second subblock of a main block) /temp1-temp7: helper variable to help switch "manikin on top" and "manikin on bottom" pictures during trial.Reassignment /nextpicture: determines the next image presented /selectalc: stores the index of the next alcohol image, used to select the relevant picture by picture.alcohol /selectctrl: stores the index of the next control image, used to select the relevant picture by picture.control /stimulus: contains the name of the picture image /completed = 0 /expcondition = 0 /Alc_A1 = 0 /Alc_A2 = 0 /Alc_A3 = 0 /Alc_A4 = 0 /Alc_A5 = 0 /Alc_A6 = 0 /Alc_A7 = 0 /Alc_A8 = 0 /Alc_A9 = 0 /Alc_A10 = 0 /Alc_A11 = 0 /Alc_A12 = 0 /Alc_A13 = 0 /Alc_A14 = 0 /Alc_A15 = 0 /Alc_A16 = 0 /Alc_A17 = 0 /Alc_A18 = 0 /Alc_A19 = 0 /Alc_A20 = 0 /Alc_B1 = 0 /Alc_B2 = 0 /Alc_B3 = 0 /Alc_B4 = 0 /Alc_B5 = 0 /Alc_B6 = 0 /Alc_B7 = 0 /Alc_B8 = 0 /Alc_B9 = 0 /Alc_B10 = 0 /Alc_B11 = 0 /Alc_B12 = 0 /Alc_B13 = 0 /Alc_B14 = 0 /Alc_B15 = 0 /Alc_B16 = 0 /Alc_B17 = 0 /Alc_B18 = 0 /Alc_B19 = 0 /Alc_B20 = 0 /CTRL_A1 = 0 /CTRL_A2 = 0 /CTRL_A3 = 0 /CTRL_A4 = 0 /CTRL_A5 = 0 /CTRL_A6 = 0 /CTRL_A7 = 0 /CTRL_A8 = 0 /CTRL_A9 = 0 /CTRL_A10 = 0 /CTRL_A11 = 0 /CTRL_A12 = 0 /CTRL_A13 = 0 /CTRL_A14 = 0 /CTRL_A15 = 0 /CTRL_A16 = 0 /CTRL_A17 = 0 /CTRL_A18 = 0 /CTRL_A19 = 0 /CTRL_A20 = 0 /CTRL_B1 = 0 /CTRL_B2 = 0 /CTRL_B3 = 0 /CTRL_B4 = 0 /CTRL_B5 = 0 /CTRL_B6 = 0 /CTRL_B7 = 0 /CTRL_B8 = 0 /CTRL_B9 = 0 /CTRL_B10 = 0 /CTRL_B11 = 0 /CTRL_B12 = 0 /CTRL_B13 = 0 /CTRL_B14 = 0 /CTRL_B15 = 0 /CTRL_B16 = 0 /CTRL_B17 = 0 /CTRL_B18 = 0 /CTRL_B19 = 0 /CTRL_B20 = 0 /temp1 = 0 /temp2 = 0 /temp3 = 0 /temp4 = 0 /temp5 = 0 /temp6 = 0 /temp7 = 0 /temp8 = 0 /temp9 = 0 /temp10 = 0 /temp11 = 0 /temp12 = 0 /temp13 = 0 /temp14 = 0 /temp15 = 0 /temp16 = 0 /temp17 = 0 /temp18 = 0 /temp19 = 0 /temp20 = 0 /nextpicture = 0 /selectalc = 0 /selectctrl = 0 /stimulus = "" ************************************************************************************************************** ************************************************************************************************************** DATA ************************************************************************************************************** ************************************************************************************************************** ******************** raw data ******************** build: Inquisit build date, time, subject, group: date and time script was run with the current subject/groupnumber /responsekey_up = 21 default scancode for the up-key (key "Y") /responsekey_down = 48 default scancode for the down-key (key "B") /responsekey_left = 33 default scancode for the left-key (key "F") /responsekey_right = 36 default scancode for the right-key (key "J") /expcondition: 6 experimental conditions; subject assignment by groupnumber Experiment runs 3 main blocks (block.main_approach_alc, block.main_avoid_alc, block.main_left_alc/block.main_right_alc). The order of the 3 main blocks is counterbalanced across participants. Furthermore, half the participants in each counterbalanced condition run block.main_right_alc, the other half run block.main_left_alc => 6 conditions blockcode, blocknum: the name and number of the current block trialcode, trialnum: the name and number of the currently recorded trial (Note: not all trials that are run might record data) /stimulus: contains the name of the picture image response: the participant's response correct: the correctness of the response (1 = correct; 0 = incorrect) latency: the response latency (in ms) /file = "SRCT_rawdata.iqdat" /separatefiles = false /columns = [build, date, time, subject, group, values.responsekey_up, values.responsekey_down, values.responsekey_left, values.responsekey_right, values.expcondition, blockcode, blocknum, trialcode, trialnum, values.stimulus, response, correct, latency] ******************** summary data ******************** script.startdate: date script was run script.starttime: time script was started script.subjectid: subject id number script.groupid: group id number script.elapsedtime: time it took to run script (in ms) /completed: 0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run) /expcondition: 6 experimental conditions; subject assignment by groupnumber Experiment runs 3 main blocks (block.main_approach_alc, block.main_avoid_alc, block.main_left_alc/block.main_right_alc). The order of the 3 main blocks is counterbalanced across participants. Furthermore, half the participants in each counterbalanced condition run block.main_right_alc, the other half run block.main_left_alc => 6 conditions /file = "SRCT_summary.iqdat" /columns = [script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed, values.expcondition] ************************************************************************************************************** ************************************************************************************************************** INSTRUCTIONS: original with minor edits ************************************************************************************************************** ************************************************************************************************************** / nextkey = (" ") / prevkey = ("p") / fontstyle = ("Arial", 2%, false, false, false, false, 5, 1) / txcolor = (0, 0, 0) / windowsize = (80%,60%) ^^^^^^^ Reaktionszeitaufgabe ^In dieser Aufgabe werden Sie Bilder in der Mitte des Bildschirms sehen. ^Ein kleines Strichmännchen wird über oder unter dem Bild erscheinen. ^^Ihre Aufgabe ist es, ^das Strichmännchen AUF DAS BILD ZU zu bewegen, wenn das Bild einen BLAUEN Rahmen hat, ^und das Strichmännchen VON DEM BILD WEG zu bewegen, wenn das Bild einen GELBEN Rahmen hat. ^^Sie können das Strichmännchen NACH UNTEN bewegen, indem Sie die Pfeiltaste "(<%values.downkeylabel%>)" drücken. ^Sie können das Strichmännchen NACH OBEN bewegen, indem Sie die Pfeiltaste "(<%values.upkeylabel%>)" drücken. ^Bitte bedienen Sie die Pfeiltasten mit dem Zeige- und Mittelfinger Ihrer dominanten Hand. ^^BEISPIEL: ^Wenn das Strichmännchen über einem Bild mit BLAUEM Rahmen erscheint, würden Sie die RUNTER-Taste (<%values.downkeylabel%>) drücken, um das Strichmännchen AUF DAS BILD ZU zu bewegen. ^Wenn aber das Strichmännchen über einem Bild mit GELBEM Rahmen erscheint, würden Sie die HOCH-Taste (<%values.upkeylabel%>) drücken, um das Strichmännchen VON DEM BILD WEG zu bewegen. ^^ ^^Reagieren Sie so schnell und fehlerfrei wie möglich. Wenn Sie einen Fehler machen, erscheint 'Fehler' auf dem Bildschirm. ^^Wenn Sie Fragen haben, stellen Sie diese bitte jetzt. ^^Drücken Sie die Leertaste, um mit den Übungsdurchgängen zu beginnen. ^^^^^^^^ ^Gleich geht es weiter. Also wie gehabt: ^^Bei einem BLAUEN Rahmen sollen Sie das Männchen AUF DAS BILD ZU bewegen, ^bei einem GELBEN Rahmen sollen Sie das Männchen VON DEM BILD WEG bewegen. ^^Wenn Sie noch Fragen haben, stellen Sie diese bitte jetzt. ^^Drücken Sie die Leertaste um weiter zu machen. ^In dieser Aufgabe werden Sie Bilder in der Mitte des Bildschirms sehen. ^Ein kleines Strichmännchen wird über oder unter dem Bild erscheinen. ^^Ihre Aufgabe ist es, ^das Strichmännchen AUF DAS BILD ZU zu bewegen, wenn das Bild einen GELBEN Rahmen hat, ^und das Strichmännchen VON DEM BILD WEG zu bewegen, wenn das Bild einen BLAUEN Rahmen hat. ^^Sie können das Strichmännchen NACH UNTEN bewegen, indem Sie die Pfeiltaste "(<%values.downkeylabel%>)" drücken. ^Sie können das Strichmännchen NACH OBEN bewegen, indem Sie die Pfeiltaste "(<%values.upkeylabel%>)" drücken. ^Bitte bedienen Sie die Pfeiltasten mit dem Zeige- und Mittelfinger Ihrer dominanten Hand. ^^BEISPIEL: ^Wenn das Strichmännchen über einem Bild mit BLAUEM Rahmen erscheint, würden Sie die HOCH-Taste (<%values.upkeylabel%>) drücken, um das Strichmännchen VON DEM BILD WEG zu bewegen. ^Wenn aber das Strichmännchen über einem Bild mit GELBEM Rahmen erscheint, würden Sie die RUNTER-Taste (<%values.downkeylabel%>) drücken, um das Strichmännchen AUF DAS BILD ZU zu bewegen. ^^ ^^Reagieren Sie so schnell und fehlerfrei wie möglich. Wenn Sie einen Fehler machen, erscheint 'Fehler' auf dem Bildschirm. ^^Wenn Sie Fragen haben, stellen Sie diese bitte jetzt. ^^Drücken Sie die Leertaste, um mit den Übungsdurchgängen zu beginnen. ^^^^^^^^ ^Gleich geht es weiter. Also wie gehabt: ^^Bei einem GELBEN Rahmen sollen Sie das Männchen AUF DAS BILD ZU bewegen, ^bei einem BLAUEN Rahmen sollen Sie das Männchen VON DEM BILD WEG bewegen. ^^Wenn Sie noch Fragen haben, stellen Sie diese bitte jetzt. ^^Drücken Sie die Leertaste um weiter zu machen. ^^^^^VIELEN DANK! Sie haben das Ende dieser Aufgabe erreicht. ^^^Gleich kommt die nächste Aufgabe. ************************************************************************************************************** ************************************************************************************************************** LISTS ************************************************************************************************************** ************************************************************************************************************** Note: list.alcoholindices is used during trial.assignment to randomly assign the 14 indices of the alcohol images to variables that determine whether they are presented with a manikin on top or on the bottom /items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) / replace = false / selectionrate = always /selectionmode = random Note: list.controlindices is used during trial.assignment to randomly assign the 14 indices of the control images to variables that determine whether they are presented with a manikin on top or on the bottom /items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) / replace = false / selectionrate = always /selectionmode = random Note: the following 4 lists help determine which pictures are presented during the experimental trials /items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) / replace = false / selectionrate = trial /selectionmode = random /items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) / replace = false / selectionrate = trial /selectionmode = random /items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) / replace = false / selectionrate = trial /selectionmode = random /items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20) / replace = false / selectionrate = trial /selectionmode = random ************************************************************************************************************** ************************************************************************************************************** STIMULI ************************************************************************************************************** ************************************************************************************************************** /1 = "R_A_Neu1_Blau.jpg" /2 = "R_A_Neu5_Blau.jpg" /3 = "R_H_Neu3_Blau.jpg" /4 = "R_K_Alt1_Blau.jpg" /5 = "R_K_Neu3_Blau.jpg" /6 = "R_Z_Alt1_Blau.jpg" /7 = "R_Z_Neu3_Blau.jpg" /8 = "R_Z_Neu7_Blau.jpg" /9 = "R_ZS_Neu3_Blau.jpg" /10 = "R_ZS_Neu7_Blau.jpg" / 11 = "N_HS_Alt1_Blau.jpg" / 12 = "N_HS_Neu5_Blau.jpg" / 13 = "N_HS_Neu9_Blau.jpg" / 14 = "N_K_Alt1_Blau.jpg" / 15 = "N_K_Neu1_Blau.jpg" / 16 = "N_K_Neu9_Blau.jpg" / 17 = "N_S_Neu1_Blau.jpg" / 18 = "N_S_Neu5_Blau.jpg" / 19 = "N_V_Alt1_Blau.jpg" / 20 = "N_V_Neu5_Blau.jpg" / items = alcoholpics / position = (50%,50%) / erase = false /select = values.selectalc / size = (50%, 50%) /1 = "R_A_Neu1_Gelb.jpg" /2 = "R_A_Neu5_Gelb.jpg" /3 = "R_H_Neu3_Gelb.jpg" /4 = "R_K_Alt1_Gelb.jpg" /5 = "R_K_Neu3_Gelb.jpg" /6 = "R_Z_Alt1_Gelb.jpg" /7 = "R_Z_Neu3_Gelb.jpg" /8 = "R_Z_Neu7_Gelb.jpg" /9 = "R_ZS_Neu3_Gelb.jpg" /10 = "R_ZS_Neu7_Gelb.jpg" / 11 = "N_HS_Alt1_Gelb.jpg" / 12 = "N_HS_Neu5_Gelb.jpg" / 13 = "N_HS_Neu9_Gelb.jpg" / 14 = "N_K_Alt1_Gelb.jpg" / 15 = "N_K_Neu1_Gelb.jpg" / 16 = "N_K_Neu9_Gelb.jpg" / 17 = "N_S_Neu1_Gelb.jpg" / 18 = "N_S_Neu5_Gelb.jpg" / 19 = "N_V_Alt1_Gelb.jpg" / 20 = "N_V_Neu5_Gelb.jpg" / items = controlpics / position = (50%,50%) / erase = false /select = values.selectctrl / size = (50%, 50%) ********************** Manikin static picture ********************** / items = ("manikin.jpg") / position= (50%, 10%) /size = (15%, 15%) / items = ("manikin.jpg") / position= (50%, 90%) /size = (15%, 15%) ********************** Manikin videos ********************** / precondition = [computer.platform=="win"] / file = "winvideos.iqx" / precondition = [computer.platform=="mac"] / file = "macvideos.iqx" ********************** Helper Stimuli ********************** / fontstyle = ("Arial", 6%, true, false, false, false, 5, 1) / items = ("Fehler") / txbgcolor = (0,0,0) / txcolor = (255, 0, 0) / position = (50%,50%) / erase = false / items = ("black.jpg") / erase = false ************************************************************************************************************** ************************************************************************************************************** UTILITY TRIALS ************************************************************************************************************** ************************************************************************************************************** NOTE: trial.assignment randomly assigns the 14 alcohol indices and the 14 control indices to variables that determine whether the images are shown with a manikin on top or on the bottom for the first subblock of a main block. /ontrialbegin = [values.Alc_A1 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A2 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A3 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A4 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A5 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A6 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A7 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A8 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A9 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A10 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A11 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A12 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A13 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A14 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A15 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A16 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A17 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A18 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A19 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_A20 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B1 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B2 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B3 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B4 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B5 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B6 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B7 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B8 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B9 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B10 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B11 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B12 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B13 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B14 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B15 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B16 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B17 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B18 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B19 = list.alcoholindices.nextvalue] /ontrialbegin = [values.Alc_B20 = list.alcoholindices.nextvalue] /ontrialbegin = [values.CTRL_A1 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A2 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A3 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A4 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A5 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A6 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A7 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A8 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A9 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A10 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A11 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A12 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A13 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A14 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A15 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A16 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A17 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A18 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A19 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_A20 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B1 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B2 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B3 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B4 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B5 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B6 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B7 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B8 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B9 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B10 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B11 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B12 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B13 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B14 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B15 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B16 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B17 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B18 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B19 = list.controlindices.nextvalue] /ontrialbegin = [values.CTRL_B20 = list.controlindices.nextvalue] /timeout = 0 /recorddata = false NOTE: trial.reassignment reassigns the images that were previously shown with a manikin on top to be presented with a manikin on the bottom (during the 2nd subblock of a main block). /ontrialbegin = [values.temp1 = values.alc_A1] /ontrialbegin = [values.temp2 = values.alc_A2] /ontrialbegin = [values.temp3 = values.alc_A3] /ontrialbegin = [values.temp4 = values.alc_A4] /ontrialbegin = [values.temp5 = values.alc_A5] /ontrialbegin = [values.temp6 = values.alc_A6] /ontrialbegin = [values.temp7 = values.alc_A7] /ontrialbegin = [values.temp8 = values.alc_A8] /ontrialbegin = [values.temp9 = values.alc_A9] /ontrialbegin = [values.temp10 = values.alc_A10] /ontrialbegin = [values.temp11 = values.alc_A11] /ontrialbegin = [values.temp12 = values.alc_A12] /ontrialbegin = [values.temp13 = values.alc_A13] /ontrialbegin = [values.temp14 = values.alc_A14] /ontrialbegin = [values.temp15 = values.alc_A15] /ontrialbegin = [values.temp16 = values.alc_A16] /ontrialbegin = [values.temp17 = values.alc_A17] /ontrialbegin = [values.temp18 = values.alc_A18] /ontrialbegin = [values.temp19 = values.alc_A19] /ontrialbegin = [values.temp20 = values.alc_A20] /ontrialbegin = [values.alc_A1 = values.alc_B1] /ontrialbegin = [values.alc_A2 = values.alc_B2] /ontrialbegin = [values.alc_A3 = values.alc_B3] /ontrialbegin = [values.alc_A4 = values.alc_B4] /ontrialbegin = [values.alc_A5 = values.alc_B5] /ontrialbegin = [values.alc_A6 = values.alc_B6] /ontrialbegin = [values.alc_A7 = values.alc_B7] /ontrialbegin = [values.alc_A8 = values.alc_B8] /ontrialbegin = [values.alc_A9 = values.alc_B9] /ontrialbegin = [values.alc_A10 = values.alc_B10] /ontrialbegin = [values.alc_A11 = values.alc_B11] /ontrialbegin = [values.alc_A12 = values.alc_B12] /ontrialbegin = [values.alc_A13 = values.alc_B13] /ontrialbegin = [values.alc_A14 = values.alc_B14] /ontrialbegin = [values.alc_A15 = values.alc_B15] /ontrialbegin = [values.alc_A16 = values.alc_B16] /ontrialbegin = [values.alc_A17 = values.alc_B17] /ontrialbegin = [values.alc_A18 = values.alc_B18] /ontrialbegin = [values.alc_A19 = values.alc_B19] /ontrialbegin = [values.alc_A20 = values.alc_B20] /ontrialbegin = [values.alc_B1 = values.temp1] /ontrialbegin = [values.alc_B2 = values.temp2] /ontrialbegin = [values.alc_B3 = values.temp3] /ontrialbegin = [values.alc_B4 = values.temp4] /ontrialbegin = [values.alc_B5 = values.temp5] /ontrialbegin = [values.alc_B6 = values.temp6] /ontrialbegin = [values.alc_B7 = values.temp7] /ontrialbegin = [values.alc_B8 = values.temp8] /ontrialbegin = [values.alc_B9 = values.temp9] /ontrialbegin = [values.alc_B10 = values.temp10] /ontrialbegin = [values.alc_B11 = values.temp11] /ontrialbegin = [values.alc_B12 = values.temp12] /ontrialbegin = [values.alc_B13 = values.temp13] /ontrialbegin = [values.alc_B14 = values.temp14] /ontrialbegin = [values.alc_B15 = values.temp15] /ontrialbegin = [values.alc_B16 = values.temp16] /ontrialbegin = [values.alc_B17 = values.temp17] /ontrialbegin = [values.alc_B18 = values.temp18] /ontrialbegin = [values.alc_B19 = values.temp19] /ontrialbegin = [values.alc_B20 = values.temp20] /ontrialbegin = [values.temp1 = values.ctrl_A1] /ontrialbegin = [values.temp2 = values.ctrl_A2] /ontrialbegin = [values.temp3 = values.ctrl_A3] /ontrialbegin = [values.temp4 = values.ctrl_A4] /ontrialbegin = [values.temp5 = values.ctrl_A5] /ontrialbegin = [values.temp6 = values.ctrl_A6] /ontrialbegin = [values.temp7 = values.ctrl_A7] /ontrialbegin = [values.ctrl_A1 = values.ctrl_B1] /ontrialbegin = [values.ctrl_A2 = values.ctrl_B2] /ontrialbegin = [values.ctrl_A3 = values.ctrl_B3] /ontrialbegin = [values.ctrl_A4 = values.ctrl_B4] /ontrialbegin = [values.ctrl_A5 = values.ctrl_B5] /ontrialbegin = [values.ctrl_A6 = values.ctrl_B6] /ontrialbegin = [values.ctrl_A7 = values.ctrl_B7] /ontrialbegin = [values.ctrl_A8 = values.ctrl_B8] /ontrialbegin = [values.ctrl_A9 = values.ctrl_B9] /ontrialbegin = [values.ctrl_A10 = values.ctrl_B10] /ontrialbegin = [values.ctrl_A11 = values.ctrl_B11] /ontrialbegin = [values.ctrl_A12 = values.ctrl_B12] /ontrialbegin = [values.ctrl_A13 = values.ctrl_B13] /ontrialbegin = [values.ctrl_A14 = values.ctrl_B14] /ontrialbegin = [values.ctrl_A15 = values.ctrl_B15] /ontrialbegin = [values.ctrl_A16 = values.ctrl_B16] /ontrialbegin = [values.ctrl_A17 = values.ctrl_B17] /ontrialbegin = [values.ctrl_A18 = values.ctrl_B18] /ontrialbegin = [values.ctrl_A19 = values.ctrl_B19] /ontrialbegin = [values.ctrl_A20 = values.ctrl_B20] /ontrialbegin = [values.ctrl_B1 = values.temp1] /ontrialbegin = [values.ctrl_B2 = values.temp2] /ontrialbegin = [values.ctrl_B3 = values.temp3] /ontrialbegin = [values.ctrl_B4 = values.temp4] /ontrialbegin = [values.ctrl_B5 = values.temp5] /ontrialbegin = [values.ctrl_B6 = values.temp6] /ontrialbegin = [values.ctrl_B7 = values.temp7] /ontrialbegin = [values.ctrl_B8 = values.temp8] /ontrialbegin = [values.ctrl_B9 = values.temp9] /ontrialbegin = [values.ctrl_B10 = values.temp10] /ontrialbegin = [values.ctrl_B11 = values.temp11] /ontrialbegin = [values.ctrl_B12 = values.temp12] /ontrialbegin = [values.ctrl_B13 = values.temp13] /ontrialbegin = [values.ctrl_B14 = values.temp14] /ontrialbegin = [values.ctrl_B15 = values.temp15] /ontrialbegin = [values.ctrl_B16 = values.temp16] /ontrialbegin = [values.ctrl_B17 = values.temp17] /ontrialbegin = [values.ctrl_B18 = values.temp18] /ontrialbegin = [values.ctrl_B19 = values.temp19] /ontrialbegin = [values.ctrl_B20 = values.temp20] /timeout = 0 /recorddata = false ************************************************************************************************************** ************************************************************************************************************** EXPERIMENTAL TRIALS ************************************************************************************************************** ************************************************************************************************************** NOTE: the following trials are the experimental trials. * They select the next picture randomly (and determine the appropriate image index from the corresponding image pool (e.g. alcohol images assigned to "top" and "bottom" trials)) * They show a blank screen for 1000ms, followed by the image * Depending on accuracy of response present a video of a moving manikin (Correct) or a red X in the middle of the screen (Error) *******alcohol picture man top approach: 1 /ontrialbegin = [values.nextpicture = list.alctop_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectalc = values.alc_A1] /ontrialbegin = [if (values.nextpicture == 2) values.selectalc = values.alc_A2] /ontrialbegin = [if (values.nextpicture == 3) values.selectalc = values.alc_A3] /ontrialbegin = [if (values.nextpicture == 4) values.selectalc = values.alc_A4] /ontrialbegin = [if (values.nextpicture == 5) values.selectalc = values.alc_A5] /ontrialbegin = [if (values.nextpicture == 6) values.selectalc = values.alc_A6] /ontrialbegin = [if (values.nextpicture == 7) values.selectalc = values.alc_A7] /ontrialbegin = [if (values.nextpicture == 8) values.selectalc = values.alc_A8] /ontrialbegin = [if (values.nextpicture == 9) values.selectalc = values.alc_A9] /ontrialbegin = [if (values.nextpicture == 10) values.selectalc = values.alc_A10] /ontrialbegin = [if (values.nextpicture == 11) values.selectalc = values.alc_A11] /ontrialbegin = [if (values.nextpicture == 12) values.selectalc = values.alc_A12] /ontrialbegin = [if (values.nextpicture == 13) values.selectalc = values.alc_A13] /ontrialbegin = [if (values.nextpicture == 14) values.selectalc = values.alc_A14] /ontrialbegin = [if (values.nextpicture == 15) values.selectalc = values.alc_A15] /ontrialbegin = [if (values.nextpicture == 16) values.selectalc = values.alc_A16] /ontrialbegin = [if (values.nextpicture == 17) values.selectalc = values.alc_A17] /ontrialbegin = [if (values.nextpicture == 18) values.selectalc = values.alc_A18] /ontrialbegin = [if (values.nextpicture == 19) values.selectalc = values.alc_A19] /ontrialbegin = [if (values.nextpicture == 20) values.selectalc = values.alc_A20] / stimulustimes = [0 = blank; 1000=manikintop,alcohol] /isvalidresponse = [trial.AlcApproach_ManikinTop.response == values.responsekey_up || trial.AlcApproach_ManikinTop.response == values.responsekey_down] /iscorrectresponse = [trial.AlcApproach_ManikinTop.response == values.responsekey_down] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.alcohol.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_top_movedown, 1000) *******alcohol picture man bottom approach: 2 /ontrialbegin = [values.nextpicture = list.alcbottom_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectalc = values.alc_B1] /ontrialbegin = [if (values.nextpicture == 2) values.selectalc = values.alc_B2] /ontrialbegin = [if (values.nextpicture == 3) values.selectalc = values.alc_B3] /ontrialbegin = [if (values.nextpicture == 4) values.selectalc = values.alc_B4] /ontrialbegin = [if (values.nextpicture == 5) values.selectalc = values.alc_B5] /ontrialbegin = [if (values.nextpicture == 6) values.selectalc = values.alc_B6] /ontrialbegin = [if (values.nextpicture == 7) values.selectalc = values.alc_B7] /ontrialbegin = [if (values.nextpicture == 8) values.selectalc = values.alc_B8] /ontrialbegin = [if (values.nextpicture == 9) values.selectalc = values.alc_B9] /ontrialbegin = [if (values.nextpicture == 10) values.selectalc = values.alc_B10] /ontrialbegin = [if (values.nextpicture == 11) values.selectalc = values.alc_B11] /ontrialbegin = [if (values.nextpicture == 12) values.selectalc = values.alc_B12] /ontrialbegin = [if (values.nextpicture == 13) values.selectalc = values.alc_B13] /ontrialbegin = [if (values.nextpicture == 14) values.selectalc = values.alc_B14] /ontrialbegin = [if (values.nextpicture == 15) values.selectalc = values.alc_B15] /ontrialbegin = [if (values.nextpicture == 16) values.selectalc = values.alc_B16] /ontrialbegin = [if (values.nextpicture == 17) values.selectalc = values.alc_B17] /ontrialbegin = [if (values.nextpicture == 18) values.selectalc = values.alc_B18] /ontrialbegin = [if (values.nextpicture == 19) values.selectalc = values.alc_B19] /ontrialbegin = [if (values.nextpicture == 20) values.selectalc = values.alc_B20] / stimulustimes = [0 = blank; 1000=manikinbottom,alcohol] /isvalidresponse = [trial.AlcApproach_ManikinBottom.response == values.responsekey_up || trial.AlcApproach_ManikinBottom.response == values.responsekey_down] /iscorrectresponse = [trial.AlcApproach_ManikinBottom.response == values.responsekey_up] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.alcohol.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_bottom_moveup, 1000) *******alcohol picture man top avoid: 3 /ontrialbegin = [values.nextpicture = list.alctop_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectalc = values.alc_A1] /ontrialbegin = [if (values.nextpicture == 2) values.selectalc = values.alc_A2] /ontrialbegin = [if (values.nextpicture == 3) values.selectalc = values.alc_A3] /ontrialbegin = [if (values.nextpicture == 4) values.selectalc = values.alc_A4] /ontrialbegin = [if (values.nextpicture == 5) values.selectalc = values.alc_A5] /ontrialbegin = [if (values.nextpicture == 6) values.selectalc = values.alc_A6] /ontrialbegin = [if (values.nextpicture == 7) values.selectalc = values.alc_A7] /ontrialbegin = [if (values.nextpicture == 8) values.selectalc = values.alc_A8] /ontrialbegin = [if (values.nextpicture == 9) values.selectalc = values.alc_A9] /ontrialbegin = [if (values.nextpicture == 10) values.selectalc = values.alc_A10] /ontrialbegin = [if (values.nextpicture == 11) values.selectalc = values.alc_A11] /ontrialbegin = [if (values.nextpicture == 12) values.selectalc = values.alc_A12] /ontrialbegin = [if (values.nextpicture == 13) values.selectalc = values.alc_A13] /ontrialbegin = [if (values.nextpicture == 14) values.selectalc = values.alc_A14] /ontrialbegin = [if (values.nextpicture == 15) values.selectalc = values.alc_A15] /ontrialbegin = [if (values.nextpicture == 16) values.selectalc = values.alc_A16] /ontrialbegin = [if (values.nextpicture == 17) values.selectalc = values.alc_A17] /ontrialbegin = [if (values.nextpicture == 18) values.selectalc = values.alc_A18] /ontrialbegin = [if (values.nextpicture == 19) values.selectalc = values.alc_A19] /ontrialbegin = [if (values.nextpicture == 20) values.selectalc = values.alc_A20] / stimulustimes = [0 = blank; 1000=manikintop,alcohol] /isvalidresponse = [trial.AlcAvoid_ManikinTop.response == values.responsekey_up || trial.AlcAvoid_ManikinTop.response == values.responsekey_down] /iscorrectresponse = [trial.AlcAvoid_ManikinTop.response == values.responsekey_up] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.alcohol.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_top_moveup, 1000) *******alcohol picture man bottom avoid: 4 /ontrialbegin = [values.nextpicture = list.alcbottom_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectalc = values.alc_B1] /ontrialbegin = [if (values.nextpicture == 2) values.selectalc = values.alc_B2] /ontrialbegin = [if (values.nextpicture == 3) values.selectalc = values.alc_B3] /ontrialbegin = [if (values.nextpicture == 4) values.selectalc = values.alc_B4] /ontrialbegin = [if (values.nextpicture == 5) values.selectalc = values.alc_B5] /ontrialbegin = [if (values.nextpicture == 6) values.selectalc = values.alc_B6] /ontrialbegin = [if (values.nextpicture == 7) values.selectalc = values.alc_B7] /ontrialbegin = [if (values.nextpicture == 8) values.selectalc = values.alc_B8] /ontrialbegin = [if (values.nextpicture == 9) values.selectalc = values.alc_B9] /ontrialbegin = [if (values.nextpicture == 10) values.selectalc = values.alc_B10] /ontrialbegin = [if (values.nextpicture == 11) values.selectalc = values.alc_B11] /ontrialbegin = [if (values.nextpicture == 12) values.selectalc = values.alc_B12] /ontrialbegin = [if (values.nextpicture == 13) values.selectalc = values.alc_B13] /ontrialbegin = [if (values.nextpicture == 14) values.selectalc = values.alc_B14] /ontrialbegin = [if (values.nextpicture == 15) values.selectalc = values.alc_B15] /ontrialbegin = [if (values.nextpicture == 16) values.selectalc = values.alc_B16] /ontrialbegin = [if (values.nextpicture == 17) values.selectalc = values.alc_B17] /ontrialbegin = [if (values.nextpicture == 18) values.selectalc = values.alc_B18] /ontrialbegin = [if (values.nextpicture == 19) values.selectalc = values.alc_B19] /ontrialbegin = [if (values.nextpicture == 20) values.selectalc = values.alc_B20] / stimulustimes = [0 = blank; 1000=manikinbottom,alcohol] /isvalidresponse = [trial.AlcAvoid_ManikinBottom.response == values.responsekey_up || trial.AlcAvoid_ManikinBottom.response == values.responsekey_down] /iscorrectresponse = [trial.AlcAvoid_ManikinBottom.response == values.responsekey_down] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.alcohol.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_bottom_movedown, 1000) *******control picture man top approach: 5 /ontrialbegin = [values.nextpicture = list.ctrltop_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectctrl = values.ctrl_A1] /ontrialbegin = [if (values.nextpicture == 2) values.selectctrl = values.ctrl_A2] /ontrialbegin = [if (values.nextpicture == 3) values.selectctrl = values.ctrl_A3] /ontrialbegin = [if (values.nextpicture == 4) values.selectctrl = values.ctrl_A4] /ontrialbegin = [if (values.nextpicture == 5) values.selectctrl = values.ctrl_A5] /ontrialbegin = [if (values.nextpicture == 6) values.selectctrl = values.ctrl_A6] /ontrialbegin = [if (values.nextpicture == 7) values.selectctrl = values.ctrl_A7] /ontrialbegin = [if (values.nextpicture == 8) values.selectctrl = values.ctrl_A8] /ontrialbegin = [if (values.nextpicture == 9) values.selectctrl = values.ctrl_A9] /ontrialbegin = [if (values.nextpicture == 10) values.selectctrl = values.ctrl_A10] /ontrialbegin = [if (values.nextpicture == 11) values.selectctrl = values.ctrl_A11] /ontrialbegin = [if (values.nextpicture == 12) values.selectctrl = values.ctrl_A12] /ontrialbegin = [if (values.nextpicture == 13) values.selectctrl = values.ctrl_A13] /ontrialbegin = [if (values.nextpicture == 14) values.selectctrl = values.ctrl_A14] /ontrialbegin = [if (values.nextpicture == 15) values.selectctrl = values.ctrl_A15] /ontrialbegin = [if (values.nextpicture == 16) values.selectctrl = values.ctrl_A16] /ontrialbegin = [if (values.nextpicture == 17) values.selectctrl = values.ctrl_A17] /ontrialbegin = [if (values.nextpicture == 18) values.selectctrl = values.ctrl_A18] /ontrialbegin = [if (values.nextpicture == 19) values.selectctrl = values.ctrl_A19] /ontrialbegin = [if (values.nextpicture == 20) values.selectctrl = values.ctrl_A20] / stimulustimes = [0 = blank; 1000=manikintop,control] /isvalidresponse = [trial.CtrlApproch_ManikinTop.response == values.responsekey_up || trial.CtrlApproch_ManikinTop.response == values.responsekey_down] /iscorrectresponse = [trial.CtrlApproch_ManikinTop.response == values.responsekey_down] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.control.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_top_movedown, 1000) *******control picture man bottom approach: 6 /ontrialbegin = [values.nextpicture = list.ctrlbottom_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectctrl = values.ctrl_B1] /ontrialbegin = [if (values.nextpicture == 2) values.selectctrl = values.ctrl_B2] /ontrialbegin = [if (values.nextpicture == 3) values.selectctrl = values.ctrl_B3] /ontrialbegin = [if (values.nextpicture == 4) values.selectctrl = values.ctrl_B4] /ontrialbegin = [if (values.nextpicture == 5) values.selectctrl = values.ctrl_B5] /ontrialbegin = [if (values.nextpicture == 6) values.selectctrl = values.ctrl_B6] /ontrialbegin = [if (values.nextpicture == 7) values.selectctrl = values.ctrl_B7] /ontrialbegin = [if (values.nextpicture == 8) values.selectctrl = values.ctrl_B8] /ontrialbegin = [if (values.nextpicture == 9) values.selectctrl = values.ctrl_B9] /ontrialbegin = [if (values.nextpicture == 10) values.selectctrl = values.ctrl_B10] /ontrialbegin = [if (values.nextpicture == 11) values.selectctrl = values.ctrl_B11] /ontrialbegin = [if (values.nextpicture == 12) values.selectctrl = values.ctrl_B12] /ontrialbegin = [if (values.nextpicture == 13) values.selectctrl = values.ctrl_B13] /ontrialbegin = [if (values.nextpicture == 14) values.selectctrl = values.ctrl_B14] /ontrialbegin = [if (values.nextpicture == 15) values.selectctrl = values.ctrl_B15] /ontrialbegin = [if (values.nextpicture == 16) values.selectctrl = values.ctrl_B16] /ontrialbegin = [if (values.nextpicture == 17) values.selectctrl = values.ctrl_B17] /ontrialbegin = [if (values.nextpicture == 18) values.selectctrl = values.ctrl_B18] /ontrialbegin = [if (values.nextpicture == 19) values.selectctrl = values.ctrl_B19] /ontrialbegin = [if (values.nextpicture == 20) values.selectctrl = values.ctrl_B20] / stimulustimes = [0 = blank; 1000=manikinbottom,control] /isvalidresponse = [trial.CtrlApproach_ManikinBottom.response == values.responsekey_up || trial.CtrlApproach_ManikinBottom.response == values.responsekey_down] /iscorrectresponse = [trial.CtrlApproach_ManikinBottom.response == values.responsekey_up] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.control.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_bottom_moveup, 1000) *******control picture man top avoid: 7 /ontrialbegin = [values.nextpicture = list.ctrltop_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectctrl = values.ctrl_A1] /ontrialbegin = [if (values.nextpicture == 2) values.selectctrl = values.ctrl_A2] /ontrialbegin = [if (values.nextpicture == 3) values.selectctrl = values.ctrl_A3] /ontrialbegin = [if (values.nextpicture == 4) values.selectctrl = values.ctrl_A4] /ontrialbegin = [if (values.nextpicture == 5) values.selectctrl = values.ctrl_A5] /ontrialbegin = [if (values.nextpicture == 6) values.selectctrl = values.ctrl_A6] /ontrialbegin = [if (values.nextpicture == 7) values.selectctrl = values.ctrl_A7] /ontrialbegin = [if (values.nextpicture == 8) values.selectctrl = values.ctrl_A8] /ontrialbegin = [if (values.nextpicture == 9) values.selectctrl = values.ctrl_A9] /ontrialbegin = [if (values.nextpicture == 10) values.selectctrl = values.ctrl_A10] /ontrialbegin = [if (values.nextpicture == 11) values.selectctrl = values.ctrl_A11] /ontrialbegin = [if (values.nextpicture == 12) values.selectctrl = values.ctrl_A12] /ontrialbegin = [if (values.nextpicture == 13) values.selectctrl = values.ctrl_A13] /ontrialbegin = [if (values.nextpicture == 14) values.selectctrl = values.ctrl_A14] /ontrialbegin = [if (values.nextpicture == 15) values.selectctrl = values.ctrl_A15] /ontrialbegin = [if (values.nextpicture == 16) values.selectctrl = values.ctrl_A16] /ontrialbegin = [if (values.nextpicture == 17) values.selectctrl = values.ctrl_A17] /ontrialbegin = [if (values.nextpicture == 18) values.selectctrl = values.ctrl_A18] /ontrialbegin = [if (values.nextpicture == 19) values.selectctrl = values.ctrl_A19] /ontrialbegin = [if (values.nextpicture == 20) values.selectctrl = values.ctrl_A20] / stimulustimes = [0 = blank; 1000=manikintop,control] /isvalidresponse = [trial.CtrlAvoid_ManikinTop.response == values.responsekey_up || trial.CtrlAvoid_ManikinTop.response == values.responsekey_down] /iscorrectresponse = [trial.CtrlAvoid_ManikinTop.response == values.responsekey_up] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.control.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_top_moveup, 1000) *******control picture man bottom avoid: 8 /ontrialbegin = [values.nextpicture = list.ctrlbottom_pictureindex.nextvalue] /ontrialbegin = [if (values.nextpicture == 1) values.selectctrl = values.ctrl_B1] /ontrialbegin = [if (values.nextpicture == 2) values.selectctrl = values.ctrl_B2] /ontrialbegin = [if (values.nextpicture == 3) values.selectctrl = values.ctrl_B3] /ontrialbegin = [if (values.nextpicture == 4) values.selectctrl = values.ctrl_B4] /ontrialbegin = [if (values.nextpicture == 5) values.selectctrl = values.ctrl_B5] /ontrialbegin = [if (values.nextpicture == 6) values.selectctrl = values.ctrl_B6] /ontrialbegin = [if (values.nextpicture == 7) values.selectctrl = values.ctrl_B7] /ontrialbegin = [if (values.nextpicture == 8) values.selectctrl = values.ctrl_B8] /ontrialbegin = [if (values.nextpicture == 9) values.selectctrl = values.ctrl_B9] /ontrialbegin = [if (values.nextpicture == 10) values.selectctrl = values.ctrl_B10] /ontrialbegin = [if (values.nextpicture == 11) values.selectctrl = values.ctrl_B11] /ontrialbegin = [if (values.nextpicture == 12) values.selectctrl = values.ctrl_B12] /ontrialbegin = [if (values.nextpicture == 13) values.selectctrl = values.ctrl_B13] /ontrialbegin = [if (values.nextpicture == 14) values.selectctrl = values.ctrl_B14] /ontrialbegin = [if (values.nextpicture == 15) values.selectctrl = values.ctrl_B15] /ontrialbegin = [if (values.nextpicture == 16) values.selectctrl = values.ctrl_B16] /ontrialbegin = [if (values.nextpicture == 17) values.selectctrl = values.ctrl_B17] /ontrialbegin = [if (values.nextpicture == 18) values.selectctrl = values.ctrl_B18] /ontrialbegin = [if (values.nextpicture == 19) values.selectctrl = values.ctrl_B19] /ontrialbegin = [if (values.nextpicture == 20) values.selectctrl = values.ctrl_B20] / stimulustimes = [0 = blank; 1000=manikinbottom,control] /isvalidresponse = [trial.CtrlAvoid_ManikinBottom.response == values.responsekey_up || trial.CtrlAvoid_ManikinBottom.response == values.responsekey_down] /iscorrectresponse = [trial.CtrlAvoid_ManikinBottom.response == values.responsekey_down] /monkeyresponse = (21,48) /ontrialend = [values.stimulus = picture.control.currentitem] / errormessage = (Error, 400) / correctmessage = (manikin_bottom_movedown, 1000) ************************************************************************************************************** ************************************************************************************************************** UTILITY BLOCKS ************************************************************************************************************** ************************************************************************************************************** These blocks run trial.Assignment and trial.Reassignment to ensure that each picture is presented once with the manikin on top and once with the manikin on the bottom /trials = [1 = assignment] /trials = [1 = reassignment] ************************************************************************************************************** ************************************************************************************************************** PRACTICE BLOCKS ************************************************************************************************************** ************************************************************************************************************** / screencolor = (0, 0, 0) / preinstructions = (practise_approach_alc) / trials = [1-8 = noreplace(AlcApproach_ManikinTop,AlcApproach_ManikinBottom,CtrlAvoid_ManikinTop,CtrlAvoid_ManikinBottom)] /onblockend = [reset(list.alcbottom_pictureindex); reset(list.alctop_pictureindex); reset(list.ctrlbottom_pictureindex); reset(list.ctrltop_pictureindex)] / screencolor = (0, 0, 0) / preinstructions = (practise_avoid_alc) / trials = [1-8 = noreplace(AlcAvoid_ManikinTop,AlcAvoid_ManikinBottom,CtrlApproch_ManikinTop,CtrlApproach_ManikinBottom)] /onblockend = [reset(list.alcbottom_pictureindex); reset(list.alctop_pictureindex); reset(list.ctrlbottom_pictureindex); reset(list.ctrltop_pictureindex)] ************************************************************************************************************** ************************************************************************************************************** EXPERIMENTAL BLOCKS ************************************************************************************************************** ************************************************************************************************************** / screencolor = (0, 0, 0) / preinstructions = (main_approach_alc) / trials = [1-80 = noreplace(AlcApproach_ManikinTop,AlcApproach_ManikinBottom,CtrlAvoid_ManikinTop,CtrlAvoid_ManikinBottom)] / screencolor = (0, 0, 0) / preinstructions = (main_avoid_alc) / trials = [1-80 = noreplace(AlcAvoid_ManikinTop,AlcAvoid_ManikinBottom,CtrlApproch_ManikinTop,CtrlApproach_ManikinBottom)] ************************************************************************************************************** ************************************************************************************************************** EXPERIMENT ************************************************************************************************************** ************************************************************************************************************** NOTE: * 6 experimental conditions: assignment by groupnumber (default, can be changed under /groupassignment) * each expt runs 3 main blocks * each of those 3 main blocks are divided into: assignment, practice, experimental subblock 1, reassignment, experimental subblock 2 */subjects = (1 of 6) */subjects = (2 of 6) /onexptbegin = [values.expcondition = 1] /subjects = (1 of 2) /groupassignment = subjectnumber /blocks = [1 = Assignment; 2 = practise_approach_alc; 3 = main_approach_alc; 4 = Reassignment; 5 = main_approach_alc] / postinstructions = (end) /onexptend = [values.completed = 1] /onexptbegin = [values.expcondition = 2] /subjects = (2 of 2) /groupassignment = subjectnumber /blocks = [1 = Assignment; 2 = practise_avoid_alc; 3 = main_avoid_alc; 4 = Reassignment; 5 = main_avoid_alc] / postinstructions = (end) /onexptend = [values.completed = 1] ************************************************************************************************************** END OF FILE **************************************************************************************************************