# where ever you make this variable
var breastSizeDictionary = { "H0" : { "B0" : { "T0" : "28AA", # hopefully this is a better way of organizing the text
"T1" : "28B",
"T2" : "28D",
"T3" : "28F",
"T4" : "28H"
},
"B1" : { "T0" : "30AA",
"T1" : "30B",
"T2" : "30D",
"T3" : "30F",
"T4" : "30H"
},
"B2" : { "T0" : "32A",
"T1" : "32C",
"T2" : "32E",
"T3" : "32G",
"T4" : "32I"
},
"B3" : { "T0" : "34B",
"T1" : "34D",
"T2" : "34F",
"T3" : "34H",
"T4" : "34J"
},
"B4" : { "T0" : "36C",
"T1" : "36E",
"T2" : "36G",
"T3" : "36I",
"T4" : "36K"
}
},
"H1" : { "B0" : { "T0" : "30AA",
"T1" : "30B",
"T2" : "30D",
"T3" : "30F",
"T4" : "30H"
},
"B1" : { "T0" : "32A",
"T1" : "32C",
"T2" : "32E",
"T3" : "32G",
"T4" : "32I"
},
"B2" : { "T0" : "34B",
"T1" : "34D",
"T2" : "34F",
"T3" : "34H",
"T4" : "34J"
},
"B3" : { "T0" : "34C",
"T1" : "34E",
"T2" : "34G",
"T3" : "34I",
"T4" : "34K"
},
"B4" : { "T0" : "36D",
"T1" : "36F",
"T2" : "36H",
"T3" : "36J",
"T4" : "36L"
}
},
"H2" : { "B0" : { "T0" : "30A",
"T1" : "30C",
"T2" : "30E",
"T3" : "30G",
"T4" : "30I"
},
"B1" : { "T0" : "32B",
"T1" : "32D",
"T2" : "32F",
"T3" : "32H",
"T4" : "32J"
},
"B2" : { "T0" : "34C",
"T1" : "34E",
"T2" : "34G",
"T3" : "34I",
"T4" : "34K"
},
"B3" : { "T0" : "34D",
"T1" : "34F",
"T2" : "34H",
"T3" : "34J",
"T4" : "34L"
},
"B4" : { "T0" : "36E",
"T1" : "36G",
"T2" : "36I",
"T3" : "36L",
"T4" : "36M"
}
},
"H3" : { "B0" : { "T0" : "32B",
"T1" : "32D",
"T2" : "32F",
"T3" : "32H",
"T4" : "32J"
},
"B1" : { "T0" : "34C",
"T1" : "34E",
"T2" : "34G",
"T3" : "34I",
"T4" : "34K"
},
"B2" : { "T0" : "36D",
"T1" : "36F",
"T2" : "36H",
"T3" : "36J",
"T4" : "36L"
},
"B3" : { "T0" : "38E",
"T1" : "38G",
"T2" : "38I",
"T3" : "38K",
"T4" : "38M"
},
"B4" : { "T0" : "40F",
"T1" : "40H",
"T2" : "40J",
"T3" : "40L",
"T4" : "40N"
}
},
"H4" : { "B0" : { "T0" : "34C",
"T1" : "34E",
"T2" : "34G",
"T3" : "34I",
"T4" : "34K"
},
"B1" : { "T0" : "36D",
"T1" : "36F",
"T2" : "36H",
"T3" : "36J",
"T4" : "36L"
},
"B2" : { "T0" : "38E",
"T1" : "38G",
"T2" : "38I",
"T3" : "38K",
"T4" : "38M"
},
"B3" : { "T0" : "40F",
"T1" : "40H",
"T2" : "40J",
"T3" : "40L",
"T4" : "40N"
},
"B4" : { "T0" : "42G",
"T1" : "42I",
"T2" : "42K",
"T3" : "42M",
"T4" : "42O"
}
}
} # end of breastSizeDictionary
# later on in the code, define your function
# this function lets you use any character
# so for example mainCharacterBraSize = braSize(pcvar)
func braSize(characterParameter)
var heightIndexingKey = "H"+str(characterParameter.height2)
var bodyTypeIndexingKey = "B"+str(characterParameter.body2)
var titIndexingKey = "T"+str(characterParameter.tits2)
return breastSizeDictionary[heightIndexingKey][bodyTypeIndexingKey][titIndexingKey] # returns only the final bit of text, the braw size, like "32B" for H2B1T0