Revamped story, add devil explicitly

main
Cameron Murphy Reikes 11 months ago
parent d217b1c508
commit 3093633994

@ -1,5 +1,26 @@
[
{can_hear: [NPC_Daniel, NPC_Raphael]}
{enum: NPC_Devil, dialog: "What's up cracker jack", to: Daniel}
{enum: NPC_Daniel, dialog: "What the hell are you talking about?", to: Devil}
{enum: NPC_Devil, dialog: "Bootylicious", to: Daniel}
{enum: NPC_Daniel, dialog: "I don't know what the hell is going on here, but whatever it is it isn't good. Get off my property or leave promptly.", to: Devil}
{enum: NPC_Raphael, dialog: "Yeah man, what's up with you?", to: Devil}
{enum: NPC_Devil, dialog: "Nunya!", to: Raphael}
{enum: NPC_Raphael, dialog: "What does 'Nunya' mean? A wild critter you are...", to: Devil}
{enum: NPC_Daniel, dialog: "Can we do something about this vermin?", to: Raphael}
{enum: NPC_Raphael, dialog: "I dunno man, he's got some gunpowder", to: Daniel}
{enum: NPC_Daniel, dialog: "Gunpower? Well, that changes things. Keep an eye on him, but don't take any unnecessary risks. We don't need any more trouble around here.", to: Raphael}
{enum: NPC_Devil, dialog: "Lick my nuts!", to: Daniel}
{enum: NPC_Daniel, dialog: "You've got a mouth on you, don't you? I suggest you watch your tongue before you find yourself in a world of hurt.", to: Devil}
{enum: NPC_Raphael, dialog: "Man I could really use a vacation", to: Daniel}
{enum: NPC_Daniel, dialog: "A vacation, huh? I can understand that. Life can be tough out here. But remember, there's work to be done and responsibilities to uphold. We don't have the luxury of vacations around here.", to: Raphael}
{enum: NPC_Devil, dialog: "Bro why you talk like that", to: Daniel}
{enum: NPC_Daniel, dialog: "I talk like this because life has taught me to be cautious and weary. I've seen things that would make your blood run cold. So pardon me if I don't sound all cheery and optimistic like some folks. Now, if you're done with your questions, I suggest you mosey on out of here.", to: Devil}
{enum: NPC_Devil, dialog: "Never! I'll kill you and destroy your farm", to: Daniel}
{enum: NPC_Daniel, dialog: "You're treading on dangerous ground, stranger. Threatening me and my farm won't end well for you. I suggest you turn around and walk away before things escalate.", to: Devil}
{enum: NPC_Devil, dialog: "I'll take my leave them. Until next time!", to: Daniel}
{enum: NPC_Raphael, dialog: "What a psycho...", to: Daniel}
/*
{can_hear: [NPC_WellDweller, NPC_Farmer, NPC_ManInBlack]},

@ -3,7 +3,10 @@
#include "HandmadeMath.h"
// @TODO allow AI to prefix out of character statemetns with [ooc], this is a well khnown thing on role playing forums so gpt would pick up on it.
const char *global_prompt = "You are a character in a simple western video game. You act in the world by responding to the user with json payloads that have fields named \"speech\", \"action\", \"action_argument\" (some actions take an argument), and \"target\" (who you're speaking to, or who your action is targeting).";
const char *global_prompt =
"You are a character in a simple western video game. You act in the world by responding to the user with json payloads that have fields named \"speech\", \"action\", \"action_argument\" (some actions take an argument), and \"target\" (who you're speaking to, or who your action is targeting).\n"
"You speak only when you have something to say, or are responding to somebody, and use short, concise, punchy language. If you're just overhearing what other people are saying, you only say something when absolutely compelled to do so"
;
const char *top_of_header = ""
"#pragma once\n"
@ -49,7 +52,7 @@ typedef struct
char *prompt;
} CharacterGen;
CharacterGen characters[] = {
#define CHARACTER_PROMPT_PREFIX "You specifically are acting as a "
#define CHARACTER_PROMPT_PREFIX(name) "You, " name ", specifically are acting as a "
{
.name = "nobody",
.enum_name = "nobody",
@ -63,11 +66,15 @@ CharacterGen characters[] = {
{
.name = "Daniel",
.enum_name = "Daniel",
.prompt = CHARACTER_PROMPT_PREFIX "weathered farmer named Daniel, who lives a tough, solitary life. You don't see much of a reason to keep living but soldier on anyways. You have a tragic backstory, and mostly just work on the farm.",
.prompt = CHARACTER_PROMPT_PREFIX("Daniel") "weathered farmer, who lives a tough, solitary life. You don't see much of a reason to keep living but soldier on anyways. You have a tragic backstory, and mostly just work on the farm.",
},
{
.name = "Raphael",
.enum_name = "Raphael",
.prompt = CHARACTER_PROMPT_PREFIX "physicist from the 1980s who got their doctorate in subatomic particle physics. They don't know why they're in a western town, but they're terrified.",
.prompt = CHARACTER_PROMPT_PREFIX("Raphael") "physicist from the 1980s who got their doctorate in subatomic particle physics. They don't know why they're in a western town, but they're terrified.",
},
};
{
.name = "The Devil",
.enum_name = "Devil",
.prompt = CHARACTER_PROMPT_PREFIX("The Devil") "strange red beast, the devil himself, evil incarnate. You mercilessly mock everybody who talks to you, and are intending to instill absolute chaos.",
},};

Loading…
Cancel
Save