███████╗██╗   ██╗██████╗ ███████╗ ██████╗ ███╗   ██╗ █████╗      ██████╗ ███████╗███╗   ██╗
██╔════╝██║   ██║██╔══██╗██╔════╝██╔═══██╗████╗  ██║██╔══██╗    ██╔════╝ ██╔════╝████╗  ██║
█████╗  ██║   ██║██████╔╝███████╗██║   ██║██╔██╗ ██║███████║    ██║  ███╗█████╗  ██╔██╗ ██║
██╔══╝  ██║   ██║██╔══██╗╚════██║██║   ██║██║╚██╗██║██╔══██║    ██║   ██║██╔══╝  ██║╚██╗██║
██║     ╚██████╔╝██║  ██║███████║╚██████╔╝██║ ╚████║██║  ██║    ╚██████╔╝███████╗██║ ╚████║
╚═╝      ╚═════╝ ╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═══╝╚═╝  ╚═╝     ╚═════╝ ╚══════╝╚═╝  ╚═══╝
        
import random from pyscript import Element from pyscript import when from js import document #species, names, age, height, aesthetic. locky = False lockys = False lockyh = False lockya = False lockyae = False ageswitchn = False specswitchn = True tobynames = ["Ace", "Queen", "Wilds", "Ultima", "Magician", "Mage", "Wolf", "Rose", "Graham", "Messenger", "Storm", "Lord", "Romana", "Scourge", "Alchemist", "Star", "Admin", "Arch", "Samuel", "Mandy", "Axe", "Hatchet", "Meta", "Lion", "Oliver", "Jackie", "Jacqie", "Shayne", "Parsons", "Leo", "XIV", "X", "XVI", "VI", "IV", "VII", "Zinc", "Xenon", "Coral", "Cora", "Zap", "Electro", "V", "Virus", "Vinny", "Vapor", "Arial", "Helvetica", "Azriel", "Punk", "Beck", "Ron", "Russel", "Andrew", "Ben", "Amelia", "Amalie", "Benn", "Javier", "Olivier", "Jesse", "Candy", "Fionna", "Simon", "Prismo", "Thom", "Pearl", "Genesis", "Betty", "Miles", "Milo", "Dexter", "Saul", "Stone", "God", "Gabriel", "Thyme", "Peppermint", "Basil", "Rosemary", "Saffron"] lonernames = ["Abyss", "Ace", "Alcina", "Alec", "Alice", "Amber", "Amity", "Amy", "Angel", "Anita", "Ankh", "Anubis", "Armin", "April", "Ash", "Aurora", "Azula", "Aries", "Aquarius", "Bagel", "Bailey", "Bandit", "Baby", "Baphomet", "Bastet", "Bean", "Beans", "Bede", "Belle", "Benny", "Bentley", "Bluebell", "Bolt", "Bonbon", "Bongo", "Bonnie", "Bonny", "Buddy", "Bunny", "Cake", "Callie", "Calvin", "Caramel", "Carmen", "Carmin", "Carolina", "Caroline", "Carrie", "Catie", "Cat", "Chance", "Chanel", "Chansey", "Chaos", "Charles", "Charlie", "Charlotte", "Charm", "Chase", "Cheese", "Cheesecake", "Chef", "Cherry", "Chester", "Chewie", "Chief", "Chip", "Chloe", "Chocolate", "ChocolateChip", "Chris", "Chrissy", "Cinder", "Cinderblock", "Cloe", "Cloud", "Cocoa", "Coffee", "Conan", "Cookie", "Coral", "Cosmo", "Cowbell", "Crab", "Cracker", "Cream", "Crispy", "Crow", "Cooper", "Capricorn", "Dakota", "Dan", "Dave", "Delilah", "Della", "Delta", "Dirk", "Dog", "Dolly", "Dragonfly", "Dune", "Daisy", "Mae", "Eda", "Eddie", "Eevee", "Ember", "Emerald", "Emi", "Emma", "Emy", "Erica", "Espresso", "Eve", "Evelyn", "Evie", "Evil", "Fallow", "Fang", "Fawn", "Feather", "Felix", "Fern", "Ferry", "Finch", "Firefly", "Fish", "Flower", "Fluffy", "Frankie", "Fred", "Fry", "Gargoyle", "Garnet", "Geode", "George", "Ghost", "Gibby", "Gir", "Gizmo", "Glass", "Glory", "Goose", "Grace", "Grain", "Guinness", "Gust", "Gemini", "Hamilton", "Hercules", "Holly", "Hop", "Hunter", "Harlequin", "Ice", "Igor", "Isabel", "Jack", "Jade", "Jaiden", "Jake", "James", "Jasper", "Jaxon", "Jay", "Jenny", "Jesse", "Jessica", "Jester", "Jethro", "Jewel", "Jewels", "Jimmy", "Jinx", "John", "Johnny", "Joker", "Jubie", "Judas", "Jude", "Judy", "Juliet", "June", "Jupiter", "Kate", "Katy", "Kenny", "Kerry", "Ketchup", "King", "Kingston", "Kip", "Kisha", "Kitty", "Klondike", "Knox", "Kodiak", "Lee", "Lemon", "Leo", "Leon", "Lex", "Lilith", "Loaf", "Lola", "Loona", "Lora", "Louie", "Louis", "Lucky", "Lucy", "Luke", "Luna", "Loyalty", "Libra", "Madi", "Manda", "Mange", "Mango", "Marceline", "Matcha", "Maverick", "Max", "May", "Melody", "Meow-Meow", "Mera", "Mew", "Miles", "Millie", "Milo", "Milque", "Mimi", "Minette", "Mini", "Minna", "Minnie", "Mint", "Minty", "Mittens", "Mocha", "Mojo", "Mollie", "Molly", "Monster", "Monte", "Moon", "Mucha", "Murder", "Mushroom", "Mitaine", "Neil", "Nemo", "Nessie", "Nick", "Nightmare", "Niles", "Nitro", "Nova", "Nuka", "Oakley", "Oleander", "Oliver", "Oliva", "Ollie", "Onyx", "Ophelia", "Orion", "Oscar", "Owen", "Peach", "Peanut", "Pear", "Pearl", "Pecan", "Penny", "Peony", "Pepper", "Pickles", "Ping", "Piper", "Pipsqueak", "Pocket", "Poki", "Polly", "Pong", "Poopy", "Porsche", "Potato", "Prickle", "Princess", "Punk", "Pisces", "Quake", "Queen", "Quest", "Quinn", "Ramble", "Randy", "Rarity", "Rat", "Ray", "Reese", "Ren", "Riot", "River", "Rocket", "Roman", "Rory", "Rose", "Ruby", "Rue", "Rum", "Sadie", "Salt", "Sam", "Sandy", "Scourge", "Seamus", "Shimmer", "Shiver", "Silva", "Silver", "Smudge", "Socks", "Sol", "Soul", "Sophie", "Spam", "Sparky", "Spots", "Star", "Stella", "Steve", "Steven", "Stolas", "Stripes", "Sundae", "Sunny", "Sunset", "Sweet", "Sweetie", "Scorpio", "Tabatha", "Tabby", "Tasha", "Tempest", "Tetris", "Teufel", "Tiny", "Toffee", "Tom", "Toni", "Toothless", "Torque", "Treasure", "Trouble", "Tucker", "Turbo", "Twilight", "Twister", "Taurus", "Union", "Uriel", "Vanilla", "Venture", "Via", "Viktor", "Vinnie", "Violet", "Vivienne", "Void", "Voltage", "Vox", "Virgo", "Wanda", "Washington", "Wendy", "Whiskers", "Whisper", "Windy", "Wishbone", "Whiskey", "Wisp", "Wisteria", "Worm", "X'ek", "Zim", "Zoe"] species = ["ampwave", "lykoi", "australian shepherd", "golden eagle", "husky", "tanuki", "silver fox", "icelandic horse", "andalusian", "spanish galgo", "sloughi", "sergal", "dalmatian", "percheron", "maned wolf", "mouse", "tasmanian devil", "deer", "parrot", "tosa inu wolf", "aidi", "jagdterrier", "markiesje", "dachshund", "possum", "house finch", "cheetah", "african wild dog", "marble fox", "snow leopard", "raven", "turkish angora", "doberman", "dragon", "possum", "tornjak", "otter", "coyote", "pigeon", "lipizzan", "fennec", "siberian tiger", "wildebeest", "zebra", "irish wolfhound", "lion", "crow", "dutch warmblood", "horse", "wild dog", "labrador retriever", "skulldog", "raccoon", "malamute", "hyena", "moose", "fox", "raccoon", "grizzly bear", "cougar", "panther", "raven", "dingo", "falabella", "cat", "cat", "rat", "clydesdale", "akita", "arctic fox", "fox", "leopard", "eurasion lynx", "iberian lynx", "deer", "wolf", "coyote", "barn owl", "moose", "tiger", "mouse", "boxer", "polar bear", "hyena", "badger", "dog", "arabian horse", "snowy owl", "crow", "eagle", "darwin's fox", "german shepherd", "donkey", "cat", "snow leopard", "gazelle", "husky", "blue jay", "binturong", "pomeranian", "borzoi", "goat", "jaguar", "golden retriever", "harpy eagle", "reindeer", "irish wolf hound", "rat", "tyto owl", "otter", "stoat", "ferret", "marten"] species_l = ["ampwave", "lykoi", "australian shepherd", "husky", "tanuki", "silver fox", "spanish galgo", "sloughi", "sergal", "dalmatian", "maned wolf", "mouse", "deer", "tosa inu wolf", "aidi", "jagdterrier", "markiesje", "dachshund", "possum", "eurasion lynx", "iberian lynx", "cheetah", "african wild dog", "marble fox", "snow leopard", "raven", "turkish angora", "doberman", "dragon", "possum", "tornjak", "otter", "coyote", "fennec", "siberian tiger", "irish wolfhound", "lion", "wild dog", "labrador retriever", "skulldog", "raccoon", "malamute", "hyena", "fox", "raccoon", "cougar", "panther", "dingo", "cat", "rat", "akita", "arctic fox", "fox", "leopard", "deer", "wolf", "coyote", "tiger", "mouse", "boxer", "hyena", "badger", "dog", "darwin's fox", "german shepherd", "snow leopard", "husky", "binturong", "pomeranian", "borzoi", "goat", "jaguar", "golden retriever", "irish wolf hound", "rat", "otter", "ferret"] prespecies = ["demon ", "were-", "angel ", "plush ", "ghost ", "shapeshifter ", "vampire ", "albino ", "melanistic ", "magical "] aeslink = ["https://i.postimg.cc/mgndCxwD/020e4cd81a53a9e14728c5e304daf658.jpg", "https://i.postimg.cc/d3RXjW0f/02f02e047cf1f3d867fea77a24a9c7c7.jpg", "https://i.postimg.cc/15fw68YG/03074d9c6616c77d05accbcb33f601a3.jpg", "https://i.postimg.cc/VLpMFz33/04276be7fa6268624e8c16a4bb640410.jpg", "https://i.postimg.cc/cL339VW6/05266f2bf372747887358108c90c5620.jpg", "https://i.postimg.cc/wTvcVf3s/0623c414a1a772741477ddaf0c609625.jpg", "https://i.postimg.cc/6Q7mm63n/06ae908a445313d83566dd0a19cd0689.jpg", "https://i.postimg.cc/FRrJKzLJ/094395f75fb5cce6bf816f872e5d5b76.jpg", "https://i.postimg.cc/LszzXGQG/0951f03148ea8a5e0c791aeb10db4ad6.jpg", "https://i.postimg.cc/DzDtvJDx/0b8c1d098875bc78b9bed7893b8354a5.jpg", "https://i.postimg.cc/zvMLpkPn/102036ec71ac7d8b28ddf4ac51bd4b24.jpg", "https://i.postimg.cc/pTHJJPn2/153e912b36ab67b3d09b2a2bcc681c95.jpg", "https://i.postimg.cc/c1TBfy1S/163f98c65df49d68a69a51dfc37d9894.jpg", "https://i.postimg.cc/T33SnJvk/1a12f14b9d607f0ec00daaf2bc5ee180.jpg", "https://i.postimg.cc/Hn1R5GT5/1a222e01a9a25b21cb6b76921dc285b5.jpg", "https://i.postimg.cc/J4qvydvD/1b323233ce7d02cfbc670c04771fe3e1.jpg", "https://i.postimg.cc/ZKZX5h7z/1c2183a34ea48578637ab5bdf736da16.jpg", "https://i.postimg.cc/HWSbVw3W/2234e7b6b7230be6cfb70b950cbb80d7.jpg", "https://i.postimg.cc/XJSQ1wt6/24e9b17438ac29ef79478e8df3cadf8f.jpg", "https://i.postimg.cc/cCD7WYkH/250cf4995ca44ba1ba2c481c6d5fd748.jpg", "https://i.postimg.cc/4ywP3jyX/26b8e9a23007051ad8329d692e61a556.jpg", "https://i.postimg.cc/tT3DKsHZ/31ac358bc4e4264ec8351faa8fa28d7a.jpg", "https://i.postimg.cc/xjFb00Tc/3244010c639794ac15f96e25f8d1c340.jpg", "https://i.postimg.cc/155MdR7X/32a23bc437e7aaa4353c38607be3cf96.jpg", "https://i.postimg.cc/g2xsYSWP/33f9f9e10d57d6dc26b590b1e6995022.jpg", "https://i.postimg.cc/zDk0pHj4/35b4c0cf9741af63edbdbbc7ffb76145.jpg", "https://i.postimg.cc/BnRgtTSP/37e2628b50670686707971ae84f6bbd1.jpg", "https://i.postimg.cc/qR3WzBH4/3a4800ab6490eb4a49c2295c17efd697.jpg", "https://i.postimg.cc/hGqdHp4s/43553af352f7bda10aeedd731596abe6.jpg", "https://i.postimg.cc/yYg3xwkn/4656031e0e0b1b7a67c17b47b1da7973.jpg", "https://i.postimg.cc/SRj2WPVS/472549d94fa27e8df33b486006f8e994.jpg", "https://i.postimg.cc/gkS4b91D/47ba042f907be08957cc740567edd698.jpg", "https://i.postimg.cc/ZnYPXjc2/487fe433663aad511c66396ebc9159fb.jpg", "https://i.postimg.cc/qB29r7GG/4eab49bf46952181c8f19c897a44ff52.jpg", "https://i.postimg.cc/MGbQxVvS/5642e3e697466427d5fa7c1c85c81d2a.jpg", "https://i.postimg.cc/rmNCh7S5/576a961b7fce3e787af3908ca00df0d0.jpg", "https://i.postimg.cc/52KrgQxf/5da0297ac6864eca69a1374966300a50.jpg", "https://i.postimg.cc/bvKBcXDM/6a35d57ffeef89ba9bac84c8671cccc0.jpg", "https://i.postimg.cc/50LkfP8t/6d2a634529e2996ba216dd0bd7073cc4.jpg", "https://i.postimg.cc/zXcwPCR2/703f29a2d4cc912ffd7cc5630f6c8042.jpg", "https://i.postimg.cc/RZJ1rW7S/718ec1fc31b8c0c29d4449bf0ed227f5.jpg", "https://i.postimg.cc/R0fTtWhs/71a7d598e558fcd0832d111f039e3b69.jpg", "https://i.postimg.cc/sXm7P7rc/746a8ac76483f82ca5a89062220e6e8d.jpg", "https://i.postimg.cc/FzxWL7W5/7a2d6e49591217c1f857fca302403553.jpg", "https://i.postimg.cc/v87SjNQq/7a311be4bc0e81daafbb9f397b83f140.jpg", "https://i.postimg.cc/159YZrX9/7b4e3009a98416370313a03fe1e1f551.jpg", "https://i.postimg.cc/hPpZ4QQV/7baa067b1ace74428a656da24c834818.jpg", "https://i.postimg.cc/BnbYjZ2k/7ed93d7d1311ef66f9d1a080b7a85e72.jpg", "https://i.postimg.cc/Gp0FbbKk/805f0155a5bf95b988bbc057756468de.jpg", "https://i.postimg.cc/P51LzYbw/806747306e8a610f93b28478cf66b64a.jpg", "https://i.postimg.cc/hGgXCvM3/922465466dbedd79041ba6f8de098767.jpg", "https://i.postimg.cc/Rh0fghCz/957d72da7d662bcdbd1a83c68be9b25f.jpg", "https://i.postimg.cc/KzxtgQdj/961fdd1cc8d9c58215ad5227fa9e464a.jpg", "https://i.postimg.cc/FKJTxPWx/9e74e7264cec98dd01a9d136caaed231.jpg", "https://i.postimg.cc/xC1c2Zwv/a150a9033b9233ed6fa41dc71738bc6d.jpg", "https://i.postimg.cc/D0W0WXym/a4662ec56daa20ed85ee99c1e1f415dc.jpg", "https://i.postimg.cc/SRwscxJd/aa4463ce4742a8e8ea6d0e2082d1f21f.jpg", "https://i.postimg.cc/6pxq3Ts5/ac344823706e41c64ab100ee5e08fc42.jpg", "https://i.postimg.cc/5250F115/ad107afe34d8d6341cd4d12fbc4bfc39.jpg", "https://i.postimg.cc/65vTtnmm/ad423a0816af327d10a58339a9f8c691.jpg", "https://i.postimg.cc/XvQYQ8rp/b26d8c88c9f1aa721fa86a888a0aefb4.jpg", "https://i.postimg.cc/RFhV8HtG/b34c389088922d4bf1f39d461d4d2e06.jpg", "https://i.postimg.cc/hhWDfZ53/b60539583f04a4b0f593009eefdc84bb.jpg", "https://i.postimg.cc/XJP70YcW/b64f4e02d36cdb5e988f42e4ab849b9d.jpg", "https://i.postimg.cc/wMsxxY0m/b85151b33553ef4b8f8ac25af1553cd7.jpg", "https://i.postimg.cc/CKFKGtL3/b9a98c0c169528d165e4d959e8f21b31.jpg", "https://i.postimg.cc/G3BvTBfk/baa7018ac7a733949197ed57b6d1a216.jpg", "https://i.postimg.cc/MZhV76kg/bf96b47982216ba0e73713d03e0bca53.jpg", "https://i.postimg.cc/13SFdv3H/c0a1c6c7c63ba1dc21be7bb75fdc3366.jpg", "https://i.postimg.cc/ZqKdb03v/c1e17d84b4d59c55623e9c555efe3afb.jpg", "https://i.postimg.cc/dtPZ75rY/c576521403efbc9b02ac728999807de3.jpg", "https://i.postimg.cc/8CKrjDBK/c5a985cdbd68be4d5cbc06668c33c3b1.jpg", "https://i.postimg.cc/bJZSnMmz/c672354cf753a041a6edfefe7977d95e.jpg", "https://i.postimg.cc/50DYS3r8/c80035548b706cc2cb35f3df7cf8bc01.jpg", "https://i.postimg.cc/c1884pKh/cc5612d3233675458eed29b2e8af1fb4.jpg", "https://i.postimg.cc/L5fqCPdw/cc9e18b74300606d386c2a52c4b09fd9.jpg", "https://i.postimg.cc/Nf69RRkr/d09cec9740272eda354e9ef04fa4ac05.jpg", "https://i.postimg.cc/VkzSg5KZ/d53ad454af8b0f21e081177a77fc4fd9.jpg", "https://i.postimg.cc/tTn7J6gJ/d905fdb2bc849805033d4c16903163d6.jpg", "https://i.postimg.cc/xdCXrhDK/d97abaa2620bdbda8ab2972c8f3c79f4.jpg", "https://i.postimg.cc/Vk4JV1Tf/db17ad3f876098e4860f928380d3be20.jpg", "https://i.postimg.cc/NFhFH0y4/dd8b3809fd1f843567864bab290f5bf2.jpg", "https://i.postimg.cc/MKSXZvJZ/e245995c570592873bc67b6455172fb0.jpg", "https://i.postimg.cc/mr5tTjBK/e3ca861e8f0bde0df91f3b46270d14b9.jpg", "https://i.postimg.cc/1R6fZDTY/e617c028aee745c2a6c797c77c68d8fa.jpg", "https://i.postimg.cc/SRWs7pCp/e8603a8c70aecdd8c34a73ffad7c4410.jpg", "https://i.postimg.cc/DwfZsHzt/eb5f00bc3295247f1a866827f7641c6c.jpg", "https://i.postimg.cc/pXJrmRPf/ebbc7e899767c4ebc9001326e078dad1.jpg", "https://i.postimg.cc/FHPKxpd1/ec58d058a350da26675db2ac39a0b27d.jpg", "https://i.postimg.cc/7LfZtz09/ee49c9700b74fdfc699b5ea34ce09660.jpg", "https://i.postimg.cc/NFwG0PVC/f30c5eaa68c4395508f9a6a133ceef20.jpg", "https://i.postimg.cc/s2qDk2Jr/fb8f602673d4729a9a8d23ab4b039910.jpg", "https://i.postimg.cc/hjmPcqC7/ffc23cca2c3fb16d5472affa1c39c2ae.jpg", "https://i.postimg.cc/BbcSPBfS/viggo-mortensen-Captain-Fantastic-red-suit.jpg", "https://i.postimg.cc/XYKFxqM6/09aab13cb56a26a19794657f6b69e7b5.jpg", "https://i.postimg.cc/KjLr25WR/0eaa923ea550b34a93a966c4c23d8072.jpg", "https://i.postimg.cc/VNDtQhL7/133de15b55d6400b5a59bb12251180c3.jpg", "https://i.postimg.cc/66SdpFVg/195d3845dc4f15974178568e6d3fd820.jpg", "https://i.postimg.cc/8krbM1CN/1a986e109216776d7570ff89946da45e.jpg", "https://i.postimg.cc/mDnFhF9C/2467a8c3685f16c008c7483b3104ed9c.jpg", "https://i.postimg.cc/65JfhD7R/2b5faa3cb4636a9fd602d6857b00419b.jpg", "https://i.postimg.cc/3wKGqh74/38f416187b97961f7aeafa4eb73a47dc.jpg", "https://i.postimg.cc/kXQFYf8H/3a8686e3b18a3fe9cf78a2d874f39d00.jpg", "https://i.postimg.cc/52WLwvRm/3abf23e66e4dae46fdebbe86930c4e4f.jpg", "https://i.postimg.cc/23Rb7R25/4271381236560880460d08b9b3e82f8a.jpg", "https://i.postimg.cc/pTrF2BmP/5501e1af54a1b11dce9246f74782fdfa.jpg", "https://i.postimg.cc/j2Jnfd69/76898ab8b8c152f3df189c603d8dd6bd.jpg", "https://i.postimg.cc/LXQjfbcq/7f2e1351cb94fbf086954bb3f7127b5a.jpg", "https://i.postimg.cc/Prw1pK2x/807ff0790d3f95f912cd02784fe12d39.jpg", "https://i.postimg.cc/KjKB55b0/9fe44167053c7b614639c6d8082da33e.jpg", "https://i.postimg.cc/PfLSyWSG/a606edc790fe057f9ab2ea9a0df95814.jpg", "https://i.postimg.cc/ZY1VMWQW/c0aee5bd2a109aa74b86a2d95ac4eadb.jpg", "https://i.postimg.cc/zXK0ZJm0/c2b4122ad7b49811e1fe2fc1565ac170.jpg", "https://i.postimg.cc/Jz8KR9Mm/c5e9671eda525cd71d8b99d05ab1c953.jpg", "https://i.postimg.cc/JzQx0PzX/d22d9a6c6e0017ad3cfdfda8a9d2f3c8.jpg", "https://i.postimg.cc/qRNxmrXc/d53e0af045908057d22fddcd3518a0ef.jpg", "https://i.postimg.cc/jjdX7PDF/d6d1616fb937e51f70c87f1d0d8e5df5.jpg", "https://i.postimg.cc/xdxPy8HT/dcab5400e235af3805d393545041223e.jpg", "https://i.postimg.cc/XJtcmPQR/fa496bb9a5a0f16cf865dc828a97c3da.jpg"] def namelock(): global locky locky = not locky buttonn = Element('lname') if locky == True: buttonn.write('★') elif locky == False: buttonn.write('☆') def ageswitch(): global ageswitchn ageswitchn = not ageswitchn buttonn = Element('agesw') if ageswitchn == True: buttonn.write('expanded age on') elif ageswitchn == False: buttonn.write('expanded age off') def specswitch(): global specswitchn specswitchn = not specswitchn buttonn = Element('specsw') if specswitchn == True: buttonn.write('expanded species on') elif specswitchn == False: buttonn.write('expanded species off') def speclock(): global lockys lockys = not lockys buttonn = Element('lspec') if lockys == True: buttonn.write('★') elif lockys == False: buttonn.write('☆') def starfill(): runbt = Element('runtx') runbt.write('★run★') def starempty(): runbr = Element('runtx') runbr.write('☆run☆') def heightlock(): global lockyh lockyh = not lockyh buttonn = Element('lheight') if lockyh == True: buttonn.write('★') elif lockyh == False: buttonn.write('☆') def agelock(): global lockya lockya = not lockya buttonn = Element('l-age ') if lockya == True: buttonn.write('★') elif lockya == False: buttonn.write('☆') def aeslock(): global lockyae lockyae = not lockyae buttonn = Element('l-aes') if lockyae == True: buttonn.write('★') elif lockyae == False: buttonn.write('☆') def generate(): def name(): namep = random.choice(tobynames) namep2 = random.choice(lonernames) nametx = Element('name') global locky if locky == True: None elif locky == False: p12 = random.randint(1,2) if p12 == 1: nametx.write(f'{namep}') else: nametx.write(f'{namep2}') def speciesp(): global lockys global specswitchn pres = random.randint(1,10) spepick = random.choice(species) subpick = random.choice(prespecies) subpick_l = random.choice(species_l) spectx = Element('prespecies') spectx2 = Element('species') if lockys == True: None elif lockys == False: if pres == 3: if specswitchn == True: spectx.write(f'{subpick.capitalize()}') spectx2.write(f'{spepick}') elif specswitchn == False: spectx.write(f'{subpick.capitalize()}') spectx2.write(f'{subpick_l}') else: if specswitchn == True: spectx.write(f'') spectx2.write(f'{spepick.capitalize()}') elif specswitchn == False: spectx.write(f'') spectx2.write(f'{subpick_l.capitalize()}') def heightr(): if lockyh == True: None elif lockyh == False: heightchance = random.randint(1,20) if heightchance == 2: ft = random.randint(7,9) inch = random.randint(1,11) txth = (f'{ft}\'{inch}\"') heighttxt = Element('height') heighttxt.write(f"{txth}") else: ft = random.randint(4,6) inch = random.randint(1,11) txth = (f'{ft}\'{inch}\"') heighttxt = Element('height') heighttxt.write(f"{txth}") def ager(): if lockya == True: None elif lockya == False: ageo = random.randint(14,50) agen = random.randint(16,25) if ageswitchn == True: agetxto = Element('age') agetxto.write(f'{ageo}') elif ageswitchn == False: agetxtn = Element('age') agetxtn.write(f'{agen}') def aesthr(): if lockyae == True: None elif lockyae == False: imgp = random.choice(aeslink) document.getElementById("aesthetic").src=f"{imgp}" name() speciesp() heightr() ager() aesthr()