formatting
This commit is contained in:
parent
34a3cbd1d0
commit
110f6f45a0
@ -8,7 +8,7 @@ local chaosBagApi = require("chaosbag/ChaosBagApi")
|
||||
local guidReferenceApi = require("core/GUIDReferenceApi")
|
||||
local mythosAreaApi = require("core/MythosAreaApi")
|
||||
local playAreaApi = require("core/PlayAreaApi")
|
||||
local playermatApi = require("playermat/PlayermatApi")
|
||||
local playermatApi = require("playermat/PlayermatApi")
|
||||
local searchLib = require("util/SearchLib")
|
||||
local soundCubeApi = require("core/SoundCubeApi")
|
||||
local tokenSpawnTrackerApi = require("core/token/TokenSpawnTrackerApi")
|
||||
@ -30,7 +30,7 @@ options["removeDrawnLines"] = false
|
||||
|
||||
-- don't clean playermats for preludes
|
||||
local scenarioName
|
||||
local preludeList = {
|
||||
local preludeList = {
|
||||
["Prelude: Welcome to Hemlock Vale!"] = true
|
||||
}
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
local deckLib = require("util/DeckLib")
|
||||
local playermatApi = require("playermat/PlayermatApi")
|
||||
local playermatApi = require("playermat/PlayermatApi")
|
||||
local searchLib = require("util/SearchLib")
|
||||
|
||||
-- forward declaration of variables that are used across functions
|
||||
local matColor, handColor, setAsidePosition, setAsideRotation, drawDeckPosition, topCardDetected
|
||||
|
||||
local quickParameters = {}
|
||||
quickParameters.function_owner = self
|
||||
quickParameters.font_size = 165
|
||||
quickParameters.width = 275
|
||||
quickParameters.height = 275
|
||||
quickParameters.color = "White"
|
||||
local quickParameters = {}
|
||||
quickParameters.function_owner = self
|
||||
quickParameters.font_size = 165
|
||||
quickParameters.width = 275
|
||||
quickParameters.height = 275
|
||||
quickParameters.color = "White"
|
||||
|
||||
-- common parameters
|
||||
local buttonParameters = {}
|
||||
@ -20,17 +20,17 @@ buttonParameters.width = 650
|
||||
buttonParameters.height = 225
|
||||
buttonParameters.color = "White"
|
||||
|
||||
local inputParameters = {}
|
||||
inputParameters.function_owner = self
|
||||
inputParameters.input_function = "updateSearchNumber"
|
||||
inputParameters.tooltip = "custom search amount"
|
||||
inputParameters.label = "#"
|
||||
inputParameters.font_size = 175
|
||||
inputParameters.width = 400
|
||||
inputParameters.height = inputParameters.font_size + 23
|
||||
inputParameters.position = { 0, 0.11, 0 }
|
||||
inputParameters.alignment = 3
|
||||
inputParameters.validation = 2
|
||||
local inputParameters = {}
|
||||
inputParameters.function_owner = self
|
||||
inputParameters.input_function = "updateSearchNumber"
|
||||
inputParameters.tooltip = "custom search amount"
|
||||
inputParameters.label = "#"
|
||||
inputParameters.font_size = 175
|
||||
inputParameters.width = 400
|
||||
inputParameters.height = inputParameters.font_size + 23
|
||||
inputParameters.position = { 0, 0.11, 0 }
|
||||
inputParameters.alignment = 3
|
||||
inputParameters.validation = 2
|
||||
|
||||
function onLoad()
|
||||
normalView()
|
||||
@ -124,10 +124,10 @@ function startSearch(messageColor, number)
|
||||
end
|
||||
|
||||
-- get position and rotation for set aside cards
|
||||
local handData = Player[handColor].getHandTransform()
|
||||
local handCards = Player[handColor].getHandObjects()
|
||||
setAsidePosition = handData.position + offset * handData.right
|
||||
setAsideRotation = { handData.rotation.x, handData.rotation.y + 180, 180 }
|
||||
local handData = Player[handColor].getHandTransform()
|
||||
local handCards = Player[handColor].getHandObjects()
|
||||
setAsidePosition = handData.position + offset * handData.right
|
||||
setAsideRotation = { handData.rotation.x, handData.rotation.y + 180, 180 }
|
||||
|
||||
-- set y-value
|
||||
setAsidePosition.y = 1.5
|
||||
|
Loading…
Reference in New Issue
Block a user