Inspired By Roll20 Fallout Terminal by Cazra https://github.com/Cazra/roll20-api-scripts
Use the links bellow to copy the example JSON file content and paste it in to your Journal Page. (clear the styling, or paste directly in to the html editor part)
GM should create a script macro that activates the terminal with a specific journal entry:
game.chatTerminal.activateTerminal('Journal Name', 'Page Name')
After that everything is displayed in the chat messages.
The terminal is protected by a password. Type "!pass fo" in the chat once you triggered the Terminal Macro and you see the welcome screen in chat. https://raw.githubusercontent.com/superseva/chat-terminal/master/example.json
Longer example: https://raw.githubusercontent.com/Roll20/roll20-api-scripts/master/FalloutTerminal/example.json
{
"name": "Test Terminal",
"locked": true,
"password": "fo",
"attempts": 3,
"content": "Welcome to ROBCO Industries (TM) Termlink\nClearance: Test Terminal",
"screens": [{
"name": "SCREEN 1 TITLE",
"content": "This is screen 1 content",
"screens": [{
"name": "SCREEN 1.1 SUBTITLE",
"content": "This is screen 1.1 content, subsection of screen 1"
}]
}, {
"name": "SCREN 2 TITLE",
"content": "This is screen 2 content"
}, {
"name": "SCREEN 3 TITLE",
"content": "This is screen 3 content"
}]
}
"password": "somepass",
"attempts": 3,