+x<picture highVal>
*this is contingent on whether it's an indoor or outdoor picture/ items = highValue
/ size = (13%, 13%)
/ resetinterval = 0
/ vposition = 30
/ hposition = 50
</picture>
<picture lowVal>
*this is contingent on whether it's an indoor or outdoor picture/ items = lowValue
/ size = (10%, 10%)
/ resetinterval = 0
</picture>
You say you want the above to be contingent on whether the selected stimulus is indoor vs outdoor, but you don't explain the contingency you want. Please elaborate.
Questions about the specific indoor/outdoor to high/low value contingency aside (see previous response), the easiest options is to simply set up two separate chains of trials: one chain for "indoor", another chain for "outdoor". Then sample from those two chains at the block-level via a <list> with /maxrunsize set to 2:
*************************************************
Creating Stimuli
*************************************************
//indoor stims
<text stim1_indoor>
/ items = stim1_Indoor
/ size = (30%, 30%)
/ select = values.stim1
</text>
<text stim2_indoor>
/ items = stim2_Indoor
/ size = (30%, 30%)
/ select = values.stim2
</text>
//outdoor stims
<text stim1_outdoor>
/ items = stim1_Outdoor
/ size = (30%, 30%)
/ select = values.stim1
</text>
<text stim2_outdoor>
/ items = stim2_Outdoor
/ size = (30%, 30%)
/ select = values.stim2
</text>
<text highVal>
/ items = highValue
/ size = (13%, 13%)
/ resetinterval = 0
/ vposition = 30
/ hposition = 50
</text>
<text lowVal>
/ items = lowValue
/ size = (10%, 10%)
/ resetinterval = 0
</text>
<defaults>
/ screencolor = (175, 175, 175)
/ txcolor = darkgrey
</defaults>
<shape blank>
/ color = (175, 175, 175)
/ shape = rectangle
/ size = (100%, 100%)
</shape>
<text estimateQ>
/ items = ("please estimate the value of this type of scene ~n(indoor or outdoor) from 1 to 100")
/ hjustify = center
/ size = (50%,50%)
/ fontstyle = ("Arial",30)
/ vposition = (60)
/ hposition = (50)
/ txbgcolor = (transparent)
/ txcolor = aliceblue
/ erase = false
</text>
<item stim1_Outdoor>
/1 = "outdoorPics/Outdoor_1.jpg"
/2 = "outdoorPics/Outdoor_2.jpg"
/3 = "outdoorPics/Outdoor_3.jpg"
/4 = "outdoorPics/Outdoor_4.jpg"
/5 = "outdoorPics/Outdoor_5.jpg"
/6 = "outdoorPics/Outdoor_6.jpg"
/7 = "outdoorPics/Outdoor_7.jpg"
/8 = "outdoorPics/Outdoor_8.jpg"
/9 = "outdoorPics/Outdoor_9.jpg"
/10 = "outdoorPics/Outdoor_10.jpg"
/11 = "outdoorPics/Outdoor_11.jpg"
/12 = "outdoorPics/Outdoor_12.jpg"
/13 = "outdoorPics/Outdoor_13.jpg"
/14 = "outdoorPics/Outdoor_14.jpg"
/15 = "outdoorPics/Outdoor_15.jpg"
/16 = "outdoorPics/Outdoor_16.jpg"
/17 = "outdoorPics/Outdoor_17.jpg"
/18 = "outdoorPics/Outdoor_18.jpg"
/19 = "outdoorPics/Outdoor_19.jpg"
/20 = "outdoorPics/Outdoor_20.jpg"
/21 = "outdoorPics/Outdoor_21.jpg"
/22 = "outdoorPics/Outdoor_22.jpg"
/23 = "outdoorPics/Outdoor_23.jpg"
/24 = "outdoorPics/Outdoor_24.jpg"
/25 = "outdoorPics/Outdoor_25.jpg"
/26 = "outdoorPics/Outdoor_26.jpg"
</item>
<item stim2_Outdoor>
/1 = "outdoorPics/Outdoor_27.jpg"
/2 = "outdoorPics/Outdoor_28.jpg"
/3 = "outdoorPics/Outdoor_29.jpg"
/4 = "outdoorPics/Outdoor_30.jpg"
/5 = "outdoorPics/Outdoor_31.jpg"
/6 = "outdoorPics/Outdoor_32.jpg"
/7 = "outdoorPics/Outdoor_33.jpg"
/8 = "outdoorPics/Outdoor_34.jpg"
/9 = "outdoorPics/Outdoor_35.jpg"
/10 = "outdoorPics/Outdoor_36.jpg"
/11 = "outdoorPics/Outdoor_37.jpg"
/12 = "outdoorPics/Outdoor_38.jpg"
/13 = "outdoorPics/Outdoor_39.jpg"
/14 = "outdoorPics/Outdoor_40.jpg"
/15 = "outdoorPics/Outdoor_41.jpg"
/16 = "outdoorPics/Outdoor_42.jpg"
/17 = "outdoorPics/Outdoor_43.jpg"
/18 = "outdoorPics/Outdoor_44.jpg"
/19 = "outdoorPics/Outdoor_45.jpg"
/20 = "outdoorPics/Outdoor_46.jpg"
/21 = "outdoorPics/Outdoor_47.jpg"
/22 = "outdoorPics/Outdoor_48.jpg"
/23 = "outdoorPics/Outdoor_49.jpg"
/24 = "outdoorPics/Outdoor_50.jpg"
/25 = "outdoorPics/Outdoor_51.jpg"
/26 = "outdoorPics/Outdoor_53.jpg"
</item>
<item stim1_Indoor>
/1 = "indoorPics/Indoor_1.jpg"
/2 = "indoorPics/Indoor_2.jpg"
/3 = "indoorPics/Indoor_3.jpg"
/4 = "indoorPics/Indoor_4.jpg"
/5 = "indoorPics/Indoor_5.jpg"
/6 = "indoorPics/Indoor_6.jpg"
/7 = "indoorPics/Indoor_7.jpg"
/8 = "indoorPics/Indoor_8.jpg"
/9 = "indoorPics/Indoor_9.jpg"
/10 = "indoorPics/Indoor_10.jpg"
/11 = "indoorPics/Indoor_11.jpg"
/12 = "indoorPics/Indoor_12.jpg"
/13 = "indoorPics/Indoor_13.jpg"
/14 = "indoorPics/Indoor_14.jpg"
/15 = "indoorPics/Indoor_15.jpg"
/16 = "indoorPics/Indoor_16.jpg"
/17 = "indoorPics/Indoor_17.jpg"
/18 = "indoorPics/Indoor_18.jpg"
/19 = "indoorPics/Indoor_19.jpg"
/20 = "indoorPics/Indoor_20.jpg"
/21 = "indoorPics/Indoor_21.jpg"
/22 = "indoorPics/Indoor_22.jpg"
/23 = "indoorPics/Indoor_23.jpg"
/24 = "indoorPics/Indoor_24.jpg"
/25 = "indoorPics/Indoor_25.jpg"
/26 = "indoorPics/Indoor_26.jpg"
</item>
<item stim2_Indoor>
/1 = "indoorPics/Indoor_27.jpg"
/2 = "indoorPics/Indoor_28.jpg"
/3 = "indoorPics/Indoor_29.jpg"
/4 = "indoorPics/Indoor_30.jpg"
/5 = "indoorPics/Indoor_31.jpg"
/6 = "indoorPics/Indoor_32.jpg"
/7 = "indoorPics/Indoor_33.jpg"
/8 = "indoorPics/Indoor_34.jpg"
/9 = "indoorPics/Indoor_35.jpg"
/10 = "indoorPics/Indoor_36.jpg"
/11 = "indoorPics/Indoor_37.jpg"
/12 = "indoorPics/Indoor_38.jpg"
/13 = "indoorPics/Indoor_39.jpg"
/14 = "indoorPics/Indoor_40.jpg"
/15 = "indoorPics/Indoor_41.jpg"
/16 = "indoorPics/Indoor_42.jpg"
/17 = "indoorPics/Indoor_43.jpg"
/18 = "indoorPics/Indoor_44.jpg"
/19 = "indoorPics/Indoor_45.jpg"
/20 = "indoorPics/Indoor_46.jpg"
/21 = "indoorPics/Indoor_47.jpg"
/22 = "indoorPics/Indoor_48.jpg"
/23 = "indoorPics/Indoor_49.jpg"
/24 = "indoorPics/Indoor_50.jpg"
/25 = "indoorPics/Indoor_51.jpg"
/26 = "indoorPics/Indoor_52.jpg"
</item>
<item highValue>
/1 = "valPics/40cents.png"
/2 = "valPics/50cents.png"
/3 = "valPics/60cents.png"
/4 = "valPics/70cents.png"
/5 = "valPics/80cents.png"
</item>
<item lowValue>
/1 = "valPics/20cents.png"
/2 = "valPics/30cents.png"
/3 = "valPics/40cents.png"
/4 = "valPics/50cents.png"
/5 = "valPics/60cents.png"
</item>
*************************************************
Creating an Experiment
*************************************************
<expt>
/ blocks = [1=learning]
</expt>
<values>
/ stim1 = 1
/ stim2 = 1
</values>
<block learning>
/ trials = [1-52 = list.triallist]
/ errormessage = false
</block>
<list triallist>
/ items = (trial.cue_indoor, trial.cue_outdoor)
/ poolsize = 52
/ maxrunsize = 2
</list>
//indoor trials
<trial cue_indoor>
/ ontrialbegin = [values.stim1=list.s1_indoor.nextindex]
/ pretrialpause = 1000
/ stimulustimes = [0=stim1_indoor]
/ beginresponseframe = 0
/ timeout = 3000
/ validresponse = (noresponse)
/ branch = [
openended.estimate_indoor
]
</trial>
<openended estimate_indoor>
/ position = (50, 50)
/ buttonlabel = " press enter to submit"
/ fontstyle = ("Arial",15)
/ inputdevice = keyboard
/ stimulustimes = [0=estimateQ]
/ linelength = 3
/ range = (1,100)
/ numlines = 1
/ responsefontstyle = ("Arial",30)
/ beginresponsetime = 0
/ timeout = 5000
/ branch = [
trial.outcome_indoor
]
</openended>
<trial outcome_indoor>
/ ontrialbegin = [values.stim2=list.s2_indoor.nextindex]
/ stimulustimes = [0=blank,stim2_indoor, highVal]
/ beginresponsetime = 0
/ trialduration = 3000
/ validresponse = (noresponse)
</trial>
//outdoor trials
<trial cue_outdoor>
/ ontrialbegin = [values.stim1=list.s1_outdoor.nextindex;]
/ pretrialpause = 1000
/ stimulustimes = [0=stim1_outdoor]
/ beginresponseframe = 0
/ timeout = 3000
/ validresponse = (noresponse)
/ branch = [
openended.estimate_outdoor
]
</trial>
<openended estimate_outdoor>
/ position = (50, 50)
/ buttonlabel = " press enter to submit"
/ fontstyle = ("Arial",15)
/ inputdevice = keyboard
/ stimulustimes = [0=estimateQ]
/ linelength = 3
/ range = (1,100)
/ numlines = 1
/ responsefontstyle = ("Arial",30)
/ beginresponsetime = 0
/ timeout = 5000
/ branch = [
trial.outcome_outdoor
]
</openended>
<trial outcome_outdoor>
/ ontrialbegin = [values.stim2=list.s2_outdoor.nextindex]
/ stimulustimes = [0=blank,stim2_outdoor, lowVal]
/ beginresponsetime = 0
/ trialduration = 3000
/ validresponse = (noresponse)
</trial>
//indoor item numbers
//stim1
<list s1_indoor>
/ poolsize = 26
</list>
//stim2
<list s2_indoor>
/ poolsize = 26
</list>
//outdoor item numbers
//stim1
<list s1_outdoor>
/ poolsize = 26
</list>
//stim2
<list s2_outdoor>
/ poolsize = 26
</list>