Homebrew Adventure Generator

/** * * @param numberOfRandoms The number of desired random results. In this app, that would be the Number of Dice. * @param maximumValue The maximum value to limit results to.. in this app, that would be the Die Number. * @returns {Uint32Array} */ function rnd(numberOfRandoms, maximumValue) { // Dont bother. if (numberOfRandoms < 1) { return; } var randomValues = new Uint32Array(numberOfRandoms); window.crypto.getRandomValues(randomValues); //console.log(randomValues); //Due to browser issues with full support of TypeArray.prototypes, this is actually for the best. // for (var i = 0; i " + JSON.stringify(randoms)); var adventureResult = adventures[randoms[0]-1]; document.getElementById("result").innerHTML = (adventureResult) } function tweetIt () { var phrase = document.getElementById('result').innerText; var tweetUrl = 'https://twitter.com/share?text=' + encodeURIComponent(phrase) + ' %40CosmicCrit %23StarfinderRPG %23Paizo' + ' More Starfinder adventure ideas:' + '&url=' + 'https://cosmiccrit.com/100-homebrew-adventure-ideas-starfinder/'; window.open(tweetUrl); }

Looking for inspiration for your Starfinder game? Click the button above to generate a story starter!

Need more? Check out the full list of 100 homebrew adventure ideas for Starfinder, courtesy of the Cosmic Crit GM Patrick.