Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
theflyingape committed Sep 9, 2021
1 parent 41faa62 commit 4e349b0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/play/tavern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module Tavern {
$.argue--
}
menu()
}, prompt: 'Enter your argument', lines: 6, timeout: 600
}, prompt: 'Enter your argument', lines: $.player.novice ? 2 : 6, timeout: 600
}
}
input('argue', '')
Expand Down
29 changes: 16 additions & 13 deletions src/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,23 @@ module Player {

if (eligible && rpc.user.level == $.sysop.skill) {
bonus = true
vt.music()
if (rpc.user.novice) {
PC.portrait()
rpc.altered = true
rpc.user = PC.reroll(rpc.user, $.sysop.pc, rpc.user.level)
rpc.user.expert = true
rpc.user.novice = false
vt.outln(vt.cyan, 'You are no longer a novice. ', -600, vt.bright, ' Welcome to the next level of play!')
vt.sound('welcome', 12)
vt.outln('You morph into', vt.yellow, an(rpc.user.pc), vt.reset, '.')
vt.sound('cheer', 30)
if (rpc == $.online) {
vt.music()
if (rpc.user.novice) {
$.online.altered = true
$.player = PC.reroll($.player, $.sysop.pc, rpc.user.level)
$.player.expert = true
$.player.novice = false
PC.activate()
vt.outln()
vt.outln(vt.cyan, 'You are no longer a novice. ', -600, vt.bright, ' Welcome to the next level of play!')
vt.sound('welcome', 12)
vt.outln('You morph into', vt.yellow, an(rpc.user.pc), vt.reset, '.')
vt.sound('cheer', 30)
}
vt.sound('demon', 18)
break
}
vt.sound('demon', 18)
break
}
}

Expand Down

0 comments on commit 4e349b0

Please sign in to comment.