MATTIE

Namespaces

DataManager

GameInfo

TaF the namespace for trepidation and famine

actorAPI

bbgirlAPI

betterSaves

clipboard

compat

eventAPI

fxAPI

global

infoAPI

infoAPI

itemAPI

items a name space containing information about additional items

menus

miscAPI the namespace containing all misc stuff

msgAPI

preFabAPI a namespace containing all the code for prefabs

randomiser

sceneOverlapAPI

scenes

static

tpAPI an api containing all tps for funger 1 and 2

troopAPI

unstuckAPI

windows

Members

static DataManagerLoaddatabase

we override the load database function to update our game version dependant variables

static prevFun5325c

========================================================================
! WARNING
The below code should be added to and properly implemented within the actorAPI
for the time being I have copied it below from the other mod that uses it for your convinence.
Feel free to use it here.

========================================================================*

static systemEvents

a full list of any system events that might fire

Methods

static configGet(name, defaultVal) → {string}

a wrapper to global data.get for config setting

Parameters:
Name Type Description
name string

the name of the config key to retrieve from global data

defaultVal *

the defualt value to return if there is no value stored

Returns:
string

static configSet(name, val)

a wrapper to global data.set for config setting

Parameters:
Name Type Description
name string

the name of the config key

val *

the value of the config key

static emitTransfer()

emits a transfer event to net controller

static isPassableAnyDir(event)

Parameters:
Name Type Description
event Game_Event

static isPassableXDirs(event, x)

check if the spot is passible in any direction

Parameters:
Name Type Description
event Game_Event
x int

how many directions must this is passable in to return true

MATTIE

A namespace used for the modding engine as a whole. Done to mimic the style of RPGMaker plugins.

Namespaces

DataManager

GameInfo

TaF the namespace for trepidation and famine

actorAPI

bbgirlAPI

betterSaves

clipboard

compat

eventAPI

fxAPI

global

infoAPI

infoAPI

itemAPI

items a name space containing information about additional items

menus

miscAPI the namespace containing all misc stuff

msgAPI

preFabAPI a namespace containing all the code for prefabs

randomiser

sceneOverlapAPI

scenes

static

tpAPI an api containing all tps for funger 1 and 2

troopAPI

unstuckAPI

windows

Members

static DataManagerLoaddatabase

we override the load database function to update our game version dependant variables

static prevFun5325c

========================================================================
! WARNING
The below code should be added to and properly implemented within the actorAPI
for the time being I have copied it below from the other mod that uses it for your convinence.
Feel free to use it here.

========================================================================*

static systemEvents

a full list of any system events that might fire

Methods

static configGet(name, defaultVal) → {string}

a wrapper to global data.get for config setting

Parameters:
Name Type Description
name string

the name of the config key to retrieve from global data

defaultVal *

the defualt value to return if there is no value stored

Returns:
string

static configSet(name, val)

a wrapper to global data.set for config setting

Parameters:
Name Type Description
name string

the name of the config key

val *

the value of the config key

static emitTransfer()

emits a transfer event to net controller

static isPassableAnyDir(event)

Parameters:
Name Type Description
event Game_Event

static isPassableXDirs(event, x)

check if the spot is passible in any direction

Parameters:
Name Type Description
event Game_Event
x int

how many directions must this is passable in to return true