Skip to content

saveRefused beta ​

Function of @v12-engine/client

ts
saveRefused: (why: SaveRefusal | unknown) => Message

What a player is told of a save that is not loaded, as a message: the reason of a SaveProblem, or what loading it threw (a SaveError, or anything else). The words are the client's (wordsFor), or the game's own under the same key (GameView.hud.messages: save.newer, save.noWay, save.rules, save.missing, save.ground, save.game, save.notASave, save.failed)