Skip to content

Instantly share code, notes, and snippets.

@jhilker98
Last active November 8, 2023 19:06
Show Gist options
  • Save jhilker98/45e71e9e596497d61f7856facefc7c4e to your computer and use it in GitHub Desktop.
Save jhilker98/45e71e9e596497d61f7856facefc7c4e to your computer and use it in GitHub Desktop.
---
<%* let isDead = await tp.system.suggester(["True", "False"], [true, false], false, "Is the character dead?"); %>
<%* tR = `dead: ${isDead}` %>
<%* if (isDead) { %>
<%* tR += `dod: ${await tp.user.chooseDate(tp, 'Date of Death')}\n` %>
<%* } %>
---
<%*
let isDead = await tp.system.suggester(["True", "False"], [true, false], false, "Is the character dead?");
-%>
<% "---" %>
<% `dob: ${await tp.user.chooseDate(tp, "Date of Birth")}`-%>
<% `dead: ${isDead}` %>
<%*
if (isDead) {
tR += `dod: ${await tp.user.chooseDate(tp, 'Date of Death')}\n`
}
-%>
<% `Role: ${await tp.system.suggester(["Main Character", "Major Character (Non-POV)", "Side Character", "Extra Character", "Antagonist"], ["_Main", "_Major", "_Side", "_Extra", "_Antagonist"])}` %>
<% `tags: ${await tp.system.suggester(["Main Character", "Major Character", "Side Character", "Extra Character"], ["Character/_Main", "Character/_Major", "Character/_Side", "Character/_Extra"])}` %>
<% "---" %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment