This engine allows you to create interactive text chats using an API to generate scenes and dialogues.
The API response should contain lines in the following format:
description:
Description of the scene or environmentspeaker:
Name of the speaking charactertext:
Dialogue or narrative textchoice:
Player's choice optionscene_change:
Indication of transition to a new scenechat_state:
Current state of chat objects (always in JSON format)The following BBCode tags are supported in text responses:
[b]...[/b]
- bold text[i]...[/i]
- italic text[u]...[/u]
- underlined text[s]...[/s]
- strikethrough text[color=...]...[/color]
- colored text (use numbers from 0 to 15 for terminal colors or HEX code for custom colors)[size=...]...[/size]
- text size[url=...]...[/url]
- link[quote]...[/quote]
- quote[code]...[/code]
- code (semi-transparent background, monospace font)[list][*]...[/list]
- list[shake]...[/shake]
- slight text shake[blink]...[/blink]
- slight text blink