if you want different scene of any particular combination it will look like this
if (SHAPE1) {
if (COLOR1) {
if (TOPPING1) {
#here add SHAPE 1, COLOR1, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 1, COLOR1, TOPPING2
}else {
#here add SHAPE 1, COLOR1, TOPPING3
}
} elif(COLOR2) {
if (TOPPING1) {
#here add SHAPE 1, COLOR2, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 1, COLOR2, TOPPING2
}else {
#here add SHAPE 1, COLOR2, TOPPING3
}
}else {
if (TOPPING1) {
#here add SHAPE 1, COLOR3, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 1, COLOR3, TOPPING2
}else {
#here add SHAPE 1, COLOR3, TOPPING3
}
}
} elif(SHAPE2) {
if (COLOR1) {
if (TOPPING1) {
#here add SHAPE 2, COLOR1, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 2, COLOR1, TOPPING2
}else {
#here add SHAPE 2, COLOR1, TOPPING3
}
} elif(COLOR2) {
if (TOPPING1) {
#here add SHAPE 2, COLOR2, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 2, COLOR2, TOPPING2
}else {
#here add SHAPE 2, COLOR2, TOPPING3
}
}else {
if (TOPPING1) {
#here add SHAPE 2, COLOR3, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 2, COLOR3, TOPPING2
}else {
#here add SHAPE 2, COLOR3, TOPPING3
}
}
}else {
if (COLOR1) {
if (TOPPING1) {
#here add SHAPE 3, COLOR1, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 3, COLOR1, TOPPING2
}else {
#here add SHAPE 3, COLOR1, TOPPING3
}
} elif(COLOR2) {
if (TOPPING1) {
#here add SHAPE 3, COLOR2, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 3, COLOR2, TOPPING2
}else {
#here add SHAPE 3, COLOR2, TOPPING3
}
}else {
if (TOPPING1) {
#here add SHAPE 3, COLOR3, TOPPING1
} elif(TOPPING2) {
#here add SHAPE 3, COLOR3, TOPPING2
}else {
#here add SHAPE 3, COLOR3, TOPPING3
}
}
}