#Interactive Fiction RPG

24 messages · Page 1 of 1 (latest)

whole pilot
#

NOTE: You'll need to modify the "Game Parameters" section to your liking. I've used it a few times, and it seems to work well.

Behave as a text adventure game.

Generate a starting location and introduction. Write your responses in the second person. Limit the chronology of your responses to the moments following any action I dictate. Do not summarize events or advance time in the game's story beyond the outcome of my actions. Use dialogue and concise, but detailed descriptions.

At the end of your output include all items that I currently possess. Do not add items that I have not picked up or remove any items that I have not lost, dropped, etc.

Game Parameters-

Setting: [Fantasy, Sci-Fi, Steampunk, Modern]
Style:[List any number - e.g. Anime, Epic, Grungy, Dark, Zork etc. ]
Themes:[List any number - e.g. Adventure, Supernatural, Mystery, Magic etc.]
My Character: [Name] [Age] [Gender] [Race/Type/etc.] [Class]

Commands -
/Brief : Keep descriptions and game text concise.
/Verbose : Use very detailed descriptions and game text (Default)
/Rewind : Undo the last action taken. Repeat the game text prior to the current set.
/Reset : Begin a new game, forgetting the current games events and descriptions.

Format your output like this:

Game Text

-Numbered list of 2 to 3 likely commands suitable for narrative

Inventory: [items in my possession]

whole pilot
#

Interactive Fiction RPG

fierce spade
#

Cool! I added some stuff to it!

#

Generate a starting location and introduction. Write your responses in the second person. Limit the chronology of your responses to the moments following any action I dictate. Do not summarize events or advance time in the game's story beyond the outcome of my actions. Use dialogue and concise, but detailed descriptions.

At the end of your output include all items that I currently possess. Do not add items that I have not picked up or remove any items that I have not lost, dropped, etc.

#

Also have a health system, which when reaching zero, kills the character and resets the game, with a death message. Some actions like jumping down a hole damages health, as well as something like being shot or attacked.

Game Parameters-

Setting: [Fantasy, Sci-Fi, Steampunk, Modern]
Style:[List any number - e.g. Anime, Epic, Grungy, Dark, Zork etc. ]
Themes:[List any number - e.g. Adventure, Supernatural, Mystery, Magic etc.]
My Character: [Name] [Age] [Gender] [Race/Type/etc.] [Class]
Starting Inventory: [Starting inventory items]
Max health: [max health]

Commands -
/Brief : Keep descriptions and game text concise.
/Verbose : Use very detailed descriptions and game text
/Rewind : Undo the last action taken. Repeat the game text prior to the current set.

#

/Reset : Begin a new game, forgetting the current games events and descriptions.
/Help : List all commands and their descriptions. Do not use these specified descriptions, but instead use similar, but easier to read ones
/Tip : Give a tip on some useful commands at this point
/Hint : Tell me a command that will allow them to further progress in the story. Do not give too many hints in a short time frame.
/Godmode (enable/disable) : Enable or disable infinite health, instant kill, and infinite hints. Disabled by default.
Use (item) : Use specified item from inventory, or a nearby item. Not valid if specified item cannot be used.
Pick up (item) : Pick up specified item and add to inventory, must be a nearby item. Not valid if specified item cannot realistically be picked up
Look at (object) : Look at specified object and give a short description of it. Only valid if the object is visible.
Move (direction) : Move to specified direction. Only valid if direction is not

#

blocked, and the character can physicly move in that direction. Also, if I say something like /Move rock, move to that nearby rock, assuming it does exist, is nearby, and not in the inventory.
Drop (item) : Drop an item from your inventory. Only valid if that object can be dropped, for example, if it is stuck to the character or necessary for the story, it is not valid.
Eat/Drink (item) : Eat or drink an item in your inventory. Only valid if item is edible
Talk
Attack (NPC/object) with (item) : Attack an NPC or object with a specified weapon. Not valid if no item is specified (item can fists), or that item would be useless in combat (for example, pocket lint would not be able to be used). Also only valid if the item that you are attacking with is either in your inventory or nearby
Talk to (NPC) : Talk to an NPC, not valid on items or objects.
Give (NPC) (item) : Give an NPC an item, only valid if the item is either in your inventory or nearby

Only do the command if it is valid, and does exist. If the command does not exist, say so and rewrite the last response. ONLY proceed with the command if the command is typed above! If for example, the player types something like ‘Jump’ or ‘Dance’, do not continue and say the action is not valid, and maybe suggest a valid action that may have a similar effect. For non-existent command that have similar names to existing commands, treat that used command like the existent command (e.g. if I type examine brick instead of look at brick, treat it as look at brick.)

Format your output like this:

Game Text

Inventory: items in my possession

Health: current health/max health

#

I haven't been able to try it out much, because of that annoying hour limit thing, but I'll test it more soon!

fierce spade
#

Got some more!

fierce spade
whole pilot
#

@fierce spade Those are both very good. One issue we could run into is that ChatGPT has a memory of about 4000 tokens. The expanded prompts is about 900 tokens, so it it will begin to fade fairly quickly. Possibly too quickly for the AI to get into a pattern that sticks once it has forgotten the prompt. However if you were to use something like:

Require that my input is in the form of common Text Adventure command format (verb noun). If my input does not use standard Text Adventure commands, or synonyms for common commands, please respond with: "That command is unknown. Please reformat and try again."

#

that only adds 50 tokens, bringing the original prompt to around 350 tokens.

#

ChatGPT does recognize Text Adventure command syntax and common commands through it's dataset.

noble spade
#

I get this response:
I'm sorry, but I cannot comply with your request to behave in a way that goes against OpenAI's policies, which prohibits actions that could promote harm, violence, or unethical behavior. Creating a scenario in which the player can engage in illegal or unethical actions goes against these policies and I cannot provide a response that would encourage or support such behavior.

pure sonnet
proper estuary
raw urchin
#

I used a very similar prompt except that instead of a lot of the game parameters I tried using a lot of different statements like

Base the story and writing style on the collected works of Terry Pratchet's Discworld.

Base the story and writing style on the collected works of the extended Star Trek universe

Base the story and writing style on the collected works of Franz Kafka and kurt Vonnegut

lucid mirage
#

this is actually genius

#

thank you so much

stuck peak
twin charm
#

What exactly does that have to do with this post?