Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
386e39fd
Commit
386e39fd
authored
2 years ago
by
Lloyd Hannesson
Committed by
Rob Swindell
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added key buffer flush to prevent auto skipping prompts. Version updated to 1.1.
parent
fcf4a001
No related branches found
No related tags found
2 merge requests
!463
MRC mods by Codefenix (2024-10-20)
,
!277
Added key buffer flush to prevent auto skipping prompts. Version updated to 1.1.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
xtrn/lord/gravyard/gravyard.gra
+1
-1
1 addition, 1 deletion
xtrn/lord/gravyard/gravyard.gra
xtrn/lord/gravyard/gravyard.js
+15
-8
15 additions, 8 deletions
xtrn/lord/gravyard/gravyard.js
with
16 additions
and
9 deletions
xtrn/lord/gravyard/gravyard.gra
+
1
−
1
View file @
386e39fd
...
...
@@ -12,7 +12,7 @@
`5ú`2[`0e`2]`5ú `2Enter Shack
`5ú`2[`0t`2]`5ú `2Talk to Grave Digger
`5ú`2[`0g`2]`5ú `2Search the Newly Dug Gave
`5ú`2[`0g`2]`5ú `2Search the Newly Dug
Grave
`5ú`2[`0s`2]`5ú `2Check Out the Stand!
`5ú`2[`0l`2]`5ú `2Flee In Terror!!!!
...
...
This diff is collapsed.
Click to expand it.
xtrn/lord/gravyard/gravyard.js
+
15
−
8
View file @
386e39fd
...
...
@@ -5,8 +5,8 @@
(c) 2023 Lloyd Hannesson - dasme@dasme.org
*/
var
graName
=
'
The Warrior
\'
s Graveyard
'
;
var
graNameFancy
=
'
`$-
`%The
W
arrior
\'
s
G
raveyard `
$-
'
;
var
graVersion
=
'
JS v1.
0
'
;
var
graNameFancy
=
'
`8
`%T
`7
he
`%W`7
arrior
\'
s
`%G`7
raveyard `
8
'
;
var
graVersion
=
'
JS v1.
1
'
;
var
graDebug
=
false
;
var
menu_redisplay
=
true
;
var
menu_file
;
...
...
@@ -332,7 +332,9 @@ function command_prompt(currentPlace,menu_keys) {
function
press_a_key
(
no_clear
)
{
var
ch
;
lw
(
'
`2<`0MORE`2>
'
);
//lw(' `2<`0MORE`2>');
lw
(
'
`@ `0Press A Key `@
'
);
flush_keys
();
ch
=
getkey
();
if
(
no_clear
)
{
dk
.
console
.
print
(
'
\r
'
);
...
...
@@ -355,6 +357,12 @@ function are_you_sure() {
return
(
false
);
}
function
flush_keys
()
{
while
(
dk
.
console
.
waitkey
(
0
))
{
dk
.
console
.
getkey
();
}
}
// Adding in some functions to match the old door driver I used..
function
CharmCheck
(
Charm
)
{
player
.
cha
=
player
.
cha
+
parseInt
(
Charm
);
...
...
@@ -1003,7 +1011,7 @@ function graKitten() {
lw
(
'
`0You gain
'
+
TempInt
.
toString
()
+
'
Strength!
'
);
sln
(
''
);
StrCheck
(
TempInt
);
sln
(
''
);
sln
(
''
);
press_a_key
();
break
;
case
1
:
...
...
@@ -1151,7 +1159,7 @@ function graGraveRob() {
}
/* -=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/* Menus
/* Menus
*/
/* -=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
function
graDebugMenu
()
{
...
...
@@ -1761,11 +1769,10 @@ function main() {
if
(
argc
==
1
&&
argv
[
0
]
==
'
INSTALL
'
)
{
var
install
=
{
desc
:
'
`6- `%The Warrior
\'
s Graveyard `6-
'
desc
:
graNameFancy
}
exit
(
0
);
}
else
{
}
else
{
main
();
exit
(
0
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment