1thedoc 424 Posted March 6, 2019 Report Share Posted March 6, 2019 I will end you all Link to comment
1thedoc 424 Posted March 6, 2019 Report Share Posted March 6, 2019 7 hours this has been going on for now Link to comment
KrispyK 22 Posted March 6, 2019 Report Share Posted March 6, 2019 import random #return variables #global def colormod(): global colorarraygeneration global gennedcolor global colorsarray gennedcolor = '' colorarraygeneration = [] colorsarray = ['Obsidian', 'Abyss', 'midnight', 'Stone', 'Sea', 'Sky', 'Steel', 'denim', 'Snow','seafoam', 'Leaf', 'Mint', 'Emerald', 'Swamp', 'Peacock', 'Murk', 'Forest', 'Slate', 'Pine', 'Yellow', 'Cream','Peridot', 'Maize', 'Amber', 'Honey', 'Tangerine', 'Gold', 'Ginger', 'Hickory', 'Flaxen', 'Latte', 'Mahogany','Copper', 'Tarnish', 'Rust', 'Clay', 'Garnet', 'Blood', 'Chestnut', 'Brown', 'Hazel', 'Metal', 'Sand', 'Thistle', 'Ballet', 'Fog', 'Shadow','Purple', 'Storm', 'Mulberry', 'Royal', 'Deep'] if y and x in colorsarray: #-------------# global numbercolorS global numbercolorG global sculptver1 global sculptver2 global gatherver1 global gatherver1 #----------- numbercolorS = colorsarray.index(x) + 1 numbercolorG = colorsarray.index(y) + 1 sculptver1 = numbercolorG + 1 sculptver2 = numbercolorG - 1 gatherver1 = numbercolorS + 1 gatherver2 = numbercolorS - 1 if numbercolorS == sculptver1: gennedcolor = random.randint(numbercolorG,numbercolorS) elif numbercolorS == sculptver2: gennedcolor = random.randint(numbercolorS,numbercolorG) elif numbercolorG == gatherver1: gennedcolor = random.randint(numbercolorS,numbercolorG) elif numbercolorG == gatherver2: gennedcolor = random.randint(numbercolorG,numbercolorS) elif numbercolorS > numbercolorG: gennedcolor = random.randrange(numbercolorG,numbercolorS) elif numbercolorG > numbercolorS: gennedcolor = random.randrange(numbercolorS,numbercolorG) elif numbercolorG == numbercolorS: gennedcolor = numbercolorG #---------------------------------------------------------------# if gennedcolor == 1: colorarraygeneration.append('Obsidian') elif gennedcolor == 2: colorarraygeneration.append('Abyss') elif gennedcolor == 3: colorarraygeneration.append('Midnight') elif gennedcolor == 4: colorarraygeneration.append('Stone') elif gennedcolor == 5: colorarraygeneration.append('Sea') elif gennedcolor == 6: colorarraygeneration.append('Sky') elif gennedcolor == 7: colorarraygeneration.append('Steel') elif gennedcolor == 8: colorarraygeneration.append('Denim') elif gennedcolor == 9: colorarraygeneration.append('Snow') elif gennedcolor == 10: colorarraygeneration.append('Seafoam') elif gennedcolor == 11: colorarraygeneration.append('Leaf') elif gennedcolor == 12: colorarraygeneration.append('Mint') elif gennedcolor == 13: colorarraygeneration.append('Emerald') elif gennedcolor == 14: colorarraygeneration.append('Swamp') elif gennedcolor == 15: colorarraygeneration.append('Peacock') elif gennedcolor == 16: colorarraygeneration.append('Murk') elif gennedcolor == 17: colorarraygeneration.append('Forest') elif gennedcolor == 18: colorarraygeneration.append('Slate') elif gennedcolor == 19: colorarraygeneration.append('Pine') elif gennedcolor == 20: colorarraygeneration.append('Yellow') elif gennedcolor == 21: colorarraygeneration.append('Cream') elif gennedcolor == 22: colorarraygeneration.append('Peridot') elif gennedcolor == 23: colorarraygeneration.append('Maize') elif gennedcolor == 24: colorarraygeneration.append('Amber') elif gennedcolor == 25: colorarraygeneration.append('Honey') elif gennedcolor == 26: colorarraygeneration.append('Tangerine') elif gennedcolor == 27: colorarraygeneration.append('Gold') elif gennedcolor == 28: colorarraygeneration.append('Ginger') elif gennedcolor == 29: colorarraygeneration.append('Hickory') elif gennedcolor == 30: colorarraygeneration.append('Flaxen') elif gennedcolor == 31: colorarraygeneration.append('Latte') elif gennedcolor == 32: colorarraygeneration.append('Mahogany') elif gennedcolor == 33: colorarraygeneration.append('Copper') elif gennedcolor == 34: colorarraygeneration.append('Tarnish') elif gennedcolor == 35: colorarraygeneration.append('Rust') elif gennedcolor == 36: colorarraygeneration.append('Clay') elif gennedcolor == 37: colorarraygeneration.append('Garnet') elif gennedcolor == 38: colorarraygeneration.append('Blood') elif gennedcolor == 39: colorarraygeneration.append('Chestnut') elif gennedcolor == 40: colorarraygeneration.append('Brown') elif gennedcolor == 41: colorarraygeneration.append('Hazel') elif gennedcolor == 42: colorarraygeneration.append('Metal') elif gennedcolor == 43: colorarraygeneration.append('Sand') elif gennedcolor == 44: colorarraygeneration.append('Thistle') elif gennedcolor == 45: colorarraygeneration.append('Ballet') elif gennedcolor == 46: colorarraygeneration.append('Fog') elif gennedcolor == 47: colorarraygeneration.append('Shadow') elif gennedcolor == 48: colorarraygeneration.append('Purple') elif gennedcolor == 49: colorarraygeneration.append('Storm') elif gennedcolor == 50: colorarraygeneration.append('Mulberry') elif gennedcolor == 51: colorarraygeneration.append('Royal') elif gennedcolor == 52: colorarraygeneration.append('Deep') def genemod(): global listnU global rec global dom global gennedg global gennedgenearray global geneprint global Listnumber gennedg = '' gennedgenearray = [] geneprint = '' Listnumber = 0 listnU = [] rec = ['nU','nSk','nCl','nSbl','nPn','nSt','nBl','nMl','nPl','nSp','nDi','nRi','nCo','nFl','nDu','nMsk','nMi','nMa','nPi','nSc','nRp','nKo','nCi','nGnt','nRos','nBch','nR','nFl','nBr','nIr','nOu','nMn','nUn','nDy','nGy','Chm','Alb'] dom = ['UU','SkSk','ClCl','SblSbl','PnPn','StSt','BlBl','MlMl','PlPl','SpSp','DiDi','nRiRi','CoCo','FlFl','DuDu','MskMsk','MiMi','MaMa','PiPi','ScSc','RpRp','KoKo','CiCi','GntGnt','RosRos','BchBch','RR','FF','BrBr','IrIr','OuOu','MnMn','UnUn','DyDy','GyGy','Chm','Alb'] if 'UU' in gathergenearray and 'nU' in sculptorgenearray: listnU.extend(['/UU'] * 100) listnU.extend(['/nU'] * 10) Listnumber += 1 elif 'UU' in sculptorgenearray and 'nU' in gathergenearray: listnU.extend(['/UU'] * 100) listnU.extend(['/nU'] * 10) Listnumber += 1 if 'SkSk' in gathergenearray and 'nSk' in sculptorgenearray: listnU.extend(['/SkSk'] * 100) listnU.extend(['/nSk'] * 10) Listnumber += 1 elif 'SkSk' in sculptorgenearray and 'nSk' in gathergenearray: listnU.extend(['/SkSk'] * 100) listnU.extend(['/nSk'] * 10) Listnumber += 1 if 'ClCl' in gathergenearray and 'nCl' in sculptorgenearray: listnU.extend(['/ClCl'] * 100) listnU.extend(['/nCl'] * 10) Listnumber += 1 elif 'ClCl' in sculptorgenearray and 'nCl' in gathergenearray: listnU.extend(['/ClCl'] * 100) listnU.extend(['/nCl'] * 10) Listnumber += 1 if 'SblSbl' in gathergenearray and 'nSbl' in sculptorgenearray: listnU.extend(['/SblSbl'] * 100) listnU.extend(['/nSbl'] * 10) Listnumber += 1 elif 'SblSbl' in sculptorgenearray and 'nSbl' in gathergenearray: listnU.extend(['/SblSbl'] * 100) listnU.extend(['/nSbl'] * 10) Listnumber += 1 if 'PnPn' in gathergenearray and 'nPn' in sculptorgenearray: listnU.extend(['/PnPn'] * 100) listnU.extend(['/nPn'] * 10) Listnumber += 1 elif 'PnPn' in sculptorgenearray and 'nPn' in gathergenearray: listnU.extend(['/PnPn'] * 100) listnU.extend(['/nPn'] * 10) Listnumber += 1 if 'StSt' in gathergenearray and 'nSt' in sculptorgenearray: listnU.extend(['/StSt'] * 100) listnU.extend(['/nSt'] * 10) Listnumber += 1 elif 'StSt' in sculptorgenearray and 'nSt' in gathergenearray: listnU.extend(['/StSt'] * 100) listnU.extend(['/nSt'] * 10) Listnumber += 1 if 'BlBl' in gathergenearray and 'nBl' in sculptorgenearray: listnU.extend(['/BlBl'] * 100) listnU.extend(['/nBl'] * 10) Listnumber += 1 elif 'BlBl' in sculptorgenearray and 'nBl' in gathergenearray: listnU.extend(['/BlBl'] * 100) listnU.extend(['/nBl'] * 10) if 'MlMl' in gathergenearray and 'nMl' in sculptorgenearray: listnU.extend(['/MlMl'] * 100) listnU.extend(['/nMl'] * 10) Listnumber += 1 elif 'MlMl' in sculptorgenearray and 'nMl' in gathergenearray: listnU.extend(['/MlMl'] * 100) listnU.extend(['/nMl'] * 10) Listnumber += 1 if 'PlPl' in gathergenearray and 'nPl' in sculptorgenearray: listnU.extend(['/PlPl'] * 100) listnU.extend(['/nPl'] * 10) Listnumber += 1 elif 'PlPl' in sculptorgenearray and 'nPl' in gathergenearray: listnU.extend(['/PlPl'] * 100) listnU.extend(['/nPl'] * 10) Listnumber += 1 if 'SpSp' in gathergenearray and 'nSp' in sculptorgenearray: listnU.extend(['/SpSp'] * 100) listnU.extend(['/nSp'] * 10) Listnumber += 1 elif 'SpSp' in sculptorgenearray and 'nSp' in gathergenearray: listnU.extend(['/SpSp'] * 100) listnU.extend(['/nSp'] * 10) Listnumber += 1 if 'DiDi' in gathergenearray and 'nDi' in sculptorgenearray: listnU.extend(['/DiDi'] * 100) listnU.extend(['/nDi'] * 10) Listnumber += 1 elif 'DiDi' in sculptorgenearray and 'nDi' in gathergenearray: listnU.extend(['/DiDi'] * 100) listnU.extend(['/nDi'] * 10) Listnumber += 1 if 'nRiRi' in gathergenearray and 'nRi' in sculptorgenearray: listnU.extend(['/nRiRi'] * 100) listnU.extend(['/nRi'] * 10) Listnumber += 1 elif 'nRiRi' in sculptorgenearray and 'nRi' in gathergenearray: listnU.extend(['/nRiRi'] * 100) listnU.extend(['/nRi'] * 10) Listnumber += 1 if 'CoCo' in gathergenearray and 'nCo' in sculptorgenearray: listnU.extend(['/CoCo'] * 100) listnU.extend(['/nCo'] * 10) Listnumber += 1 elif 'CoCo' in sculptorgenearray and 'nCo' in gathergenearray: listnU.extend(['/CoCo'] * 100) listnU.extend(['/nCo'] * 10) Listnumber += 1 if 'FlFl' in gathergenearray and 'nFl' in sculptorgenearray: listnU.extend(['/FlFl'] * 100) listnU.extend(['/nFl'] * 10) Listnumber += 1 elif 'FlFl' in sculptorgenearray and 'nFl' in gathergenearray: listnU.extend(['/FlFl'] * 100) listnU.extend(['/nFl'] * 10) Listnumber += 1 if 'DuDu' in gathergenearray and 'nDu' in sculptorgenearray: listnU.extend(['/DuDu'] * 100) listnU.extend(['/nDu'] * 10) Listnumber += 1 elif 'DuDu' in sculptorgenearray and 'nDu' in gathergenearray: listnU.extend(['/DuDu'] * 100) listnU.extend(['/nDu'] * 10) Listnumber += 1 if 'MskMsk' in gathergenearray and 'nMsk' in sculptorgenearray: listnU.extend(['/MskMsk'] * 100) listnU.extend(['/nMsk'] * 10) Listnumber += 1 elif 'MskMsk' in sculptorgenearray and 'nMsk' in gathergenearray: listnU.extend(['/MskMsk'] * 100) listnU.extend(['/nMsk'] * 10) Listnumber += 1 if 'MiMi' in gathergenearray and 'nMi' in sculptorgenearray: listnU.extend(['/MiMi'] * 100) listnU.extend(['/nMi'] * 10) Listnumber += 1 elif 'MiMi' in sculptorgenearray and 'nMi' in gathergenearray: listnU.extend(['/MiMi'] * 100) listnU.extend(['/nMi'] * 10) Listnumber += 1 if 'MaMa' in gathergenearray and 'nMa' in sculptorgenearray: listnU.extend(['/MaMa'] * 100) listnU.extend(['/nMa'] * 10) Listnumber += 1 elif 'MaMa' in sculptorgenearray and 'nMa' in gathergenearray: listnU.extend(['/MaMa'] * 100) listnU.extend(['/nMa'] * 10) Listnumber += 1 if 'PiPi' in gathergenearray and 'nPi' in sculptorgenearray: listnU.extend(['/PiPi'] * 100) listnU.extend(['/nPi'] * 10) Listnumber += 1 elif 'PiPi' in sculptorgenearray and 'nPi' in gathergenearray: listnU.extend(['/PiPi'] * 100) listnU.extend(['/nPi'] * 10) Listnumber += 1 if 'ScSc' in gathergenearray and 'nSc' in sculptorgenearray: listnU.extend(['/ScSc'] * 100) listnU.extend(['/nSc'] * 10) Listnumber += 1 elif 'ScSc' in sculptorgenearray and 'nSc' in gathergenearray: listnU.extend(['/ScSc'] * 100) listnU.extend(['/nSc'] * 10) Listnumber += 1 if 'RpRp' in gathergenearray and 'nRp' in sculptorgenearray: listnU.extend(['/RpRp'] * 100) listnU.extend(['/nRp'] * 10) Listnumber += 1 elif 'RpRp' in sculptorgenearray and 'nRp' in gathergenearray: listnU.extend(['/RpRp'] * 100) listnU.extend(['/nRp'] * 10) Listnumber += 1 if 'KoKo' in gathergenearray and 'nKo' in sculptorgenearray: listnU.extend(['/KoKo'] * 100) listnU.extend(['/nKo'] * 10) Listnumber += 1 elif 'KoKo' in sculptorgenearray and 'nKo' in gathergenearray: listnU.extend(['/KoKo'] * 100) listnU.extend(['/nKo'] * 10) Listnumber += 1 if 'CiCi' in gathergenearray and 'nCi' in sculptorgenearray: listnU.extend(['/CiCi'] * 100) listnU.extend(['/nCi'] * 10) Listnumber += 1 elif 'CiCi' in sculptorgenearray and 'nCi' in gathergenearray: listnU.extend(['/CiCi'] * 100) listnU.extend(['/nCi'] * 10) Listnumber += 1 if 'GntGnt' in gathergenearray and 'nGnt' in sculptorgenearray: listnU.extend(['/GntGnt'] * 100) listnU.extend(['/nGnt'] * 10) Listnumber += 1 elif 'GntGnt' in sculptorgenearray and 'nGnt' in gathergenearray: listnU.extend(['/GntGnt'] * 100) listnU.extend(['/nGnt'] * 10) Listnumber += 1 if 'RosRos' in gathergenearray and 'nRos' in sculptorgenearray: listnU.extend(['/RosRos'] * 100) listnU.extend(['/nRos'] * 10) Listnumber += 1 elif 'RosRos' in sculptorgenearray and 'nRos' in gathergenearray: listnU.extend(['/RosRos'] * 100) listnU.extend(['/nRos'] * 10) Listnumber += 1 if 'BchBch' in gathergenearray and 'nBch' in sculptorgenearray: listnU.extend(['/BchBch'] * 100) listnU.extend(['/nBch'] * 10) elif 'BchBch' in sculptorgenearray and 'nBch' in gathergenearray: listnU.extend(['/BchBch'] * 100) listnU.extend(['/nBch'] * 10) Listnumber += 1 if 'RR' in gathergenearray and 'nR' in sculptorgenearray: listnU.extend(['/RR'] * 100) listnU.extend(['/nR'] * 10) Listnumber += 1 elif 'RR' in sculptorgenearray and 'nR' in gathergenearray: listnU.extend(['/RR'] * 100) listnU.extend(['/nR'] * 10) Listnumber += 1 if 'BrBr' in gathergenearray and 'nBr' in sculptorgenearray: listnU.extend(['/BrBr'] * 100) listnU.extend(['/nBr'] * 10) Listnumber += 1 elif 'BrBr' in sculptorgenearray and 'nBr' in gathergenearray: listnU.extend(['/BrBr'] * 100) listnU.extend(['/nBr'] * 10) Listnumber += 1 if 'IrIr' in gathergenearray and 'nIr' in sculptorgenearray: listnU.extend(['/IrIr'] * 100) listnU.extend(['/nIr'] * 10) Listnumber += 1 elif 'IrIr' in sculptorgenearray and 'nIr' in gathergenearray: listnU.extend(['/IrIr'] * 100) listnU.extend(['/nIr'] * 10) Listnumber += 1 if 'OuOu' in gathergenearray and 'nOu' in sculptorgenearray: listnU.extend(['/OuOu'] * 100) listnU.extend(['/nOu'] * 10) Listnumber += 1 elif 'OuOu' in sculptorgenearray and 'nOu' in gathergenearray: listnU.extend(['/OuOu'] * 100) listnU.extend(['/nOu'] * 10) Listnumber += 1 if 'MnMn' in gathergenearray and 'nMn' in sculptorgenearray: listnU.extend(['/MnMn'] * 100) listnU.extend(['/nMn'] * 10) Listnumber += 1 elif 'MnMn' in sculptorgenearray and 'nMn' in gathergenearray: listnU.extend(['/MnMn'] * 100) listnU.extend(['/nMn'] * 10) Listnumber += 1 if 'UnUn' in gathergenearray and 'nUn' in sculptorgenearray: listnU.extend(['/UnUn'] * 100) listnU.extend(['/nUn'] * 10) Listnumber += 1 elif 'UnUn' in sculptorgenearray and 'nUn' in gathergenearray: listnU.extend(['/UnUn'] * 100) listnU.extend(['/nUn'] * 10) Listnumber += 1 if 'DyDy' in gathergenearray and 'nDy' in sculptorgenearray: listnU.extend(['/DyDy'] * 100) listnU.extend(['/nDy'] * 10) Listnumber += 1 elif 'DyDy' in sculptorgenearray and 'nDy' in gathergenearray: listnU.extend(['/DyDy'] * 100) listnU.extend(['/nDy'] * 10) Listnumber += 1 if 'GyGy' in gathergenearray and 'nGy' in sculptorgenearray: listnU.extend(['/GyGy'] * 100) listnU.extend(['/nGy'] * 10) Listnumber += 1 elif 'GyGy' in sculptorgenearray and 'nGy' in gathergenearray: listnU.extend(['/GyGy'] * 100) listnU.extend(['/nGy'] * 10) Listnumber += 1 if 'FF' in gathergenearray and 'nFl' in sculptorgenearray: listnU.extend(['/FF'] * 100) listnU.extend(['/nFl'] * 10) Listnumber += 1 elif 'FF' in sculptorgenearray and 'nFl' in gathergenearray: listnU.extend(['/FF'] * 100) listnU.extend(['/nFl'] * 10) Listnumber += 1 if 'Alb' in gathergenearray and 'Alb' in sculptorgenearray: listnU.extend(['/Alb'] * 100) listnU.extend(['/Alb'] * 10) Listnumber += 1 elif 'Alb' in sculptorgenearray and 'Alb' in gathergenearray: listnU.extend(['/Alb'] * 100) listnU.extend(['/Alb'] * 10) Listnumber += 1 if 'Chm' in gathergenearray and 'Chm' in sculptorgenearray: listnU.extend(['/Chm'] * 100) listnU.extend(['/Chm'] * 10) Listnumber += 1 elif 'Chm' in sculptorgenearray and 'Chm' in gathergenearray: listnU.extend(['/Chm'] * 100) listnU.extend(['/Chm'] * 10) Listnumber += 1 if sculptorgenearray in rec or gathergenearray in rec: if 'nU' in gathergenearray or 'nU' in sculptorgenearray: listloop.extend(['/nU'] * 50) listloop.extend(['/UU'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nSk' in gathergenearray or 'nSk' in sculptorgenearray: listloop.extend(['/nSk'] * 50) listloop.extend(['/SkSk'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nCl' in gathergenearray or 'nCl' in sculptorgenearray: listloop.extend(['/nCl'] * 50) listloop.extend(['/ClCl'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nSbl' in gathergenearray or 'nSbl' in sculptorgenearray: listloop.extend(['/nSbl'] * 50) listloop.extend(['/SblSbl'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nPn' in gathergenearray or 'nPn' in sculptorgenearray: listloop.extend(['/nPn'] * 50) listloop.extend(['/PnPn'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nSt' in gathergenearray or 'nSt' in sculptorgenearray: listloop.extend(['/nSt'] * 50) listloop.extend(['/StSt'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nBl' in gathergenearray or 'nBl' in sculptorgenearray: listloop.extend(['/nBl'] * 50) listloop.extend(['/BlBl'] * 10) listloop.extend(['nothing'] * 40) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nMl' in gathergenearray or 'nMl' in sculptorgenearray: listloop.extend(['/nMl'] * 50) listloop.extend(['/MlMl'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nPl' in gathergenearray and 'nPl' in sculptorgenearray: listloop.extend(['/nPl'] * 50) listloop.extend(['/PlPl'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nSp' in gathergenearray and 'nSp' in sculptorgenearray: listloop.extend(['/nSp'] * 50) listloop.extend(['/SpSp'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nDi' in gathergenearray and 'nDi' in sculptorgenearray: listloop.extend(['/nDi'] * 50) listloop.extend(['/DiDi'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nRi' in gathergenearray and 'nRi' in sculptorgenearray: listloop.extend(['/nRi'] * 50) listloop.extend(['/nRiRi'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nCo' in gathergenearray and 'nCo' in sculptorgenearray: listloop.extend(['/nCo'] * 50) listloop.extend(['/CoCo'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nFl' in gathergenearray and 'nFl' in sculptorgenearray: listloop.extend(['/nFl'] * 50) listloop.extend(['/FlFl'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nDu' in gathergenearray and 'nDu' in sculptorgenearray: listloop.extend(['/nDu'] * 50) listloop.extend(['/DuDu'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nMsk' in gathergenearray and 'nMs' in sculptorgenearray: listloop.extend(['/nMsk'] * 50) listloop.extend(['/MskMsk'] * 10) listloop.extend(['nothing'] * 40) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nMi' in gathergenearray and 'nMi' in sculptorgenearray: listloop.extend(['/nMi'] * 30) listloop.extend(['/MiMi'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nMa' in gathergenearray and 'nMa' in sculptorgenearray: listloop.extend(['/nMa'] * 30) listloop.extend(['/MaMa'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nPi' in gathergenearray and 'nPi' in sculptorgenearray: listloop.extend(['/nPi'] * 30) listloop.extend(['/PiPi'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nSc' in gathergenearray and 'nSc' in sculptorgenearray: listloop.extend(['/nSc'] * 30) listloop.extend(['/ScSc'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nRp' in gathergenearray and 'nRp' in sculptorgenearray: listloop.extend(['/nRp'] * 30) listloop.extend(['/RpRp'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nKo' in gathergenearray and 'nKo' in sculptorgenearray: listloop.extend(['/nKo'] * 30) listloop.extend(['/KoKo'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nCi' in gathergenearray and 'nCi' in sculptorgenearray: listloop.extend(['/nCi'] * 30) listloop.extend(['/CiCi'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nGnt' in gathergenearray and 'nGnt' in sculptorgenearray: listloop.extend(['/nGnt'] * 30) listloop.extend(['/GntGnt'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nRos' in gathergenearray and 'nRos' in sculptorgenearray: listloop.extend(['/nRos'] * 30) listloop.extend(['/RosRos'] * 8) listloop.extend(['nothing'] * 62) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nBch' in gathergenearray and 'nBch' in sculptorgenearray: listloop.extend(['/nBch'] * 40) listloop.extend(['/BchBch'] * 8) listloop.extend(['nothing'] * 52) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nR' in gathergenearray or 'nR' in sculptorgenearray: listloop.extend(['/nR'] * 25) listloop.extend(['/RR'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nFl' in gathergenearray and 'nFl' in sculptorgenearray: listloop.extend(['/nFl'] * 25) listloop.extend(['/FF'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nBr' in gathergenearray and 'nBr' in sculptorgenearray: listloop.extend(['/nBr'] * 25) listloop.extend(['/BrBr'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nIr' in gathergenearray and 'nIr' in sculptorgenearray: listloop.extend(['/nIr'] * 25) listloop.extend(['/IrIr'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nOu' in gathergenearray and 'nOu' in sculptorgenearray: listloop.extend(['/nOu'] * 25) listloop.extend(['/OuOu'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nMn' in gathergenearray and 'nMn' in sculptorgenearray: listloop.extend(['/nMn'] * 25) listloop.extend(['/MnMn'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nUn' in gathergenearray and 'nUn' in sculptorgenearray: listloop.extend(['/nUn'] * 25) listloop.extend(['/UnUn'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nDy' in gathergenearray and 'nDy' in sculptorgenearray: listloop.extend(['/nDy'] * 25) listloop.extend(['/DyDy'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'nGy' in gathergenearray and 'nGy' in sculptorgenearray: listloop.extend(['/nGy'] * 25) listloop.extend(['/GyGy'] * 5) listloop.extend(['nothing'] * 70) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'Chm' in gathergenearray and 'Chm' in sculptorgenearray: listloop.extend(['/Chm'] * 1) listloop.extend(['nothing'] * 99) random.shuffle(listloop) random.shuffle(listloop) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 if 'Alb' in gathergenearray and 'Alb' in sculptorgenearray: listloop.extend(['/Alb'] * 1) listloop.extend(['nothing'] * 99) throwawayvariable = random.sample(listloop, 1) if throwawayvariable == 'nothing': donothing = 1 else: gennedgenearray.extend(throwawayvariable) countervariable += 1 ### DOM/DOM BELOW if 'UU' or 'SkSk' or 'ClCl' or 'SblSbl' or 'PnPn' or 'StSt' or 'BlBl' or 'MlMl' or 'PlPl' or 'SpSp' or 'DiDi' or 'nRiRi' or 'CoCo' or 'FlFl' or 'DuDu' or 'MskMsk' or 'MiMi' or 'MaMa' or 'PiPi' or 'ScSc' or 'RpRp' or 'KoKo' or 'CiCi' or 'GntGnt' or 'RosRos' or 'BchBch' or 'RR' or 'FF' or 'BrBr' or 'IrIr' or 'OuOu' or 'MnMn' or 'UnUn' or 'DyDy' or 'GyGy' or 'Chm' or 'Alb' in sculptorgenearray or 'UU' or 'SkSk' or 'ClCl' or 'SblSbl' or 'PnPn' or 'StSt' or 'BlBl' or 'MlMl' or 'PlPl' or 'SpSp' or 'DiDi' or 'nRiRi' or 'CoCo' or 'FlFl' or 'DuDu' or 'MskMsk' or 'MiMi' or 'MaMa' or 'PiPi' or 'ScSc' or 'RpRp' or 'KoKo' or 'CiCi' or 'GntGnt' or 'RosRos' or 'BchBch' or 'RR' or 'FF' or 'BrBr' or 'IrIr' or 'OuOu' or 'MnMn' or 'UnUn' or 'DyDy' or 'GyGy' or 'Chm' or 'Alb' in gathergenearray: if gathergenearray == 'UU' or sculptorgenearray == 'UU': listnU.extend(['/UU'] * 100) listnU.extend(['/nU'] * 10) Listnumber += 1 if gathergenearray == 'SkSk' or sculptorgenearray == 'SkSk': listnU.extend(['/SkSk'] * 100) listnU.extend(['/nSK'] * 10) Listnumber += 1 if gathergenearray == 'ClCl' or sculptorgenearray == 'ClCl': listnU.extend(['/ClCl'] * 100) listnU.extend(['/nCl'] * 10) Listnumber += 1 if gathergenearray == 'SblSbl' or sculptorgenearray == 'SblSbl': listnU.extend(['/SblSbl'] * 100) listnU.extend(['/nSbl'] * 10) Listnumber += 1 if gathergenearray == 'PnPn' or sculptorgenearray == 'PnPn': listnU.extend(['/PnPn'] * 100) listnU.extend(['/nPn'] * 10) Listnumber += 1 if gathergenearray == 'StSt' or sculptorgenearray == 'StSt': listnU.extend(['/StSt'] * 100) listnU.extend(['/nSt'] * 10) Listnumber += 1 if gathergenearray == 'BlBl' or sculptorgenearray == 'BlBl': listnU.extend(['/BlBl'] * 100) listnU.extend(['/nBl'] * 10) Listnumber += 1 if gathergenearray == 'MlMl' or sculptorgenearray == 'MlMl': listnU.extend(['/MlMl'] * 100) listnU.extend(['/nMl'] * 10) Listnumber += 1 if gathergenearray == 'PlPl' or sculptorgenearray == 'PlPl': listnU.extend(['/PlPl'] * 100) listnU.extend(['/nPl'] * 10) Listnumber += 1 if gathergenearray == 'SpSp' or sculptorgenearray == 'SpSp': listnU.extend(['/SpSp'] * 100) listnU.extend(['/nSp'] * 10) Listnumber += 1 if gathergenearray == 'DiDi' or sculptorgenearray == 'DiDi': listnU.extend(['/DiDi'] * 100) listnU.extend(['/nDi'] * 10) Listnumber += 1 if gathergenearray == 'nRiRi' or sculptorgenearray == 'nRiRi': listnU.extend(['/nRiRi'] * 100) listnU.extend(['/nRi'] * 10) Listnumber += 1 if gathergenearray == 'CoCo' or sculptorgenearray == 'CoCo': listnU.extend(['/CoCo'] * 100) listnU.extend(['/nCo'] * 10) Listnumber += 1 if gathergenearray == 'FlFl' or sculptorgenearray == 'FlFl': listnU.extend(['/FlFl'] * 100) listnU.extend(['/nFl'] * 10) Listnumber += 1 if gathergenearray == 'DuDu' or sculptorgenearray == 'DuDu': listnU.extend(['/DuDu'] * 100) listnU.extend(['/nDu'] * 10) Listnumber += 1 if gathergenearray == 'MskMsk' or sculptorgenearray == 'MskMsk': listnU.extend(['/MskMsk'] * 100) listnU.extend(['/nMsk'] * 10) Listnumber += 1 if gathergenearray == 'MiMi' or sculptorgenearray == 'MiMi': listnU.extend(['/MiMi'] * 100) listnU.extend(['/nMi'] * 10) Listnumber += 1 if gathergenearray == 'MaMa' or sculptorgenearray == 'MaMa': listnU.extend(['/MaMa'] * 100) listnU.extend(['/nMa'] * 10) Listnumber += 1 if gathergenearray == 'PiPi' or sculptorgenearray == 'PiPi': listnU.extend(['/PiPi'] * 100) listnU.extend(['/nPi'] * 10) Listnumber += 1 if gathergenearray == 'ScSc' or sculptorgenearray == 'ScSc': listnU.extend(['/ScSc'] * 100) listnU.extend(['/nSc'] * 10) Listnumber += 1 if gathergenearray == 'RpRp' or sculptorgenearray == 'RpRp': listnU.extend(['/RpRp'] * 100) listnU.extend(['/nRp'] * 10) Listnumber += 1 if gathergenearray == 'KoKo' or sculptorgenearray == 'KoKo': listnU.extend(['/KoKo'] * 100) listnU.extend(['/nKo'] * 10) Listnumber += 1 if gathergenearray == 'CiCi' or sculptorgenearray == 'CiCi': listnU.extend(['/CiCi'] * 100) listnU.extend(['/nCi'] * 10) Listnumber += 1 if gathergenearray == 'GntGnt' or sculptorgenearray == 'GntGnt': listnU.extend(['/GntGnt'] * 100) listnU.extend(['/nGnt'] * 10) Listnumber += 1 if gathergenearray == 'RosRos' or sculptorgenearray == 'RosRos': listnU.extend(['/RosRos'] * 100) listnU.extend(['/nRos'] * 10) Listnumber += 1 if gathergenearray == 'BchBch' or sculptorgenearray == 'BchBch': listnU.extend(['/BchBch'] * 100) listnU.extend(['/nBch'] * 10) Listnumber += 1 if gathergenearray == 'RR' or sculptorgenearray == 'RR': listnU.extend(['/RR'] * 100) listnU.extend(['/nR'] * 5) Listnumber += 1 if gathergenearray == 'BrBr' or sculptorgenearray == 'BrBr': listnU.extend(['/BrBr'] * 100) listnU.extend(['/nBr'] * 5) Listnumber += 1 if gathergenearray == 'IrIr' or sculptorgenearray == 'IrIr': listnU.extend(['/IrIr'] * 100) listnU.extend(['/nIr'] * 5) Listnumber += 1 if gathergenearray == 'OuOu' or sculptorgenearray == 'OuOu': listnU.extend(['/OuOu'] * 100) listnU.extend(['/nOu'] * 5) Listnumber += 1 if gathergenearray == 'MnMn' or sculptorgenearray == 'MnMn': listnU.extend(['/MnMn'] * 100) listnU.extend(['/nMn'] * 5) Listnumber += 1 if gathergenearray == 'UnUn' or sculptorgenearray == 'UnUn': listnU.extend(['/UnUn'] * 100) listnU.extend(['/nUn'] * 5) Listnumber += 1 if gathergenearray == 'DyDy' or sculptorgenearray == 'DyDy': listnU.extend(['/DyDy'] * 100) listnU.extend(['/nDy'] * 5) Listnumber += 1 if gathergenearray == 'GyGy' or sculptorgenearray == 'GyGy': listnU.extend(['/GyGy'] * 100) listnU.extend(['/nGy'] * 5) Listnumber += 1 if gathergenearray == 'Chm' or sculptorgenearray == 'Chm': listnU.extend(['/Chm'] * 1) Listnumber += 1 if gathergenearray == 'Alb' or sculptorgenearray == 'Alb': listnU.extend(['/Alb'] * 1) Listnumber += 1 if gathergenearray == 'FF' or sculptorgenearray == 'nU': listnU.extend(['/FF'] * 100) listnU.extend(['/nFl'] * 5) Listnumber += 1 if sculptorgenearray not in listnU or gathergenearray not in listnU or sculptorgenearray not in listnU and gathergenearray not in listnU: if gathergenearray == 'UU' or sculptorgenearray == 'UU': listnU.extend(['/UU'] * 60) Listnumber += 1 if gathergenearray == 'SkSk' or sculptorgenearray == 'SkSk': listnU.extend(['/SkSk'] * 60) Listnumber += 1 if gathergenearray == 'ClCl' or sculptorgenearray == 'ClCl': listnU.extend(['/ClCl'] * 60) Listnumber += 1 if gathergenearray == 'SblSbl' or sculptorgenearray == 'SblSbl': listnU.extend(['/SblSbl'] * 60) Listnumber += 1 if gathergenearray == 'PnPn' or sculptorgenearray == 'PnPn': listnU.extend(['/PnPn'] * 60) Listnumber += 1 if gathergenearray == 'StSt' or sculptorgenearray == 'StSt': listnU.extend(['/StSt'] * 60) Listnumber += 1 if gathergenearray == 'BlBl' or sculptorgenearray == 'BlBl': listnU.extend(['/BlBl'] * 60) Listnumber += 1 if gathergenearray == 'MlMl' or sculptorgenearray == 'MlMl': listnU.extend(['/MlMl'] * 100) Listnumber += 1 if gathergenearray == 'PlPl' or sculptorgenearray == 'PlPl': listnU.extend(['/PlPl'] * 100) Listnumber += 1 if gathergenearray == 'SpSp' or sculptorgenearray == 'SpSp': listnU.extend(['/SpSp'] * 100) Listnumber += 1 if gathergenearray == 'DiDi' or sculptorgenearray == 'DiDi': listnU.extend(['/DiDi'] * 100) Listnumber += 1 if gathergenearray == 'nRiRi' or sculptorgenearray == 'nRiRi': listnU.extend(['/nRiRi'] * 100) Listnumber += 1 if gathergenearray == 'CoCo' or sculptorgenearray == 'CoCo': listnU.extend(['/CoCo'] * 100) Listnumber += 1 if gathergenearray == 'FlFl' or sculptorgenearray == 'FlFl': listnU.extend(['/FlFl'] * 100) Listnumber += 1 if gathergenearray == 'DuDu' or sculptorgenearray == 'DuDu': listnU.extend(['/DuDu'] * 100) Listnumber += 1 if gathergenearray == 'MskMsk' or sculptorgenearray == 'MskMsk': listnU.extend(['/MskMsk'] * 100) Listnumber += 1 if gathergenearray == 'MiMi' or sculptorgenearray == 'MiMi': listnU.extend(['/MiMi'] * 100) Listnumber += 1 if gathergenearray == 'MaMa' or sculptorgenearray == 'MaMa': listnU.extend(['/MaMa'] * 100) Listnumber += 1 if gathergenearray == 'PiPi' or sculptorgenearray == 'PiPi': listnU.extend(['/PiPi'] * 100) Listnumber += 1 if gathergenearray == 'ScSc' or sculptorgenearray == 'ScSc': listnU.extend(['/ScSc'] * 100) Listnumber += 1 if gathergenearray == 'RpRp' or sculptorgenearray == 'RpRp': listnU.extend(['/RpRp'] * 100) Listnumber += 1 if gathergenearray == 'KoKo' or sculptorgenearray == 'KoKo': listnU.extend(['/KoKo'] * 100) Listnumber += 1 if gathergenearray == 'CiCi' or sculptorgenearray == 'CiCi': listnU.extend(['/CiCi'] * 100) Listnumber += 1 if gathergenearray == 'GntGnt' or sculptorgenearray == 'GntGnt': listnU.extend(['/GntGnt'] * 100) Listnumber += 1 if gathergenearray == 'RosRos' or sculptorgenearray == 'RosRos': listnU.extend(['/RosRos'] * 100) Listnumber += 1 if gathergenearray == 'BchBch' or sculptorgenearray == 'BchBch': listnU.extend(['/BchBch'] * 100) Listnumber += 1 if gathergenearray == 'RR' or sculptorgenearray == 'RR': listnU.extend(['/RR'] * 100) Listnumber += 1 if gathergenearray == 'BrBr' or sculptorgenearray == 'BrBr': listnU.extend(['/BrBr'] * 100) Listnumber += 1 if gathergenearray == 'IrIr' or sculptorgenearray == 'IrIr': listnU.extend(['/IrIr'] * 100) Listnumber += 1 if gathergenearray == 'OuOu' or sculptorgenearray == 'OuOu': listnU.extend(['/OuOu'] * 100) Listnumber += 1 if gathergenearray == 'MnMn' or sculptorgenearray == 'MnMn': listnU.extend(['/MnMn'] * 100) Listnumber += 1 if gathergenearray == 'UnUn' or sculptorgenearray == 'UnUn': listnU.extend(['/UnUn'] * 100) Listnumber += 1 if gathergenearray == 'DyDy' or sculptorgenearray == 'DyDy': listnU.extend(['/DyDy'] * 100) Listnumber += 1 if gathergenearray == 'GyGy' or sculptorgenearray == 'GyGy': listnU.extend(['/GyGy'] * 100) Listnumber += 1 if gathergenearray == 'Chm' or sculptorgenearray == 'Chm': listnU.extend(['/Chm'] * 1) Listnumber += 1 if gathergenearray == 'Alb' or sculptorgenearray == 'Alb': listnU.extend(['/Alb'] * 1) Listnumber += 1 if gathergenearray == 'FF' or sculptorgenearray == 'FF': listnU.extend(['/FF'] * 100) Listnumber += 1 if gathergenearray == 'nU' or sculptorgenearray == 'nU': listnU.extend(['/nU'] * 50) Listnumber += 1 if gathergenearray == 'nSk' or sculptorgenearray == 'nSk': listnU.extend(['/nSk'] * 50) Listnumber += 1 if gathergenearray == 'nCl' or sculptorgenearray == 'nCl': listnU.extend(['/nCl'] * 50) Listnumber += 1 if gathergenearray == 'nSbl' or sculptorgenearray == 'nSbl': listnU.extend(['/nSbl'] * 50) Listnumber += 1 if gathergenearray == 'nPn' or sculptorgenearray == 'nPn': listnU.extend(['/nPn'] * 50) Listnumber += 1 if gathergenearray == 'nSt' or sculptorgenearray == 'nSt': listnU.extend(['/nSt'] * 50) Listnumber += 1 if gathergenearray == 'nBl' or sculptorgenearray == 'nBl': listnU.extend(['/nBl'] * 50) Listnumber += 1 if gathergenearray == 'nMl' or sculptorgenearray == 'nMl': listnU.extend(['/nMl'] * 50) Listnumber += 1 if gathergenearray == 'nPl' or sculptorgenearray == 'nPl': listnU.extend(['/nPl'] * 50) Listnumber += 1 if gathergenearray == 'nSp' or sculptorgenearray == 'nSp': listnU.extend(['/nSp'] * 50) Listnumber += 1 if gathergenearray == 'nDi' or sculptorgenearray == 'nDi': listnU.extend(['/nDi'] * 50) Listnumber += 1 if gathergenearray == 'nRi' or sculptorgenearray == 'nRi': listnU.extend(['/nRi'] * 50) Listnumber += 1 if gathergenearray == 'nCo' or sculptorgenearray == 'nCo': listnU.extend(['/nCo'] * 50) Listnumber += 1 if gathergenearray == 'nFl' or sculptorgenearray == 'nFl': listnU.extend(['/nFl'] * 50) Listnumber += 1 if gathergenearray == 'nDu' or sculptorgenearray == 'nDu': listnU.extend(['/nDu'] * 50) Listnumber += 1 if gathergenearray == 'nMsk' or sculptorgenearray == 'nMsk': listnU.extend(['/nMsk'] * 50) Listnumber += 1 if gathergenearray == 'nMi' or sculptorgenearray == 'nMi': listnU.extend(['/nMi'] * 30) Listnumber += 1 if gathergenearray == 'nMa' or sculptorgenearray == 'nMa': listnU.extend(['/nMa'] * 30) Listnumber += 1 if gathergenearray == 'nPi' or sculptorgenearray == 'nPi': listnU.extend(['/nPi'] * 30) Listnumber += 1 if gathergenearray == 'nSc' or sculptorgenearray == 'nSc': listnU.extend(['/nSc'] * 30) Listnumber += 1 if gathergenearray == 'nRp' or sculptorgenearray == 'nRp': listnU.extend(['/nRp'] * 30) Listnumber += 1 if gathergenearray == 'nKo' or sculptorgenearray == 'nKo': listnU.extend(['/nKo'] * 30) Listnumber += 1 if gathergenearray == 'nCi' or sculptorgenearray == 'nCi': listnU.extend(['/nCi'] * 30) Listnumber += 1 if gathergenearray == 'nGnt' or sculptorgenearray == 'nGnt': listnU.extend(['/nGnt'] * 30) Listnumber += 1 if gathergenearray == 'nRos' or sculptorgenearray == 'nRos': listnU.extend(['/nRos'] * 30) Listnumber += 1 if gathergenearray == 'nBch' or sculptorgenearray == 'nBch': listnU.extend(['/nBch'] * 40) Listnumber += 1 if gathergenearray == 'nR' or sculptorgenearray == 'nR': listnU.extend(['/nR'] * 25) Listnumber += 1 if gathergenearray == 'nFl' or sculptorgenearray == 'nFl': listnU.extend(['/nFl'] * 25) Listnumber += 1 if gathergenearray == 'nBr' or sculptorgenearray == 'nBr': listnU.extend(['/nBr'] * 25) Listnumber += 1 if gathergenearray == 'nIr' or sculptorgenearray == 'nIr': listnU.extend(['/nIr'] * 25) Listnumber += 1 if gathergenearray == 'nOu' or sculptorgenearray == 'nOu': listnU.extend(['/nOu'] * 25) Listnumber += 1 if gathergenearray == 'nMn' or sculptorgenearray == 'nMn': listnU.extend(['/nMn'] * 25) Listnumber += 1 if gathergenearray == 'nUn' or sculptorgenearray == 'nUn': listnU.extend(['/nUn'] * 25) Listnumber += 1 if gathergenearray == 'nDy' or sculptorgenearray == 'nDy': listnU.extend(['/nDy'] * 25) Listnumber += 1 if gathergenearray == 'nGy' or sculptorgenearray == 'nGy': listnU.extend(['/nGy'] * 25) Listnumber += 1 if gathergenearray == 'Chm' or sculptorgenearray == 'Chm': listnU.extend(['/Chm'] * 1) Listnumber += 1 if gathergenearray == 'Alb' or sculptorgenearray == 'Alb': listnU.extend(['/Alb'] * 1) Listnumber += 1 geneprint = random.randint(1,Listnumber) random.shuffle(listnU) gennedg = random.sample(listnU, geneprint) gennedgenearray.extend(gennedg) def speciesmod(): global gennedSpecies gennedSpecies = '' subspeciesarray = [] if gathererSpecies == 'common' and sculpterSpecies == 'common': f15 = ['dragon'] f10 = ['brute'] f5 = ['common'] f5 = f5 * 92 f10 = f10 * 1 f15 = f15 * 1 subspeciesarray.extend(f15) subspeciesarray.extend(f5) subspeciesarray.extend(f10) gennedSpecies = random.sample(subspeciesarray, 1) elif gathererSpecies == 'common' and sculpterSpecies == 'brute' or gathererSpecies == 'brute' and sculpterSpecies == 'common': f15 = ['dragon'] f10 = ['brute'] f5 = ['common'] f5 = f5 * 91 f10 = f10 * 8 f15 = f15 * 1 subspeciesarray.extend(f15) subspeciesarray.extend(f5) subspeciesarray.extend(f10) gennedSpecies = random.sample(subspeciesarray, 1) elif gathererSpecies == 'common' and sculpterSpecies == 'dragon' or gathererSpecies == 'dragon' and sculpterSpecies == 'common': f15 = ['dragon'] f10 = ['brute'] f5 = ['common'] f5 = f5 * 91 f10 = f10 * 1 f15 = f15 * 8 subspeciesarray.extend(f15) subspeciesarray.extend(f5) subspeciesarray.extend(f10) gennedSpecies = random.sample(subspeciesarray, 1) elif gathererSpecies == 'dragon' and sculpterSpecies == 'dragon': f15 = ['dragon'] f10 = ['brute'] f5 = ['common'] f5 = f5 * 50 f10 = f10 * 10 f15 = f15 * 40 subspeciesarray.extend(f15) subspeciesarray.extend(f5) subspeciesarray.extend(f10) gennedSpecies = random.sample(subspeciesarray, 1) elif gathererSpecies == 'brute' and sculpterSpecies == 'brute': f15 = ['dragon'] f10 = ['brute'] f5 = ['common'] f5 = f5 * 50 f10 = f10 * 40 f15 = f15 * 10 subspeciesarray.extend(f15) subspeciesarray.extend(f5) subspeciesarray.extend(f10) gennedSpecies = random.sample(subspeciesarray, 1) elif gathererSpecies == 'brute' and sculpterSpecies == 'dragon' or gathererSpecies == 'dragon' and sculpterSpecies == 'brute': f15 = ['dragon'] f10 = ['brute'] f5 = ['common'] f5 = f5 * 50 f10 = f10 * 25 f15 = f15 * 25 subspeciesarray.extend(f15) subspeciesarray.extend(f5) subspeciesarray.extend(f10) gennedSpecies = random.sample(subspeciesarray, 1) return gennedSpecies def tailmod(): global gennedtail gennedtail = '' tailgenlist = [] if SculptTail == 'lung': lung = ['lung'] lung = lung * 8 tailgenlist.extend(lung) elif SculptTail == 'curtain': curtain = ['curtain'] curtain = curtain * 8 tailgenlist.extend(curtain) elif SculptTail == 'thick spade': thickspade = ['thick spade'] thickspade = thickspade * 15 tailgenlist.extend(thickspade) elif SculptTail == 'feline': feline = ['feline'] feline = feline * 15 tailgenlist.extend(feline) elif SculptTail == 'spade': spade = ['spade'] spade = spade * 18 tailgenlist.extend(spade) elif SculptTail == 'thick': thick = ['thick'] thick = thick * 18 tailgenlist.extend(thick) elif SculptTail == 'wolf': wolf = ['wolf'] wolf = wolf * 18 tailgenlist.extend(wolf) if SculptTail == 'curled': curled = ['curled'] curled = curled * 8 tailgenlist.extend(curled) elif SculptTail == 'tuft': tuft = ['tuft'] tuft = tuft * 8 tailgenlist.extend(tuft) elif SculptTail == 'long': long = ['long'] long = long * 15 tailgenlist.extend(long) if gatherTail == 'lung': lung = ['lung'] lung = lung * 8 tailgenlist.extend(lung) elif gatherTail == 'curtain': curtain = ['curtain'] curtain = curtain * 8 tailgenlist.extend(curtain) elif gatherTail == 'thick spade': thickspade = ['thick spade'] thickspade = thickspade * 15 tailgenlist.extend(thickspade) elif gatherTail == 'feline': feline = ['feline'] feline = feline * 15 tailgenlist.extend(feline) elif gatherTail == 'spade': spade = ['spade'] spade = spade * 18 tailgenlist.extend(spade) elif gatherTail == 'thick': thick = ['thick'] thick = thick * 18 tailgenlist.extend(thick) elif gatherTail == 'wolf': wolf = ['wolf'] wolf = wolf * 18 tailgenlist.extend(wolf) if gatherTail == 'curled': curled = ['curled'] curled = curled * 8 tailgenlist.extend(curled) elif gatherTail == 'tuft': tuft = ['tuft'] tuft = tuft * 8 tailgenlist.extend(tuft) elif gatherTail == 'long': long = ['long'] long = long * 15 tailgenlist.extend(long) gennedtail = random.choice(tailgenlist) def earmod(): global gennedear gennedear = '' eargenlist = [] if sculptorear == 'double': double = ['double'] double = double * 8 eargenlist.extend(double) elif sculptorear == 'royal': royal = ['royal'] royal = royal * 8 eargenlist.extend(royal) elif sculptorear == 'fluffy': fluffy = ['fluffy'] fluffy = fluffy * 15 eargenlist.extend(fluffy) elif sculptorear == 'droopy': droopy = ['droopy'] droopy = droopy * 15 eargenlist.extend(droopy) elif sculptorear == 'long': long = ['long'] long = long * 18 eargenlist.extend(long) elif sculptorear == 'vulpine': vulpine = ['vulpine'] vulpine = vulpine * 18 eargenlist.extend(vulpine) elif sculptorear == 'basic': basic = ['basic'] basic = basic * 18 eargenlist.extend(basic) if gathererear == 'double': double = ['double'] double = double * 8 eargenlist.extend(double) elif gathererear == 'royal': royal = ['royal'] royal = royal * 8 eargenlist.extend(royal) elif gathererear == 'fluffy': fluffy = ['fluffy'] fluffy = fluffy * 15 eargenlist.extend(fluffy) elif gathererear == 'droopy': droopy = ['droopy'] droopy = droopy * 15 eargenlist.extend(droopy) elif gathererear == 'long': long = ['long'] long = long * 18 eargenlist.extend(long) elif gathererear == 'vulpine': vulpine = ['vulpine'] vulpine = vulpine * 18 eargenlist.extend(vulpine) elif gathererear == 'basic': basic = ['basic'] basic = basic * 18 eargenlist.extend(basic) gennedear = random.choice(eargenlist) def final(): global lol global byebitch byebitch = '/' lol = [] lol.extend(colorarraygeneration) lol.extend(byebitch) lol.append(gennedear) lol.extend(byebitch) lol.append(gennedtail) lol.extend(byebitch) lol.extend(gennedSpecies) lol.extend(gennedgenearray) def main(): global x global y y = '' x = '' global gathergenearray global sculptorgenearray global SculptTail SculptTail = '' global gatherTail gatherTail = '' global gathererear gathererear = '' gathergenearray = [] sculptorgenearray = [] global sculptorear sculptorear = '' global mainloop mainloop = 1 global gathererSpecies gathererSpecies = '' global sculpterSpecies sculpterSpecies = '' global gennedgenearray gennedgenearray = [] global gennedgene gennedgene = '' global run run = random.randint(1,3) gathererinput = input('please enter gatherers string: ') sculptorinput = input('please enter sculptors string: ') gatherergeneaddition = gathererinput.count('/') sculptorgeneaddition = sculptorinput.count('/') if gatherergeneaddition == 4: y,gathererear,gatherTail,gathererSpecies,gathergene1 = gathererinput.split("/") gathergenearray.append(gathergene1) elif gatherergeneaddition == 5: y,gathererear,gatherTail,gathererSpecies,gathergene1,gathergene2 = gathererinput.split("/") gathergenearray.append(gathergene1) gathergenearray.append(gathergene2) elif gatherergeneaddition == 6: y,gathererear,gatherTail,gathererSpecies,gathergene1,gathergene2,gathergene3 = gathererinput.split("/") gathergenearray.append(gathergene1) gathergenearray.append(gathergene2) gathergenearray.append(gathergene3) elif gatherergeneaddition == 7: y,gathererear,gatherTail,gathererSpecies,gathergene1,gathergene2,gathergene3,gathergene4 = gathererinput.split("/") gathergenearray.append(gathergene1) gathergenearray.append(gathergene2) gathergenearray.append(gathergene3) gathergenearray.append(gathergene4) elif gatherergeneaddition == 8: y,gatherear,gatherTail,gathererSpecies,gathergene1,gathergene2,gathergene3,gathergene4,gathergene5 = gathererinput.split("/") gathergenearray.append(gathergene1) gathergenearray.append(gathergene2) gathergenearray.append(gathergene3) gathergenearray.append(gathergene4) gathergenearray.append(gathergene5) elif gatherergeneaddition == 9: y,gatherear,gatherTail,gathererSpecies,gathergene1,gathergene2,gathergene3,gathergene4,gathergene5,gathergene6 = gathererinput.split("/") gathergenearray.append(gathergene1) gathergenearray.append(gathergene2) gathergenearray.append(gathergene3) gathergenearray.append(gathergene4) gathergenearray.append(gathergene5) gathergenearray.append(gathergene6) if sculptorgeneaddition == 4: x,Sculptear,SculptTail,sculpterSpecies,sculptorgene1 = sculptorinput.split("/") sculptorgenearray.append(sculptorgene1) elif sculptorgeneaddition == 5: x,Sculptear,SculptTail,sculpterSpecies,sculptorgene1,sculptorgene2 = sculptorinput.split("/") sculptorgenearray.append(sculptorgene1) sculptorgenearray.append(sculptorgene2) elif sculptorgeneaddition == 6: x,Sculptear,SculptTail,sculpterSpecies,sculptorgene1,sculptorgene2,sculptorgene3 = sculptorinput.split("/") sculptorgenearray.append(sculptorgene1) sculptorgenearray.append(sculptorgene2) sculptorgenearray.append(sculptorgene3) elif sculptorgeneaddition == 7: x,Sculptear,SculptTail,sculpterSpecies,sculptorgene1,sculptorgene2,sculptorgene3,sculptorgene4 = sculptorinput.split("/") sculptorgenearray.append(sculptorgene1) sculptorgenearray.append(sculptorgene2) sculptorgenearray.append(sculptorgene3) sculptorgenearray.append(sculptorgene4) elif sculptorgeneaddition == 8: x,Sculptear,SculptTail,sculpterSpecies,sculptorgene1,sculptorgene2,sculptorgene3,sculptorgene4,sculptorgene5 = sculptorinput.split("/") sculptorgenearray.append(sculptorgene1) sculptorgenearray.append(sculptorgene2) sculptorgenearray.append(sculptorgene3) sculptorgenearray.append(sculptorgene4) sculptorgenearray.append(sculptorgene5) elif sculptorgeneaddition == 9: x,Sculptear,SculptTail,sculpterSpecies,sculptorgene1,sculptorgene2,sculptorgene3,sculptorgene4,sculptorgene5,sculptorgene6 = sculptorinput.split("/") sculptorgenearray.append(sculptorgene1) sculptorgenearray.append(sculptorgene2) sculptorgenearray.append(sculptorgene3) sculptorgenearray.append(sculptorgene4) sculptorgenearray.append(sculptorgene5) sculptorgenearray.append(sculptorgene6) #--------------------------------------------------------------------------------------------------------------------------------------------------------# while run != 0: #move all generation variables here. i.e array generation bc the previous way was broken isaac = run - 1 print('druuvai child #', run) print(hi) genemod() tailmod() earmod() speciesmod() colormod() run = isaac hi = "".join(lol) mainloop = int(input('press 1 to rerun and 2 to exit!: ')) while mainloop == 1: main() Link to comment
Bongo Bongo Bongo 70 Posted March 6, 2019 Report Share Posted March 6, 2019 @Caleb Snackbar getting your posts up I see 1 Link to comment
1thedoc 424 Posted March 6, 2019 Report Share Posted March 6, 2019 ARMA 3 licensing agreement You should carefully read the following End User License Agreement before installing this software. This computer software program, any printed materials, any online or electronic documentation, and any and all copies and derivative works of such software program and materials (the "Program") are the copyrighted work. All use of the Program is governed by the copyright law and by the terms of the End User License Agreement, which is provided below ("License"). By using the Program you agree to be legally bound by the terms of this license agreement. Any use, reproduction or redistribution of the Program not in accordance with the terms of the License is expressly prohibited. If you do not agree to the terms of this Agreement, do not install or use the Program. You may, however, return it to your place of purchase for a full refund. Ownership All title, ownership rights and intellectual property rights in and to the Program and any and all copies thereof (including but not limited to any titles, computer code, themes, objects, characters, character names, stories, narrative, locations, artwork, animations, sounds, musical compositions, audiovisual effects, methods of operation, any related documentation, and addons incorporated into the Program) are owned by Bohemia Interactive a.s. (the Licensor) or its licensors. The Program is protected by the Czech copyright laws, international copyright treaties and conventions and any other applicable laws. All rights are reserved. Limited Use of License The Licensor hereby grants, and by installing the Program you thereby accept, a restricted, non-exclusive license and right to install and use one (1) copy of the Program for your personal use. You may not network the Program or otherwise install it or use it on more than one computer at a time, except if expressly authorized otherwise in the applicable documentation. The Program is licensed, not sold. Your license confers no title or ownership in the Program. End User's Obligations As a Subject to the Grant of License herein above, you may not, in whole or in part, copy, duplicate, reproduce, translate, reverse-engineer, modify, disassemble, decompile, derive source code, create derivative works based on the Program, remove any proprietary notices or labels from the Program or otherwise modify the Program without the prior written consent of the Licensor. You are entitled to use the Program for your own use, but you are not entitled to: Sell or transfer reproductions of the Program to other parties in any way, nor to rent, lease or license the Program to others Publish and/or distribute the computer Program or any of its parts Exploit the Program or any of its parts for any commercial purpose including, but not limited to, use at a cybercafe, computer gaming centre, computer aided training center or any other location-based site where multiple users may access the Program License Transfer You may permanently transfer all of your rights under this License to the recipient, provided that the recipient agrees to the terms of this License and you remove the Program from your computer. Termination This License is effective until terminated. You may terminate the License at any time by destroying the Program and any Collateral Material. The Licensor may, at its discretion, terminate this License in the event that you fail to comply with the terms and conditions contained herein. In such event, you must immediately destroy the Program and any New Material. Limited Warranty The Licensor expressly disclaims any warranty for the Program. The Program is provided "as is" without warranties of any kind, either expressed or implied, including, without limitation to, the implied warranties of merchantability, fitness for a particular purpose or non-infringement. The entire risk arising out of use or performance of the Program remains with you. However it is warranted that the media containing the Program shall be free from defects in material and workmanship under normal use and services and the Program will perform substantially in accordance with the accompanying written materials, for a period of 90 (ninety) days from the date of your purchase of the Program. Limitation of Liability Neither the Licensor, its parent, subsidiaries, affiliates or licensors shall be liable in any way for loss or damage of any kind resulting from the use of the program, including but not limited to loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damage or losses. Miscellaneous The License shall be deemed to have been made and executed in the Czech Republic, and any dispute arising hereunder shall be resolved in accordance with the Czech law. You hereby acknowledge that you have read and understand the foregoing License and agree that the action of installing the Program is an acknowledgment of your agreement to be bound by the terms and conditions of the License contained herein. You also acknowledge and agree that this License is the complete and exclusive statement of the agreement between the Licensor and you. Link to comment
Lead Map Designer Zeuse 1240 Posted March 6, 2019 Lead Map Designer Report Share Posted March 6, 2019 Ya dafty Link to comment
Slumberjack 2014 Posted March 6, 2019 Report Share Posted March 6, 2019 43 minutes ago, SecTranLive said: GIMMIE GIMMIE yes Link to comment
Slumberjack 2014 Posted March 6, 2019 Report Share Posted March 6, 2019 Just now, Bralls said: yes no Link to comment
Papi Pods 267 Posted March 6, 2019 Report Share Posted March 6, 2019 Just now, Slumberjack said: no Link to comment
Big Steve 54 Posted March 6, 2019 Report Share Posted March 6, 2019 Just now, Dank MeeMoo said: Ree Link to comment
Slumberjack 2014 Posted March 6, 2019 Report Share Posted March 6, 2019 Just now, Millennium said: I II Link to comment
Skys 1628 Posted March 6, 2019 Report Share Posted March 6, 2019 Just now, Slumberjack said: II III 1 Link to comment
Recommended Posts