Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getCult() {
- function d8() {
- return Math.floor(Math.random() * 8);
- }
- var rolls = [d8(), d8(), d8(), d8()];
- var type = ["Based around a single charismatic individual. ",
- "A mainline faith, pushed to extremes. ",
- "A new faith or mystery, perhaps from a far away land or inspired locally. ",
- "Hereditary in nature, passed along family lines or just a single gender. ",
- "Keeps to the old one(s). ",
- "A secret society, or another form of cryptic organization. ",
- "Decadent and listless, the members of this cult are in it for the thrill. ",
- "A doomsday cult, these folk believe that the world is ending soon, if not any day. "];
- var goal = ["A genuine exploration of their beliefs and inspirations. Note that this could still have negative connotations. ",
- "Summoning something, like a(n)...1) Aberration, 2) Fiend, 3) People from the Past/Future/Another Dimension, 4) Celestial. ",
- "Upheaval of the status quo or current government. ",
- "Engaging in some act unpalatable to the rest of society, like...1) Cannibalism, 2) Proscribed sexual acts, 3) Excessive drug or alcohol use, 4) Fight Club. ",
- "The death of some important figure, or more broadly, a faction. ",
- "The destruction of a rival faith, or any other faith. ",
- "Support and enrichment of it's members, whether that be through legal or illegal means. ",
- "Exploitation of it's members; roll again and ignore this result if rolled again. The second result is what they tell to new recruits. "];
- var members = ["Ne'er do wells; criminals, beggars & transients. ",
- "The elite of society. ",
- "Working class folk, the salt of the earth. ",
- "All walks of life ",
- "Racially, culturally or ethnically exclusive. ",
- "A certain profession, such as fisher folk, merchants or farmers. ",
- "An isolated or otherwise insular folk. ",
- "Those who have been brainwashed, chosen or ensorcelled in some way. "];
- var operation = ["Out in the open. They are passive, and unwilling to commit violence - unless their faith requires it. ",
- "Openly, with hostility and great abandon. ",
- "Clandestinely, with a vicious streak towards any who stumble upon them. ",
- "Covertly, those who discover them are met with bribes, cajoling and religious arguments. ",
- "The cult attempts to masquerade as a more pedestrian organization. ",
- "They recruit openly locally, but their true home is somewhere far away and hidden. ",
- "Through a cellular structure, each cell is kept ignorant of what the other is doing, but there is a secret architect lurking somewhere. ",
- "Coordinated through dreams, they move seemingly without communication."];
- var res = "This cult is " + type[rolls[0]] + "\nTheir goal is " + goal[rolls[1]] + "\nThey draw members from " + members[rolls[2]] + "\nThey operate " + operation[rolls[3]];
- return res;
- }
- body = document.getElementsByClassName("post-body")[0];
- newCultButton = document.createElement("button");
- newCultButton.onclick = function() {
- var ncd = document.getElementById("newCultDiv");
- ncd.textContent = getCult();
- };
- newCultButton.textContent = "Create A Cult"
- newCultDiv = document.createElement("div");
- newCultDiv.id = "newCultDiv";
- body.appendChild(newCultButton);
- body.appendChild(newCultDiv);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement