* Fix Dan Dojo ignoring Global Offset * oops, someone forgot to update/draw the other AI Win scripts * Skip long-holding P & go straight to P1 save file if possible * Add timestamp variable to Lua API Synced to chart * Add English variants of language names * minor change to language list * Add Config menu BGM for OWM * Add keybinds for Training Mode my hands hurt also delete key & arrow keys can be used in keybinds also branch keys can only be used in auto & training * Update Favorite.png * List all inputs devices in TJAPlayer3.log * Fix Training Mode skipback keybind not being saved correctly * Invalid Scene Preset now points to default Scene Preset (if possible) * wait no i did it wrong, THIS fixes invalid scene presets * Append new entries to new langs
41 lines
1.2 KiB
Lua
41 lines
1.2 KiB
Lua
local playerCount = 0
|
|
local p1IsBlue = false
|
|
local lang = "ja"
|
|
local simplemode = false
|
|
local puchicharaRarities = { "Common", "Common", "Common", "Common", "Common" }
|
|
local characterRarities = { "Common", "Common", "Common", "Common", "Common" }
|
|
|
|
local fps = 0
|
|
local deltaTime = 0
|
|
local isClear = { false, false, false, false, false }
|
|
local towerNightNum = 0
|
|
local battleState = 0
|
|
local battleWin = false
|
|
local gauge = { 0, 0, 0, 0, 0 }
|
|
local bpm = { 0, 0, 0, 0, 0 }
|
|
local gogo = { false, false, false, false, false }
|
|
local timeStamp = -1
|
|
|
|
|
|
function setConstValues(_playerCount, _p1IsBlue, _lang, _simplemode, _puchicharaRarities, _characterRarities)
|
|
playerCount = _playerCount
|
|
p1IsBlue = _p1IsBlue
|
|
lang = _lang
|
|
simplemode = _simplemode
|
|
puchicharaRarities = _puchicharaRarities
|
|
characterRarities = _characterRarities
|
|
end
|
|
|
|
function updateValues(_deltaTime, _fps, _isClear, _towerNightNum, _battleState, _battleWin, _gauge, _bpm, _gogo, _timestamp)
|
|
deltaTime = _deltaTime
|
|
fps = _fps
|
|
isClear = _isClear
|
|
towerNightNum = _towerNightNum
|
|
battleState = _battleState
|
|
battleWin = _battleWin
|
|
gauge = _gauge
|
|
bpm = _bpm
|
|
gogo = _gogo
|
|
timeStamp = _timestamp
|
|
end
|