projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
926a806
)
Documentation polishing.
author
Eric S. Raymond
<esr@thyrsus.com>
Sun, 9 Jul 2017 11:03:26 +0000
(07:03 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sun, 9 Jul 2017 11:03:26 +0000
(07:03 -0400)
adventure.yaml
patch
|
blob
|
history
main.c
patch
|
blob
|
history
diff --git
a/adventure.yaml
b/adventure.yaml
index e137d8cf8afe9455413988a924d1c416d289344c..830d26ad815114f77f3dc8e10b54467a4a7cbfad 100644
(file)
--- a/
adventure.yaml
+++ b/
adventure.yaml
@@
-1835,6
+1835,8
@@
locations: !!omap
{verbs: [DOWN], action: [goto, LOC_LOWROOM]},
{verbs: [UPWAR], action: [goto, LOC_SWCHASM]},
]
{verbs: [DOWN], action: [goto, LOC_LOWROOM]},
{verbs: [UPWAR], action: [goto, LOC_SWCHASM]},
]
+ # Following three rooms are where the dragon lives. The code has a
+ # wired-in assumption that the dragon corpse goes to LOC_SECRET5,
- LOC_SECRET4:
description:
long: 'You are in a secret canyon which exits to the north and east.'
- LOC_SECRET4:
description:
long: 'You are in a secret canyon which exits to the north and east.'
diff --git
a/main.c
b/main.c
index 6457d055068984a423d0cf575d5a167c8039bbd3..dbdaef9c9d081d900c7f579bab267e38056fee08 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-433,9
+433,7
@@
static bool dwarfmove(void)
}
}
}
}
- /* Now we know what's happening. Let's tell the poor sucker about it.
- * Note that various of the "knife" messages must have specific relative
- * positions in the rspeak database. */
+ /* Now we know what's happening. Let's tell the poor sucker about it. */
if (game.dtotal == 0)
return true;
rspeak(game.dtotal == 1 ? DWARF_SINGLE : DWARF_PACK, game.dtotal);
if (game.dtotal == 0)
return true;
rspeak(game.dtotal == 1 ? DWARF_SINGLE : DWARF_PACK, game.dtotal);