SCED/objects/OfficialStandaloneChallengeScenarios.0ef5c8/StandaloneScenarios.77a5f9/FortuneandFolly.0dce91.ttslua
joseph-goldberg-accesso ecf4aa9e90 Added Fortune or Folly
Added Fortune or Folly Downloader to Standalone Scenarios box, added Fortune or Folly clue information to data helper, added two story assets from Fortune or Folly to all cards bag
2022-11-14 20:09:13 -06:00

25 lines
572 B
Plaintext

function onload(saved_data)
createDownloadButton()
end
--Beginning Setup
--Make Download button
function createDownloadButton()
self.createButton({
label="Download", click_function="buttonClick_download", function_owner=self,
position={0,0.1,2.2}, rotation={0,0,0}, height=240, width=800,
font_size=150, color={0,0,0}, font_color={1,1,1}
})
end
--Triggered by download button,
function buttonClick_download()
local params = { url = self.getGMNotes(), replace = self.guid }
Global.call('placeholder_download', params)
end