Dungeon Stake
Dungeon Stakes, sometimes referred to as a stake, are a mechanic in PMDO.
Usage
Stakes are used to control the outcome that will occur when an adventure is concluded. Adventure, in this context, refers to any instance where the player properly enters a dungeon. This is typically done by calling a function such as GAME:EnterDungeon, which accepts a stake as an argument.
Vanilla PMDO uses the Risk stake in most contexts. The configuration exists primary for mod developers, to allow modification of dungeon outcomes.
Each different type of stake can be referenced in the script by writing RogueEssence.Data.GameProgress.DungeonStakes.[stake]
List of Stakes
The following stakes are present in the game.
Risk
Variable: RogueEssence.Data.GameProgress.DungeonStakes.Risk
Stakes are risky, with some loss to the player should they lose the dungeon. The PMDO default is the loss of all items and money. This may be tweaked by modders to apply a different punishment, such as the loss of half items and money.
Progress
Variable: RogueEssence.Data.GameProgress.DungeonStakes.Progress
Stakes keep any progress the player has made, but no punishments will be applied if the player loses the dungeon.
None
Variable: RogueEssence.Data.GameProgress.DungeonStakes.None
Stakes do not keep any part of the progress the player has made in the dungeon. Items, money, etc. will be reverted to what they were before entering the dungeon.
