Skip to content

Steam API Integration #2499

Answered by RyanNurse
RyanNurse asked this question in Q&A
Apr 5, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

After doing some more digging, I'm afraid it doesn't seem like this is possible, at least in Lua. Luasteam needs to be instantiated via

local Steam = require('luasteam')
Steam.init()

...but in TIC-80's implementation of Lua, require() returns a boolean, not an object. So I can theoretically include the API, but there doesn't seem to be any way of actually accessing its contents.

Given that require() isn't supported anyway and may be removed in future (#2426), it seems the answer to this is a resounding no: Steam API integration isn't possible, at least via Lua, and there are no plans to make it possible. Disappointing, but not too surprising.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@RyanNurse
Comment options

@RyanNurse
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by RyanNurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants