Skip to content

Instantly share code, notes, and snippets.

@palikhov
Created February 11, 2019 08:10
Show Gist options
  • Select an option

  • Save palikhov/dc1f47e1e4d164fd99b7f2a44b37ac13 to your computer and use it in GitHub Desktop.

Select an option

Save palikhov/dc1f47e1e4d164fd99b7f2a44b37ac13 to your computer and use it in GitHub Desktop.
: Character Sheets: create an arbitrary amount of blank characters that can be viewed and edited by everyone:
(function() {
var numCharacters = parseInt(prompt("How many blank characters should be created?", "1"));
for (var i = 0; i < numCharacters; i++) {
window.Campaign.characters.create({
name: `Blank Sheet ${i}`,
inplayerjournals: "all",
controlledby: "all"
});
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment