1.2.0 • Published 8 months ago

@goldfire/storyscript v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Description

StoryScript is a fork of the standard screenplay format to be used with interactive games, originally designed for use in the game Arctic Awakening.

Installation

  • Install with npm: npm install @goldfire/storyscript
  • Install with Yarn: yarn add @goldfire/storyscript

Usage

To use as a CLI:

> node StoryScript /absolute/path/to/script.txt

To use in a Node.js project:

const {parseScript} = require('@goldfire/storyscript');

const scriptFile = fs.readFileSync('/path/to/script.txt', 'utf8');
const ast = parseScript(scriptFile);

console.log(JSON.stringify(ast, null, 2));

StoryScript Syntax

TODO

License

Copyright (c) 2021 James Simpson and GoldFire Studios, Inc.

Released under the MIT License.

1.2.0

8 months ago

1.1.1

9 months ago

1.1.0

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago