removal of log function overrides
This commit is contained in:
parent
df32b9942d
commit
edf86b856a
@ -1,12 +1,3 @@
|
||||
-- set true to enable debug logging
|
||||
DEBUG = false
|
||||
|
||||
function log(message)
|
||||
if DEBUG then
|
||||
print(message)
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
Known locations and clues. We check this to determine if we should
|
||||
atttempt to spawn clues, first we look for <LOCATION_NAME>_<GUID> and if
|
||||
|
@ -1,12 +1,3 @@
|
||||
-- set true to enable debug logging
|
||||
DEBUG = false
|
||||
|
||||
function log(message)
|
||||
if DEBUG then
|
||||
print(message)
|
||||
end
|
||||
end
|
||||
|
||||
-- data for difficulty selector scripts to set up chaos bag
|
||||
modeData = {
|
||||
['Core Set'] = {
|
||||
@ -493,13 +484,11 @@ modeData = {
|
||||
|
||||
function onSave()
|
||||
local globalState = JSON.encode(SPAWNED_PLAYER_CARD_GUIDS)
|
||||
log('saving global state: ' .. globalState)
|
||||
return globalState
|
||||
end
|
||||
|
||||
function onLoad(save_state)
|
||||
if save_state ~= '' then
|
||||
log('loading global state: ' .. save_state)
|
||||
SPAWNED_PLAYER_CARD_GUIDS = JSON.decode(save_state)
|
||||
else
|
||||
SPAWNED_PLAYER_CARD_GUIDS = {}
|
||||
|
@ -2,9 +2,6 @@
|
||||
-- general setup
|
||||
---------------------------------------------------------
|
||||
|
||||
-- set true to enable debug logging
|
||||
local DEBUG = false
|
||||
|
||||
-- Location connection directional options
|
||||
local BIDIRECTIONAL = 0
|
||||
local ONE_WAY = 1
|
||||
@ -78,14 +75,10 @@ function onLoad(saveState)
|
||||
locations = save.trackedLocations or { }
|
||||
currentScenario = save.currentScenario
|
||||
|
||||
self.interactable = DEBUG
|
||||
self.interactable = false
|
||||
Wait.time(function() collisionEnabled = true end, 1)
|
||||
end
|
||||
|
||||
function log(message)
|
||||
if DEBUG then print(message) end
|
||||
end
|
||||
|
||||
-- Called by Custom Data Helpers to push their location data into the Data Helper. This adds the
|
||||
-- data to the local token manager instance.
|
||||
---@param args Table Single-value array holding the GUID of the Custom Data Helper making the call
|
||||
|
Loading…
Reference in New Issue
Block a user