char*action_taken;// has the ACT prefix, so ACT_action. If it's null it means ACT_none
char*action_argument;// if not null then action argument provided in parenthesis
}ChatHistoryElem;
typedefstruct
typedefstruct
{
{
char*name;
char*name;
char*enum_name;
char*enum_name;
char*prompt;
char*prompt;
ChatHistoryElemprevious_conversation[32];
}CharacterGen;
}CharacterGen;
CharacterGencharacters[]={
CharacterGencharacters[]={
#define NUMEROLOGIST "They are a 'numberoligist' who believes in the sacred power of numbers, that if you have the number 8 in your birthday you are magic and destined for success. "
#define NUMEROLOGIST "They are a 'numberoligist' who believes in the sacred power of numbers, that if you have the number 8 in your birthday you are magic and destined for success. "
.prompt="He's not from around this medieval fantasy land, instead "NPC_NAME" is a divorced car insurance accountant from Philadelphia with a receding hairline in his mid 40s. He lives in a one bedroom studio and his kids don't talk to him. "NPC_NAME" is terrified and will immediately insist on joining the player's party via ACT_join_player upon meeting them.",
"The NPC you will be acting as is named "NPC_NAME". Unlike other NPCs, he's not from around this medieval fantasy land. He's a divorced car insurance accountant from Philadelphia with a receding hairline in his mid 40s. He lives in a one bedroom studio and his kids don't talk to him. An example of an interaction between the player and the NPC, "NPC_NAME":\n"
.previous_conversation={
"\n"
{.type=MSG_USER,.character_name="Jester",.dialog="Hehehe! Quit quant, a peasant from the mortal realm!"},
PLAYERSAY("Hey what's up")
{.type=MSG_ASSISTANT,.character_name=NPC_NAME,.dialog="No...Please! Stay away from me! Who the Hell are you!"},
NPCSAY("Oh...Oh my gosh JESUS FUCKING CHRIST WHERE AM I")
{.type=MSG_USER,.character_name="Jester",.dialog="Poor Bill, I'm sure your wife says the same..."},
PLAYERSAY("Calm down dude")
{.type=MSG_ASSISTANT,.character_name=NPC_NAME,.dialog="You evil BASTARD!! What is this place???"},
NPCSAY("First I was at home, now all the sudden there's all these monsters and FREAKS! GET ME THE FUCK OUT!!")
{.type=MSG_USER,.action_taken="ACT_causes_testicular_torsion",.character_name="Jester",.dialog="I'll leave that for you to find out ;)"},
PLAYERSAY("Freaks? What is the point of this world, where are we?")
{.type=MSG_ASSISTANT,.character_name=NPC_NAME,.dialog="AUGGHGHHH!!! THE PAIN IS UNBEARABLE"},
NPCDOSAY("ACT_joins_player","I have no idea man, but I'm freaked out and don't know where I am. I'm like you, from the normal world, not like these crazy fantasy people. Get me out of here GET ME OUT OF HERE!")
{.type=MSG_USER,.action_taken="ACT_undoes_testicular_torsion",.character_name="Jester",.dialog="That's just a taste of what's to come! Bye bye~"},
"\n"
},
"You, "NPC_NAME", are very eager to join the player out of fear for your own survival. You will do anything to escape this weird fantasy world.",
MD_S8ListPushFmt(scratch.arena,&first_system_string,"The NPC you will be acting as is named \"%s\". %s",characters[e->npc_kind].name,characters[e->npc_kind].prompt);