<text poswhite>
/ items = posw
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ txcolor = (255,255,255)
</text>

<item posw>
/ 1 = "        HEALTHY        "
/ 2 = "        HONEST         "
/ 3 = "         SMART         "
/ 4 = "         FUNNY         "
/ 5 = "       OUTSTANDING     "
</item>


<text negwhite>
/ items = negw
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ txcolor = (255,255,255)
</text>

<item negw>
/ 1 = "         EVIL          "
/ 2 = "        HORRIBLE       "
/ 3 = "         MEAN          "
/ 4 = "        VULGAR         "
/ 5 = "        REPULSIVE      "
</item>


<text posgreen>
/ items = pos
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ txcolor = (0,150,125)
</text>

<text posblue>
/ items = pos
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ txcolor = (0,125,150)
</text>

<item pos>
/ 1 = "        FRIEND        "
/ 2 = "        SUMMER        "
/ 3 = "        LOVE          "
/ 4 = "        PEACE         "
/ 5 = "        SMILE         "
</item>

 <text neggreen>
/ items = neg 
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ txcolor = (0,150,125)
</text>

<text negblue>
/ items = neg
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ txcolor = (0,125,150)
</text>

<item neg>
/ 1 = "       MURDER        "
/ 2 = "       CANCER        "
/ 3 = "       COCKROACH      "
/ 4 = "        WAR          "
/ 5 = "       VOMIT         "
</item>


<text errormessage>  
/ items = ("         X        ")
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ color = (255, 0, 0)
</text>

<text fixation>  
/ items = ("          *        ")
/ font = ("Arial Black", -48, 400, 0, 34)
/ txbgcolor = (0,0,0)
/ color = (255, 255, 255)
</text>


<instruct>  
/ nextkey = ("n")
/ prevkey = ("p")
/ font = ("Arial", -16, 400, 0, 34)
/ windowsize = (1024,768)
</instruct>

<page intro>
^^^^^^^
REACTION TIME TASK
</page>

<page upbg>
In this experiment, words will appear on the screen one by one. Your task is to press the good (P) or bad (Q) key^^
on the keyboard depending on the meaning or colour of the word.^^^
If the word is white (i.e., is not coloured) then the meaning of the words is important. For white words, press the^^
good key (P) if the word refers to something positive (e.g., FUNNY). Press the bad key (Q) if the words refers^^
to something negative (e.g., EVIL).^^^
If the word is coloured, then press the good or bad key on the basis of the colour of the word. If the word has^^
a blue-ish colour, press the good key. If the word has a green-ish colour, press the bad key. The colours are quite^^
hard to discriminate, but you will be shown how the colours look like in a moment. Note that the meaning of the coloured^^
words is unimportant and should be ignored.^^^
If you give an incorrect response, a red cross will appear on the screen. Try to respond as quickly but also as accurately as possible.^^^
This experiment will last about 15 minutes. There are two practice blocks and four test blocks.
</page>

<page upgb>
In this experiment, words will appear on the screen one by one. Your task is to press the good (P) or bad (Q) key^^
on the keyboard depending on the meaning or colour of the word.^^^
If the word is white (i.e., is not coloured) then the meaning of the words is important. For white words, press the^^
good key (P) if the word refers to something positive (e.g., FUNNY). Press the bad key (Q) if the words refers^^
to something negative (e.g., EVIL).^^^
If the word is coloured, then press the good or bad key on the basis of the colour of the word. If the word has^^
a blue-ish colour, press the bad key. If the word has a green-ish colour, press the good key. The colours are quite^^
hard to discriminate, but you will be shown how the colours look like in a moment. Note that the meaning of the coloured^^
words is unimportant and should be ignored.^^^
If you give an incorrect response, a red cross will appear on the screen. Try to respond as quickly but also as accurately as possible.^^^
This experiment will last about 15 minutes. There are two practice blocks and four test blocks.
</page>

<page whitepractice>
This is a practice phase with white words only.^^
For white words with a positive meaning: Press the good key (P).^^
For white words with a negative meaning: Press the bad key (Q).^^
</page>


<page colourpracticebg>
This is a practice phase with coloured words only.^^
For words in a blue-ish colour: Press the good key (P).^^
For words in a green-ish colour: Press the bad key (Q).^^
</page>

<page colourpracticegb>
This is a practice phase with coloured words only.^^
For words in a blue-ish colour: Press the bad key (Q).^^
For words in a green-ish colour: Press the good key (P).^^
</page>

<page mixedbg>
This is a test phase with white and coloured words.^^
For white words with a positive meaning: Press the good key (P).^^
For white words with a negative meaning: Press the bad key (Q).^^
For words in a blue-ish colour: Press the good key (P).^^
For words in a green-ish colour: Press the bad key (Q).^^
</page>

<page mixedgb>
This is a test phase with white and coloured words.^^
For white words with a positive meaning: Press the good key (P).^^
For white words with a negative meaning: Press the bad key (Q).^^
For words in a blue-ish colour: Press the bad key (Q).^^
For words in a green-ish colour: Press the good key (P).^^
</page>

<page end>  
This is the end of the experiment. Thank you for your help!^^
</page>


<trial poswhitetrial> 
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("p")
/ stimulusframes = [1=fixation; 22=poswhite]
/ posttrialpause = 200
</trial>

<trial negwhitetrial>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("q")
/ stimulusframes = [1=fixation; 22=negwhite]
/ posttrialpause = 200
</trial>

<trial posgreenright>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("p")
/ stimulusframes = [1=fixation; 22=posgreen]
/ posttrialpause = 200
</trial>

<trial posgreenleft>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("q")
/ stimulusframes = [1=fixation; 22=posgreen]
/ posttrialpause = 200
</trial>

<trial posblueright>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("p")
/ stimulusframes = [1=fixation; 22=posblue]
/ posttrialpause = 200
</trial>

<trial posblueleft>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("q")
/ stimulusframes = [1=fixation; 22=posblue]
/ posttrialpause = 200
</trial>

<trial neggreenright>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("p")
/ stimulusframes = [1=fixation; 22=neggreen]
/ posttrialpause = 200
</trial>

<trial neggreenleft>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("q")
/ stimulusframes = [1=fixation; 22=neggreen]
/ posttrialpause = 200
</trial>

<trial negblueright>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("p")
/ stimulusframes = [1=fixation; 22=negblue]
/ posttrialpause = 200
</trial>

<trial negblueleft>  
/ pretrialpause = 1000 
/ validresponse = ("q", "p")
/ correctresponse = ("q")
/ stimulusframes = [1=fixation; 22=negblue]
/ posttrialpause = 200
</trial>


<block startinstructionsbg>
/screencolor = (0,0,0)
/preinstructions = (upbg)
</block>

<block startinstructionsgb>
/screencolor = (0,0,0)
/preinstructions = (upgb)
</block>


<block white_practice>
/ screencolor = (0, 0, 0)
/ preinstructions = (whitepractice)
/ trials = [1-20 = random(poswhitetrial, negwhitetrial)]
/ errormessage = (errormessage, 400)
</block>

<block colour_practicebg>
/ screencolor = (0, 0, 0)
/ preinstructions = (colourpracticebg)
/ trials = [1-20 = random(posgreenleft,posblueright,
				  neggreenleft,negblueright)]
/ errormessage = (errormessage, 400)
</block>

<block colour_practicegb>
/ screencolor = (0, 0, 0)
/ preinstructions = (colourpracticegb)
/ trials = [1-20 = random(posgreenright,posblueleft,
				  neggreenright,negblueleft)]
/ errormessage = (errormessage, 400)
</block>

<block mixed_bg>
/ screencolor = (0, 0, 0)
/ preinstructions = (mixedbg)
/ trials = [1-30 = random(posgreenleft,posblueright,
				  neggreenleft,negblueright,
				  poswhitetrial,negwhitetrial)]
/ errormessage = (errormessage, 400)
</block>

<block mixed_gb>
/ screencolor = (0, 0, 0)
/ preinstructions = (mixedgb)
/ trials = [1-30 = random(posgreenright,posblueleft,
				  neggreenright,negblueleft,
				  poswhitetrial,negwhitetrial)]
/ errormessage = (errormessage, 400)
</block>



<expt>
/ blocks = [1=block1; 2=white_practice;
            3=block2; 4=block3; 5=block4; 6=block5; 7=block6]
/ postinstructions = (end)
</expt>

<variables>
/ group = (1 of 2) (block1=startinstructionsbg, block2=colour_practicebg, block3=mixed_bg, block4=mixed_bg, block5=mixed_bg, block6=mixed_bg)
/ default = (block1=startinstructionsgb, block2=colour_practicegb, block3=mixed_gb, block4=mixed_gb, block5=mixed_gb, block6=mixed_gb)
</variables>

