LUA V2 new function save.Slotisfree()
|Opened on:||Sunday, August 26, 2012 - 20:04|
|Last modified:||Monday, August 27, 2012 - 02:16|
Suggest a new LUA V2 function approximately like this:
Function: boolean save.Slotisfree(integer slot)
Description: true if there is presently nothing saved to the Quicksave slot. (Range 1 to 100)
By the way, since save.Quickload()is a void function, if you feed it a slot with no previous save in it there doesn't seem to be a way for the LUA V2 recipe to learn this and print out the "Nothing in slot #" message you get in the game using Ctrl-1, etc. Of course you can print() a warning if the score doesn't change. I don't know if this is a bug or if it's worth worrying about.
By the way ^2 ... would it be too difficult to start up a Feedback topic "Game:Recipes" ?