SCED/objects/EncounterSets.304ffc.ttslua

13 lines
312 B
Lua
Raw Permalink Normal View History

2024-08-03 14:33:27 -04:00
local GlobalApi = require("core/GlobalApi")
2023-01-08 13:42:45 -05:00
function onLoad()
self.addContextMenuItem("Download", download)
end
2024-04-03 12:26:33 -04:00
function download(playerColor)
local filename = self.getGMNotes()
2024-08-03 14:33:27 -04:00
local player = Player[playerColor]
local replace = self.guid
GlobalApi.placeholderDownload(filename, player, replace)
2023-01-08 13:42:45 -05:00
end