|
Post by Traskus on Oct 24, 2021 12:51:40 GMT -6
I don't know where else to put this and it doesn't warrant its own thread. Back on zetaboards there was a javascript to randomly generate a character. I finally found it, so I've ported it over and added in the content made since. function getSpecies() { var species = ["Aasimar","Alchiral","Alternian","Arachne","Astralbound","Birdo","Bladeling","Blemmyae","Blastling","Bugbear","Cecaelia","Cervin","Changeling","Craver","Cyclops","Daelkyr","Dark Eldarin","Dhampyr","Dragonborn","Dryad","Dullahan","Durulz","Duskling","Eldarin","Elf","Embri","Entobian","Ettin","Fairy","Felen","Ferengi","Genasi","Ghoul","Giff","Githyanki","Githzerai","Gnoll","Gnome","Goblin","Goliath","Gravelborn","Gray","Gremlin","Halfling","Harpy","Hissho","Hobgoblin","Human","Hyperborean","Ijome","Kalo","Kasatha","Kenku","Khuruf","Kitsune","Klingon","Kobold","Kor","Kroot","Kython","Leshen","Liliputian","Limulian","Loxodon","Lupin","Marrow","Matango","Minotaur","Mogwai","Neogi","Ophidian","Ork","Puppet","Qhrell","Quadav","Rakasta","Ring","Ryphorian","Sahaugin","Sangheili","Satori","Saurial","Scarabyn","Shakarn","Shardmind","Skaven","Skullkin","Slaad","Slug","Slyth","Soratami","Sphinx","Squat","Svirfneblin","Tau","Thoon","Thri-Kreen","Tiefling","Troglodite","Trow","Trox","Ungor","Ursine","Vanara","Vermiurge","Vespid","Viashino","Vizard","Warforged","Walktapi","Wight","Zoat","Zoltan"]; return species[Math.floor(Math.random()*species.length)]; }
function getExaltation() { var exaltations = ["Aeonic","Afflicted","Adversary","Agarthic","Ahroun Werewolf","Airavata","Ananasi","Anopholes","Anunnaki","Anurana","Apis","Arahitogami","Aria","Athasian","Atlantean","Avatar","Ba","Baphomet","Bai Ze","Balor","Baphomet","Bastet","Blank","Blightlord","Boneca","Bound","Buster","Camazotz","Celestial","Champion","Chimaera","Chosen","Condemned","Conduit","Corax","Daemonhost","Daemon-Spawn","Daeva","Darkspawn","Death-Lord","Demi-Fiend","Demiurge","Deviant","Discordant","Divus","Diwata","Dominion","Dragonblooded","Einherjar","Elohim","Enenra","Eormencynn","Evoluder","Fable","Font","Fool","Gemini","Generator","Ghostwalker","Godhand","Grondr","Guardian","Gurahl","Hamhleypa","Harrowed","Heartless","Illusive","Iron Balor","Keyblader","Kishin","Lantern","Legend","Leviathan","Luddite","Luminary","Mastermind","Mary Sue","Megakaryote","Meister","Mezuki","Metamorph","Moigno","Mokole","Monsterbound","Morphoid","Mummy","Naenian","Nagah","Nephilim","Newtype","Nuwisha","Oligarch","Oneiroi","Overlord","Panzer","Paradigm","Paragon","Paranoia Agent","Pathogen","Pawn","Perpetual","Phoenix","Pooka","Primarch","Primordial","Program","Promethean","Psion","Radiant","Relic","Reploid","Rokea","Sage","Samsa","Santa","Scion","Seraph","Shedim","Singularity","Sleepless","Sovereign","Spark","Spawn","Speedster","Story Agent","Strigoi","Swarm","Symbiote","Tandem","Tempest","Teotl","Teros","Titan","Toon","Transcendent","Tuatha","Undaunted","Unhinged","Unreal","Unshackled","Vajra","Vampire","Vitalist","Volver","Wellspring","Werepyre","Werewolf","Witch","Wraith","Yankee","Yeren","Youkai"]; return exaltations[Math.floor(Math.random()*exaltations.length)]; }
function getBase() { var bases = ["Belter (Marr965)","Belter (Yog)","Body Builder","Construction Worker","Cowboy","Dancer","Diver","Drifter","Falconer","Hacker","Huntsman","Initiate","Junker","Martial Artist","Mentat","Mercenary","Mutie","Noble","Nomad","Peasant","Psych","Punk","Ratcatcher","Rocker","Sailor","Scholar","Shaman","Shipbreaker","Task Mage","Trainee","Trucker","Voidfarer"]; return bases[Math.floor(Math.random()*bases.length)]; }
function getClass() { var classes = ["Abjurant Champion","Arcane Knight","Adventurer","Akimbo","Alechemist","Apostate","Archivist","Assassin","Barbarian","Bard","Black Mage","Bladecaller","Bomber","Boxer","Bushranger","Businessman","Butler","Caveman","Cenobite","Chef","Chem Hunter","Chemzerker","Chiurgeon","Cleric","Clown","Commando","Consultant","Courier","Courtier","Customizer","Cybersoldier","Danmaku Duelist","Deckmaster","Defiler","Demon Lord","Detective","Divine Agent","Defiler","Druid","Duelist","Edgemaster","Elementalist","Exemplar","Fighter","Flagellant","Gambler","Gank Spanker","Glamour Mage","Grammaton Cleric","Grenadier","Guardsman","Gun Nut","Gunfighter Saint","Gunman","Gunrunner","Gunzerker","Harbinger","Heavy","Heretic","Hero","High Flyer","Hitman","Hunter","Insurgent","Juggernaut","Kensei","Lawyer","Loose Cannon","Magic User","Magitech Gunman","Maid","Man-at-Arms","Mechromancer","Monk","Monster Hunter","Muscle Wizard","Mutant (Username)","Mutant (W2)","Mystic","Necromancer","Ninja","Novice","Operative","Operator","Paladin","Pathfinder","Pirate","Plasma Spaz","Provocateur","Psionicist","Psycho","Pyromaniac","Rassler","Reigunner","Remodeler","Rigger","Rogue","Ronin","Ruler","Rune Chaser","Saboteur","Sacrificial Lion","Samurai","Satsujinken","Scabmettler","Scrapper","Secret Service","Shaman","Sheriff","Shock Trooper","Silencer","Sniper","Sohei","Soldier","Songweaver","Spectacle Fighter","Spellfury","Spirit Swordsman","Street Samurai","Supreme Commander","Survivalist","Syzygyrior","Tank Commander","Techpriest","Thrill Seeker","Traceur","Troublemaker","Troubleshooter","Wanderer","War Hulk","Warden","Warfighter","Warlock","Warmaster"]; return classes[Math.floor(Math.random()*classes.length)]; }
function getCharacter() { return getSpecies() + ' ' + getExaltation() + ' ' + getClass(); }
function getStarter() { return getSpecies() + ' ' + getExaltation() + ' ' + getBase(); } To use it, open your browser's web developer tools. Copy/paste the code above into the output field. Press enter. Then type getCharacter() and press enter to get your character! The first generated was a halfling buster troublemaker. I've also added in a segment for base class options. Type getStarter() and press enter for that. The first generated was a kalo tuatha mutie.
|
|