mirror of
https://github.com/raeleus/Hashtag-DnD.git
synced 2025-07-05 05:00:26 -04:00
Added the combination to the failure message for lockpicking.
This commit is contained in:
parent
88f0d3b5fe
commit
336b15fe01
2 changed files with 3 additions and 6 deletions
|
@ -571,10 +571,6 @@ function mapReplace(map, x, y, character) {
|
|||
}
|
||||
|
||||
function handleLockpicking() {
|
||||
var character = getCharacter()
|
||||
var haveWord = character.name == "You" ? "have" : "has"
|
||||
var possessiveName = getPossessiveName(character.name)
|
||||
|
||||
var text = " "
|
||||
switch (state.lockpickingTurn) {
|
||||
case "intro":
|
||||
|
@ -599,7 +595,8 @@ Enter your guess below by typing the letter for each color. Type "q" to quit:
|
|||
text = `You solved the combination with ${state.lockpickingGuesses} ${state.lockpickingGuesses == 1 ? "guess" : "guesses"}!`
|
||||
break
|
||||
case "lose":
|
||||
text = `After ${state.lockpickingGuesses} ${state.lockpickingGuesses == 1 ? "guess" : "guesses"}, you were unable to solve the combination...`
|
||||
text = `After ${state.lockpickingGuesses} ${state.lockpickingGuesses == 1 ? "guess" : "guesses"}, you were unable to solve the combination...
|
||||
The combination was ${state.lockpickingCombination}`
|
||||
break
|
||||
case "forfeit":
|
||||
text = "You decided to give up on solving the combination."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue