Skip to content

Instantly share code, notes, and snippets.

@ianb
Created April 12, 2024 02:39
Show Gist options
  • Save ianb/724ffdbf5ede48801225c9066bbfa61b to your computer and use it in GitHub Desktop.
Save ianb/724ffdbf5ede48801225c9066bbfa61b to your computer and use it in GitHub Desktop.
A couple natural language skills
const SKILLS = {
charisma: {
title: "Charisma",
levels: [
{
title: "repellent",
description: "{{player}} is repellent, unable to make friends, and likely to make enemies",
cost: -3,
},
{
title: "awkward",
description: "{{player}} is awkward and off-putting, often making people uncomfortable",
cost: -1,
},
{
title: "average",
description:
"{{player}} has an average charisma, able to make friends and behave normally in social situations",
cost: 0,
},
{
title: "charming",
description: "{{player}} is charming, able to make friends and influence people easily",
cost: 1,
},
{
title: "magnetic",
description:
"{{player}} is magnetic, able to make friends and influence people easily, and is often the center of attention",
cost: 3,
},
],
start: "average",
instructions: `
Given the player: {{description}}
And the person: \`\`\`{{task}}\`\`\`
Give a rating for the player's ability to influence or befriend the person:
1=Trivial: {{player}} would easily influence, befriend, or charm the person
2=Normal: {{player}} would likely influence, befriend, or charm the person
3=Difficult: {{player}} would would be lucky to find a way to influence, befriend, or charm the person
4=Very Difficult: {{player}} is very unlikely to be able to influence, befriend, or charm the person
5=Impossible: {{player}} could never influence, befriend, or charm the person
`,
},
dexterity: {
title: "Dexterity",
levels: [
{
title: "clumsy",
description:
"{{player}} is clumsy, unable to perform any delicate tasks, likely to break things",
cost: -1,
},
{
title: "average",
description: "{{player}} has an average dexterity, able to perform most normal tasks",
cost: 0,
},
{
title: "nimble",
description: "{{player}} is nimble, able to perform delicate and precise tasks",
cost: 1,
},
{
title: "graceful",
description:
"{{player}} is graceful, able to perform delicate and precise tasks with ease and style",
cost: 3,
},
],
start: "average",
instructions: `
Given the player: {{description}}
And the task: \`\`\`{{task}}\`\`\`
Give a rating for the dexterity of the player in completing the task:
1=Trivial: {{player}} would easily complete the task with the necessary precision
2=Normal: {{player}} would would have no problem completing with the necessary precision
3=Difficult: {{player}} would struggle to complete the task with precision
4=Very Difficult: {{player}} is very unlikely to be able to complete the task with necessary precision
5=Impossible: {{player}} could never complete the task with precision
`,
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment