Namespace: TaF the namespace for trepidation and famine
v1.1.7
API
Help
Help
Decryption
FAQ
What Is This Project
Dev Onboarding
INSTALL
overhaulMigration
Support The Project
Classes
Asset
Members
_force
destinationPath
fileName
folderPath
imgType
sourcePath
type
Methods
assignOrReplace
backupImage
loadAsset
loadData
loadDataFolder
loadImage
loadImgFolder
replaceData
restoreBackup
shouldForce
unloadAsset
unloadImgFolder
BaseNetController
Members
netPlayers
netPlayers
peerId
player
players
started
Methods
acceptBtnTypedConnectionFix
additionalOutfitActions
battleEndRemoveCombatant
battleStartAddCombatant
connect
emitAppearEnemyEvent
emitBattleEndEvent
emitBattleStartEvent
emitChangeInBattlersEvent
emitCommandEvent
emitDashEvent
emitEnemyStateEvent
emitEquipmentChange
emitEventMoveEvent
emitEventSpawn
emitMarriageRequest
emitMarriageResponse
emitMoveEvent
emitPvpEvent
emitReadyEvent
emitRequestedVarSync
emitRuntimeTroopEvent
emitSaveEvent
emitSaveEventLocationEvent
emitSetCharacterImageEvent
emitSetTransparentEvent
emitSpectateEvent
emitSpeedEvent
emitSwitchEvent
emitTransferEvent
emitTransformEvent
emitTurnEndEvent
emitUnreadyEvent
emitUpdateSyncedVars
initializeNetPlayer
moveNetPlayer
onAppearEnemyEventData
onCmdEventData
onDashEventData
onData
onEnemyStateEventData
onEquipmentChangeData
onEventSpawn
onMarriageRequestData
onMarriageResponseData
onMoveData
onPvpEventData
onReadyData
onRuntimeTroopEvent
onSaveEventData
onSaveEventLocationEventData
onSetCharacterImageEventData
onSetTransparentEventData
onSpectateEventData
onSpeedEventData
onTransferData
onTransformEventData
onTurnEndData
onUpdateNetPlayersData
onUpdateSyncedSwitchData
onUpdateSyncedVarsData
performCosmeticAttack
performCosmeticDamageAnimation
preprocessData
processNormalAction
processNormalEnemyAction
processPvpAction
sendViaMainRoute
smoothMoveNetPlayer
stateSpecificActions
transferNetPlayer
updateNetPlayers
updatePlayersOnCurrentMap
BattleController
Methods
emitBattleEnd
emitNetBattlerRefresh
emitReadyEvent
emitTurnEndEvent
emitUnreadyEvent
onLocalSkillExecution
onNetSkillExecution
onPartyActionTargetingNet
onSkillExecution
ClientController
Members
conn
hostId
netPlayers
peerId
player
self
Methods
onStartGameData
preprocessData
sendPlayerInfo
DungeonMap
Members
halls
mapBounds
maxPaddingBetweenRooms
maxRoomsInDungeon
minPaddingBetweenRooms
minRoomsInDungeon
roomSizeMax
roomSizeMin
rooms
Methods
_generateRandomRooms
generateRandomRooms
GameEmitter
Members
version
Methods
emitTorch
HostController
Members
connections
netPlayers
peerId
player
self
Methods
createOutGoingNetPlayers
distributeDataToClients
distributeNetPlayersToClients
onPlayerInfoData
preprocessData
sendPlayerInfo
startGame
global
Methods
createGlobalData
Data_Actor
Members
battlerName
characterIndex
characterName
classId
doc
equips
faceIndex
faceName
id
id
initialLevel
internal
links
maxLevel
name
nickname
note
parameters
profile
traits
Data_Actor_Wrapper
Members
_data
skills
Methods
buildDataActorFromEventAndTroop
buildDataActorFromExistingActor
buildDefaultDataActor
create
getDefaultEquip
getDefaultTraits
replace
Data_Class
Members
data
Methods
addDefaultLearning
create
defaultExpParam
defaultLearnings
defaultName
defaultNote
defaultParams
defaultTraits
CrowController
Members
hasSpawned
inBattle
mapId
onScreen
self
Methods
battleSpawnTick
canFollow
createCrowObj
crowCanSpawn
despawn
disableBaseCrowMauler
enter
findClosestSpawnPoint
follow
getAllTransferPointsOnMap
getScaling
invadeBattle
isDead
onEnterRoom
shouldDespawn
shouldEnterCombat
spawn
spawnTick
update
dataMapModel
Members
attleback1Name
autoplayBgm
autoplayBgs
battleback2_name
bgm
bgs
data
disableDashing
displayName
encounterList
encounterStep
events
height
parallaxLoopX
parallaxLoopY
parallaxName
parallaxShow
parallaxSx
parallaxSy
scrollType
specifyBattleback
tilesetId
width
RunTimeItem
Members
_data
isSpawned
type
Methods
addRecipe
buildDefaultParams
gainThisItem
loseThisItem
setCallback
setConsumable
setCraftingCallback
setDescription
setEquipCallback
setEquipType
setItemType
setName
setType
setUnequipCallback
RuntimeIcon
Members
file
runTimeItem
Members
_data
Methods
addRecipe
buildDefaultParams
setCallback
setCraftingCallback
setDescription
setItemType
setName
NetActor
NetActors
Methods
actor
baseActor
createNewNetActor
dataActor
removeNetActor
removeNetDataActor
NetFollower
NetFollowers
Methods
clear
setup
NetSpriteChar
Secondary_Player
Methods
getInputDirection
isOnMap
moveOneTile
setMoveSpeed
setTorch
setTransparent
torchIsLit
updateDashing
SpriteNetExTurn
SpriteReady
SpriteWaiting
Scene_DevActors
Scene_DevItems
Scene_DropItem
Scene_ForceActors
Scene_Misc
Methods
setModeSwitch
base
Methods
createBackground
emptyScroll
modLoader
Methods
addModsListWindow
create
Scene_GameOver
Scene_Spectate
base
host
join
lobby
main
startGame
RuntimeTroop
Members
_sprites
localSwitches
localVars
spriteSet
Methods
addSpritesToCurrentBattleSet
despawn
initialize
removeSpritesFromCurrentBattleSet
setupTroopId
spawn
sprites
HorizontalBtns
Methods
makeCommandList
List
Methods
drawIcon
TextDisplay
Methods
drawIcon
updatePlacement
TextInput
Members
okayKeys
Methods
drawIcon
updatePlacement
TooltipIcon
Methods
drawIcon
Window_AllStatus
Window_CheatItem
Main
NewGameWin
StartWin
AllyCount
MapEvent
Methods
addCommand
addCommandAfterIndex
addMoveRoute
addPage
addSpokenText
addSpriteToTilemap
addText
addTintScreen
addWait
checkSelfSwitch
copyActionsFromCommonEvent
copyActionsFromEvent
copyActionsFromEventOnMap
createCharacterSprite
createCommand
createGameEvent
getLastEvent
getListOfCommandCodesOnPage
indexOfCommandOnPage
setChar
setDefaultConditions
setDefaultMoveRoute
setDefaultPage
setId
setImage
setName
setNote
setPosition
spawn
generateImage
setDefaultImage
seedrandom
Mod
Members
assets
dependencies
displayName
isDependency
lastStatus
name
offloadScript
onloadScript
params
status
Methods
addAsset
addToOffLoad
addToOnLoad
getStatus
loadFromObj
setStatus
statusHasChanged
ModManager
Members
_modsDict
_path
forceModdedSaves
forceVanillaSaves
Methods
addModEntry
addOffloadScriptToMod
addOnloadScriptToMod
callOnLoadModScript
callOnOffloadModScript
checkForceModdedSaves
checkForceVanillaSaves
checkMod
checkModHasChanged
checkModded
checkModsChanged
checkSaveDanger
checkVanilla
disableAndReload
generateDefaultJSONForMod
generateDefaultJsonForModsWithoutJsons
getActiveRealDangerMods
getActiveRealMods
getAllMods
getModArr
getModConfigFile
getModInfo
getModsFolder
getModsWithoutJson
getPath
parseMod
parseMods
reloadGame
reloadIfChangedGame
setEnabled
setNonDanger
setVanilla
setupMods
switchForceModdedSaves
switchForceVanillaSaves
PlayerModel
Members
$gamePlayer
actorId
battleOnlyMembers
canBeInteractedWith
followerIds
isMarriageHost
isMarried
marriageHost
marriageSetup
marriedTo
name
peerId
pvpCombatArr
troopInCombatWith
Methods
addIdToPvp
clearPvpArr
getFollowers
isOnMap
memberIds
removeIdFromPvp
Region
Members
bottomRightCorner
children
connectsTo
doors
isLeaf
isRoot
otherPoints
parent
upperLeftCorner
Methods
checkLeaf
checkRoot
drawAllChildrenOnCanvas
getAllLeafs
getHeight
getWidth
isWithinBounds
split
splitTillWidth
splitXDeep
DrawArrayOntoCanvas
RougeLikeMap
Members
height
mapId
mapTiles
regions
rooms
rootRegion
upperLeftX
upperLeftY
width
Methods
makeBlankTileSet
pushToDataMap
setTile
updateRegions
updateTiles
RougeLikePoint
Members
x
y
Tile
Members
isWall
pos
tileId
_
Members
add
assign
assignWith
at
at
attempt
bind
bindAll
bindKey
camelCase
ceil
chain
commit
countBy
defaults
defaultsDeep
defer
delay
difference
differenceBy
differenceWith
divide
entries
entriesIn
extend
extendWith
find
findLast
floor
flow
flowRight
groupBy
gt
gte
intersection
intersectionBy
intersectionWith
invert
invertBy
invoke
invokeMap
isArguments
isArray
isArrayBuffer
isBuffer
isDate
isMap
isRegExp
isSet
isTypedArray
kebabCase
keyBy
lowerCase
lowerFirst
lt
lte
merge
mergeWith
method
methodOf
multiply
next
now
omit
over
overArgs
overEvery
overSome
partial
partialRight
partition
pick
plant
pull
pullAt
range
rangeRight
rearg
reverse
round
snakeCase
sortBy
startCase
subtract
union
unionBy
unionWith
upperCase
upperFirst
without
xor
xorBy
xorWith
zip
zipWith
value
Methods
after
ary
before
capitalize
castArray
chain
chunk
clamp
clone
cloneDeep
cloneDeepWith
cloneWith
compact
concat
cond
conforms
conformsTo
constant
create
curry
curryRight
debounce
deburr
defaultTo
drop
dropRight
dropRightWhile
dropWhile
each
eachRight
endsWith
eq
escape
escapeRegExp
every
fill
filter
findIndex
findKey
findLastIndex
findLastKey
first
flatMap
flatMapDeep
flatMapDepth
flatten
flattenDeep
flattenDepth
flip
forIn
forInRight
forOwn
forOwnRight
fromPairs
functions
functionsIn
get
has
hasIn
identity
inRange
includes
indexOf
initial
isArrayLike
isArrayLikeObject
isBoolean
isElement
isEmpty
isEqual
isEqualWith
isError
isFinite
isFunction
isInteger
isLength
isMatch
isMatchWith
isNaN
isNative
isNil
isNull
isNumber
isObject
isObjectLike
isPlainObject
isSafeInteger
isString
isSymbol
isUndefined
isWeakMap
isWeakSet
iteratee
join
keys
keysIn
last
lastIndexOf
map
mapKeys
mapValues
matches
matchesProperty
max
maxBy
mean
meanBy
memoize
min
minBy
mixin
negate
noConflict
noop
nth
nthArg
omitBy
once
orderBy
pad
padEnd
padStart
parseInt
pickBy
property
propertyOf
pullAll
pullAllBy
pullAllWith
random
reduce
reduceRight
reject
remove
repeat
replace
rest
result
reverse
runInContext
sample
sampleSize
set
setWith
shuffle
size
slice
some
sortedIndex
sortedIndexBy
sortedIndexOf
sortedLastIndex
sortedLastIndexBy
sortedLastIndexOf
sortedUniq
sortedUniqBy
split
spread
startsWith
stubArray
stubFalse
stubObject
stubString
stubTrue
sum
sumBy
tail
take
takeRight
takeRightWhile
takeWhile
tap
template
throttle
thru
times
toArray
toFinite
toInteger
toLength
toLower
toNumber
toPath
toPlainObject
toSafeInteger
toString
toUpper
transform
trim
trimEnd
trimStart
truncate
unary
unescape
uniq
uniqBy
uniqWith
uniqueId
unset
unzip
unzipWith
update
updateWith
values
valuesIn
words
wrap
zipObject
zipObjectDeep
Namespaces
CORE_API
Input
Methods
addKeyBind
checkScope
onLongNoInput
MATTIE
Members
DataManagerLoaddatabase
prevFun5325c
systemEvents
Methods
configGet
configSet
emitTransfer
isPassableAnyDir
isPassableXDirs
MATTIE.DataManager
Methods
addFileToImgFolder
checkExists
createDir
extractAndReturnSaveContents
getMapData
loadAndReturnSave
loadFileXML
localFileDirectoryPath
localGamePath
makeSaveContentsFromParam
makeSavefileInfo
MATTIE.GameInfo
Methods
getCharName
getDifficulty
isHardMode
isTerrorAndStarvation
MATTIE.TaF the namespace for trepidation and famine (difficulty mod)
MATTIE.TaF.config the namespace for trepidation and famine config (difficulty mod config)
MATTIE.TaF.items the namespace containing all items added by these difficulties
MATTIE.actorAPI
Members
lastLeader
Methods
changePartyLeader
changePartyMember
forceMainChar
MATTIE.bbgirlAPI
Methods
yassify
MATTIE.betterSaves
MATTIE.betterSaves.config
Members
numberOfSaves
MATTIE.clipboard
Methods
get
put
MATTIE.compat
Members
createLayerGraphics
pauseDecrypt
runtime_decrypt
Methods
setEncryptedImagesInSystemJson
MATTIE.eventAPI
Members
dataEvents
dataEvents
orgSetupEvent
Methods
addItemDropToCurrentMap
createBlankEvent
createEnemyFromExisting
getEventOnMap
MATTIE.fxAPI
Methods
addLightObject
drawCircleMap
formatTint
hidePlayer
lockPlayer
showImage
showPlayer
unlockPlayer
zoom
MATTIE.global
Members
hasLoadedOnce
version
Methods
checkGameVersion
isFunger
isTermina
MATTIE.imageAPI
MATTIE.infoAPI
Methods
currentlyFaughtEnemyName
getCurrentLocationName
getPlayerActorId
getPlayerActorId
getPlayerCharecter
isInMenu
MATTIE.itemAPI
Methods
createCostume
quickBook
MATTIE.items a name space containing information about additional items
MATTIE.menus
Members
difficultyMenu
Methods
loadGameAndGoTo
toDecryptMenu
toItemCheatMenu
toLoadMenu
toMainMenu
toModMenu
toNewMenu
MATTIE.menus.mainMenu
Methods
addBtnToMainMenu
removeBtnFromMainMenu
MATTIE.miscAPI the namespace containing all misc stuff
MATTIE.msgAPI
Methods
_dreamXCompat
displayMsg
displayMsgWithTitle
doOnceNotBusy
footerMsg
formatMsgAndTitle
showChoices
MATTIE.multiplayer.config
Members
bodyBlocking
canInteract
freeMove
showAlliesMenu
showViewingMenu
MATTIE.multiplayer.config.scaling
Members
actorCost
checkPassage
enemyBattleIndexScaler
healingWhispersScaler
hpPlayerDivisor
hpScaler
partyActionsTargetAll
resurrectionActorCost
resurrectionHasCost
resurrectionItemAmount
resurrectionItemCost
resurrectionItemId
resurrectionNeedsNecromancy
scaleHp
shouldScaleHealingWhispers
Methods
enemyBattleIndex
getHealingWhispersScaler
hpScaling
resurrectionCost
MATTIE.preFabAPI a namespace containing all the code for prefabs
MATTIE.randomiser
Methods
baseShuffleFilter
safeShuffle
shuffle
shuffleAnimations
shuffleArmors
shuffleClasses
shuffleCommonEvents
shuffleEnemies
shuffleItems
shuffleMapInfo
shuffleMaps
shuffleSkills
shuffleStates
shuffleTilesets
shuffleTroops
shuffleWeapons
MATTIE.randomiser.config
Members
commonEvents
includeDungeonKnights
noFloorMemory
randomizeAnimations
randomizeArmors
randomizeClasses
randomizeEnemies
randomizeItems
randomizeMaps
randomizeSkills
randomizeStates
randomizeTroops
randomizeWeapons
MATTIE.sceneOverlapAPI
MATTIE.scenes
Methods
Scene_DevSkill
Scene_OneUseCheat
MATTIE.static
Members
teleports
Methods
rangeParser
MATTIE.static.actors
Members
bloodGolemId
MATTIE.static.commands
Members
commentId
script
showChoices
when
MATTIE.static.commonEvents
Members
foods
largeFood
lootTables
medFood
randomAlchemy
randomBloodBook
randomFood
randomGoodArmor
randomGreatItem
randomMinorBook
randomMinorBook
randomMinorItems
randomMinorWeapon
randomNightItems
randomRareBook
randomRareBook
randomRareItem
randomScroll
randomWeapon
smallFood
MATTIE.static.events
MATTIE.static.events.images
MATTIE.static.items
Members
unobtainable
MATTIE.static.maps
Members
blockingMaps
Methods
onMenuMap
MATTIE.static.rpg
Members
commands
MATTIE.static.skills
MATTIE.static.states
Members
armCut
bleeding
cantDoShit
cantDoShitOnce
knockout
legCut
resistDeath
MATTIE.static.switch
Members
STARVATION
backstab
characterLimbs
cheatSwitches
crowMaulerCanSpawn
crowMaulerDead
crowMaulerDisabled
logical
neckBreak
phaseStep
taf
talk
torchTimer
toughEnemyMode
MATTIE.static.variable
Members
allMerAffinity
godAffinityAndPrayerVars
godOfTheDepthsAffinity
groGorothAffinity
groSylvianAffinity
ignoredVars
secondarySyncedVars
syncedVars
MATTIE.tpAPI an api containing all tps for funger 1 and 2
MATTIE.troopAPI
MATTIE.unstuckAPI
Members
autoUnstuckOn
playerFreeMove
Methods
convertRunningAutorunToNonBlockingAutorun
convertRunningAutorunToParallel
togglePermanentUnstuck
togglePlayerFreeMove
unstuck
unstuck
MATTIE.windows
Methods
MenuSelectableBase
Window_DebugSpecific
Window_DevSkillList
Global
BattleLog
MATTIE_ModManager
Window_Honey
Yanfly
dict
forceParamValue
getRandomColor
godMode
maxDepthForWidthSplit
onError
overrideErrorLoggers
printLoadingError
render
restoreGodMode
targetedGodMode
toggleForceDash
toggleFreeExtraTurn
toggleHealthLoss
toggleHunger
toggleHyperSpeed
toggleManaLoss
toggleMemberProp
updateHpOfEnemy
MATTIE
.
TaF the namespace for trepidation and famine
difficulty mod