Note: No need to quote my entire post back. I know what I posted and it just makes the thread hard to read.
Yes. Either require the entire module or also grab io.exists() from the code I posted a link to.
Or comment out the check for existence. My modules are meant to be used as a whole and the link/paste was meant as a guide, not an entire solution.
Note: You’re best off just using my entire set of extensions. They add features you’ll find yourself needing anyways.
https://github.com/roaminggamer/SSKCorona/tree/master/com/roaminggamer/ssk/extensions
io/string/table are the big ones.
To use them do the following:
-
Download SSK
-
Copy com/roaminggamer/ssk/ extensions into your game folder.
-
Require…
require “extensions.io” require “extensions.table” require “extensions.string”
DO NOT put these files in your root as you won’t be able to require them there.
Later you can graduate to the entire collection (SSK), but is probably a bit much for now.