$++ means the next character is erased. I left it out in my example above (for simplification), but it's necessary as otherwise the output, due to taskDesc.number being empty, would be:
Code: Select all
(...)tasked to kill the King.(...)
I also planned for $+n, $-- and $-n (n being a whole number).
There is also $% to actually write a $
And it seems my friend has actually successfully written the program now, so
EDIT:
Code: Select all
welcome = Welcome to this little game of mine. Press 1 to start a new game, or write "load" in order to load a saved game.
version = Game version: {version}, database version: 0.1.0
//save
save.enterName = Please enter the filename of the savegame.
save.failed = Saving the game as "{filename}" failed. Please enter another filename, try again or write "q" to cancel.
save.success = Game "{filename}" successfully saved!
//load
load.enterName = Please enter the name of the file you want to load the game from.
load.notExistant = "{filename}" does not exist. Please try again or write "q" to cancel.
load.failed = "{filename}" could not be loaded. Please try again or write "q" to cancel.
load.castingError = An error occured while trying to load "{filename}". The file might be of an old version of the game, damaged or otherwise incompatible. Please enter another filename, try again or write "q" to cancel.
load.success = "{filename}" successfully loaded!
//minor errors
error.minor.invalidTime = An error seems to have occured, as the time of day has become invalid ({time}). The game will try to fix the issue by skipping ahead to the morning of the next day. Please report this error to the developers nonetheless.
error.minor.noGame = Neither has a saved game been loaded, not has a new one been started, so there is no game running yet!
//help
help.1 = Apart from whatever input is currently expected, the following commands are available at any time:
help.2 = i, info - displays information on the game and slave
help.3 = s, save - saves the current game to file
help.4 = l, load - loads a game from a file
help.5 = h, help - accesses the help
help.6 = version - displays the current vesion of the game
help.7 = quit - ends the program
(Also, I apparently can't spell "occurred" :x)