Commit graph

1155 commits

Author SHA1 Message Date
Jason S. Ninneman
11043b7246 Replace some uses of wd[12] with id[12]. 2017-07-14 09:18:55 -07:00
Jason S. Ninneman
596a15457d Dragon attack code no longer edits the command struct.
This also fixes a minor bug where refusing to attack the dragon
costs the player two turns instead of one.
2017-07-14 09:18:55 -07:00
Jason S. Ninneman
ff6a816e5f Handle word type and raw strings. 2017-07-14 09:18:55 -07:00
Jason S. Ninneman
820737fb80 Use vocab IDs along side packed words. 2017-07-14 09:18:24 -07:00
Eric S. Raymond
61570c700b More coverage improvements. 2017-07-14 12:00:29 -04:00
Eric S. Raymond
66fba512a7 Partially address GitLab issue #27: arbitrary_messages unreachable 2017-07-14 11:33:22 -04:00
NHOrus
7f18e66866 Refactored discard to concentrate bird-related things in one place 2017-07-14 16:38:25 +03:00
NHOrus
66ba9a0101 Refactored carry for clarity 2017-07-14 16:38:25 +03:00
NHOrus
3d2ba18355 Do not base endgame bonus on arbitrary messages
This may break save files, but doesn't, due to padding
2017-07-14 16:38:25 +03:00
Aaron Traas
6a90dcd017 YAML coverage - commented out unused arbitrary messages 2017-07-13 23:20:27 -04:00
Aaron Traas
e4aed91401 YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
Aaron Traas
7220425015 YAML coverage - cleanup and comments 2017-07-13 21:52:27 -04:00
Aaron Traas
52cdc8b87a YAML coverage - locations 100% covered 2017-07-13 21:52:27 -04:00
Aaron Traas
342c27494d YAML coverage - more locations and message
- LOC_DEADCRAWL
- CROSS_BRIDGE
- LOC_BOULDERS2.short
- LOC_WINDOW1
2017-07-13 21:52:27 -04:00
Aaron Traas
4bffb10094 YAML coverage - hints 100% covered 2017-07-13 21:52:27 -04:00
Aaron Traas
99595f6a2a YAML coverage parser bug fixed -- handling \n and \t correctly 2017-07-13 21:52:27 -04:00
Aaron Traas
2ec9c7cc1a YAML coverage parser fixed to equate "NO_MESSAGE" with None 2017-07-13 21:52:27 -04:00
Aaron Traas
a6e80af64f adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
Aaron Traas
e696fed6db Prompt and taunt you after 3rd and final death
Fixed a bug where you'd not be asked about whether to be resurrected a
final time. Now you are.
2017-07-13 21:52:27 -04:00
NHOrus
49d9ef1bee No spk remains in the code base 2017-07-13 21:52:27 -04:00
NHOrus
761d660cd2 Test that troll really retuns after we take eggs 2017-07-13 21:52:27 -04:00
NHOrus
03b2f1c86e Removed unused code, reindented 2017-07-13 21:52:27 -04:00
Aaron Traas
0e2c851131 Expand scope of coverage_dungeon.py - actions and obituaries 2017-07-13 21:52:27 -04:00
Aaron Traas
e176039b01 Expand scope of coverage_dungeon.py - specials 2017-07-13 21:52:13 -04:00
Aaron Traas
39cc166979 Expand scope of coverage_dungeon.py
hints, classes and turn thrusholds are now supported
2017-07-12 17:52:56 -04:00
Eric S. Raymond
24f29c6ba7 Cosmetic text fix. 2017-07-12 13:48:55 -04:00
Jason S. Ninneman
50efa22849 Express word type with an enum instead of magic numbers.
* Make a cleaner function for getting vocab metadata.
* Get rid of magic numbers.
* Purge get_vocab_id().
* Abolish the *_WORD() macros.
* Add FIXME comment on some ugliness.
2017-07-12 10:35:00 -07:00
Aaron Traas
b5badcacc8 Forcing floating point division for % coverage, so we don't show 0% 2017-07-12 08:56:50 -04:00
Eric S. Raymond
619eaea982 Remove obsolete comment. 2017-07-12 05:24:12 -04:00
Eric S. Raymond
a368e2a8b8 Remove obsolete caveat. 2017-07-12 05:11:03 -04:00
Eric S. Raymond
dd975b9886 In TODO, note some possible tests. 2017-07-12 04:42:24 -04:00
Eric S. Raymond
4a4c113624 Prevent game from uttering solecisms about the "floor" when outside. 2017-07-12 00:19:16 -04:00
Jason S. Ninneman
bd1b893263 Python-agnosticize coverage_dungeon.py. 2017-07-11 23:14:40 +00:00
Jason S. Ninneman
a0c33c2483 Install Python 2 pip in Alpine. 2017-07-11 23:14:39 +00:00
Jason S. Ninneman
8b38f66cbf Use Python 2 in Alpine Linux, because that's default. 2017-07-11 23:14:39 +00:00
Jason S. Ninneman
b8dd0eb904 Make the build Python-2/3 agnostic. 2017-07-11 23:14:39 +00:00
Jason S. Ninneman
b5e8eec80e Replace tests on packed words with tests on strings. 2017-07-11 23:14:38 +00:00
Eric S. Raymond
bcacb84166 Record a fix. 2017-07-11 19:13:24 -04:00
Eric S. Raymond
7ddbe04632 Demonstrate that we don't have the vase bug. 2017-07-11 19:06:10 -04:00
Aaron Traas
92ddbba212 LOC_* coverage - at 98.4% 2017-07-11 17:35:23 -04:00
Eric S. Raymond
3a7ce1b73a Minor bug fix in an error notification. 2017-07-11 17:05:55 -04:00
Eric S. Raymond
f06e5b8fdb Address Issue #13: The "eat" command exhibits strange behavior 2017-07-11 16:16:38 -04:00
Eric S. Raymond
559b6435d1 Actual 1.2 release. 2017-07-11 11:59:53 -04:00
Eric S. Raymond
3a722da650 Minor coverage inclusion. 2017-07-11 11:57:46 -04:00
Eric S. Raymond
da37afb19b Documentation polishing. 2017-07-11 06:00:21 -04:00
Eric S. Raymond
d7bad65d5b More comment polishing. 2017-07-11 04:42:36 -04:00
Eric S. Raymond
9a14d2e1cd Comment polishing. 2017-07-11 04:35:00 -04:00
Eric S. Raymond
00cf2a9373 Comment polishing. 2017-07-11 04:15:57 -04:00
Eric S. Raymond
de3be760b6 Comment polishing. 2017-07-11 03:43:37 -04:00
Eric S. Raymond
96950869c6 Reindent. 2017-07-11 03:26:00 -04:00