Home Reference Source

References

summary
public

F jumbogrove(selector: string, data: game)

The main entry point for Jumbo Grove; call jumbogrove.jumbogrove(selector, data)

jg

summary
public

This class is created from the character object you specify in your game.

public

C ui

Direct access to the HTML transcript.

public

C model

Maintains game state and allows you to make changes to it.

public
public

jg/gameformat

summary
public

An entry in the game.characters array.

public

C game

The object you pass to the jumbogrove function.

public

An entry in the game.situations array.

jg/qualities

summary
public

V flag: Quality

If value is true, some text appears.

public

V fudgeAdjective: Quality

Shortcut for wordScale with a word list of 'terrible', 'poor', 'mediocre', 'fair', 'good', 'great', 'superb' where -3 = terrible, 0 = fair, and 3 = superb.

public

Object containing all qualities indexed by key.

public

V integer: Quality

Decimals are truncated from the value when displaying.

public

V namedChoice: Quality

Simple transform of one value to another.

public

V nonZeroInteger: Quality

Same as integer, but doesn't appear in sidebar if equal to zero.

public

V onOff: Quality

Displays on/off based on value truthiness (if no words provided), or words[0]/words[1] (falsey word comes first)

public

V raw: Quality

Displays the value unchanged.

public

V wordScale: Quality

Map an integer value to a word list, with optional offset.

public

V yesNo: Quality

Same oas onOf, but defaults to yes / no.

Directories