Eric S. Raymond
7be7ac9406
Magic-number elimination.
2017-07-05 03:17:24 -04:00
Eric S. Raymond
fd57b3b5bd
Fix dropped stitch in last commit.
2017-07-05 02:55:51 -04:00
Eric S. Raymond
d522d22c71
Magic-number elimination.
2017-07-05 02:53:39 -04:00
Eric S. Raymond
752ac08737
Documentation polishing.
2017-07-05 02:42:51 -04:00
Eric S. Raymond
df87c596fb
Under oldstyle, mangled echoed unknown text to simulate old behavior.
2017-07-05 02:34:36 -04:00
Eric S. Raymond
c8f3289828
Minor clarifications.
2017-07-05 02:02:39 -04:00
NHOrus
caab2242fc
Trigger 'NO_EDIBLES' message
2017-07-05 08:37:04 +03:00
Eric S. Raymond
31c1a44915
Adapt bottle object to use state_change().
2017-07-05 01:15:40 -04:00
NHOrus
8613f0b3d9
Magic number elimination
...
Special state/locations for game.fixd object array
2017-07-05 07:56:36 +03:00
Eric S. Raymond
3d5c7239f1
Simplify vase-dropping logic using state_change().
2017-07-05 00:40:14 -04:00
Eric S. Raymond
5ae09b9c34
Magic-number elimination.
2017-07-04 23:46:16 -04:00
Eric S. Raymond
c48c330883
Magic-number elimination in the olover/alcove pasage code.
...
Wuth this change, the location table becomes order-independent (I think).
2017-07-04 22:57:34 -04:00
Aaron Traas
f3dae6ff83
Coverage -- more odd actions
2017-07-04 17:41:42 -04:00
Aaron Traas
19127d05df
Removed equivocation between ROD and ROD2 in throw()
...
Already dealt with in action(), so redundant and unreachable here.
2017-07-04 17:13:26 -04:00
Eric S. Raymond
abf820bb5c
Magic-number elimination.
2017-07-04 14:40:10 -04:00
Eric S. Raymond
f37a413524
Magic-number elimination.
2017-07-04 14:15:20 -04:00
Eric S. Raymond
a8ac2f477a
Abstract out some state arithmetic.
2017-07-04 13:41:12 -04:00
NHOrus
4ac9df527b
Test for filling full bottle with different liquid
2017-07-04 20:35:03 +03:00
NHOrus
63396e6abc
Oops. Also, sometimes it's better be explicit in parameters
2017-07-04 19:50:19 +03:00
NHOrus
92de4856a6
Localized spk in discard
2017-07-04 19:45:00 +03:00
NHOrus
733b035933
Completed unspk'ing of vcarry.
2017-07-04 19:41:06 +03:00
NHOrus
e46cbdf194
Unspk'd (v)carry. Made logic more visible.
...
And tested some of newly exposed cases.
2017-07-04 19:30:22 +03:00
NHOrus
665103410a
Unspk'd and streamlined attack. Tested one of discovered gaps.
2017-07-04 18:41:28 +03:00
Aaron Traas
16a175bbab
Eliminated bivalve function.
...
Reason: only called in lock(), you can't be TOTING a clam, you can't
have the trident at a carryable oyster, and the code IMHO is more
readable this way.
2017-07-04 10:06:41 -04:00
Eric S. Raymond
e1cca3b28a
State-arithmetic elimination.
2017-07-04 09:17:20 -04:00
Eric S. Raymond
e31e69b172
Grammar fix.
2017-07-04 09:04:10 -04:00
NHOrus
e1d9c97118
Drinking not from stream gets the same result
2017-07-04 15:18:49 +03:00
NHOrus
dc34ac3d06
workaround for eat grate bug in retrospective tests
2017-07-04 15:18:49 +03:00
NHOrus
85f918f9c0
Unspk'd chain action
2017-07-04 15:18:49 +03:00
NHOrus
469a0e74ed
linearized drink
2017-07-04 15:18:49 +03:00
NHOrus
3c636e27e2
linearized extinguish
2017-07-04 15:18:49 +03:00
NHOrus
8cbb8afcbe
Unspk'd and restructured fill
2017-07-04 15:18:49 +03:00
NHOrus
e6efd6dbac
Partial cleanup of fill
2017-07-04 15:18:49 +03:00
NHOrus
294f2b8a6d
Removed magic from checks for liquids
2017-07-04 15:18:49 +03:00
NHOrus
de5696431d
Unspk'd find
2017-07-04 15:18:49 +03:00
NHOrus
ffd08893dd
Unspk'd inventory lookup
2017-07-04 15:18:49 +03:00
NHOrus
b8def22d24
Unspk'd lock, cleaned up logic
2017-07-04 15:18:49 +03:00
NHOrus
babf08ddc4
Cleaned up unused variables
2017-07-04 15:18:49 +03:00
NHOrus
df2830598c
Unspk'd Giant Words
2017-07-04 15:18:49 +03:00
Eric S. Raymond
248fc90e3d
Another use of state_change().
2017-07-04 08:16:10 -04:00
Eric S. Raymond
e91b8c2a06
Another use of state_change() and changes messages.
2017-07-04 07:59:20 -04:00
Eric S. Raymond
e62e4f6e46
YAML cleanup.
2017-07-04 07:39:07 -04:00
Jason S. Ninneman
4f78dfea24
Begin replacing tests on strings with tests on vocab IDs.
2017-07-03 18:21:25 -07:00
Jason S. Ninneman
07e7b8131e
Upgrade get_vocab_id() to handle empty strings.
2017-07-03 18:08:04 -07:00
Eric S. Raymond
659f797d8a
Implement and document new state-label syntax.
2017-07-03 20:27:56 -04:00
Eric S. Raymond
217f05b28b
Comment polishing.
2017-07-03 19:26:32 -04:00
Eric S. Raymond
1c4fcaf43e
Discard implementation of %L and %U format specifiers, now never used.
2017-07-03 18:40:06 -04:00
Eric S. Raymond
df36b62c74
Reducing use of dynamic allocation forecloses many errors.
2017-07-03 17:53:25 -04:00
Eric S. Raymond
6e67222206
Information hiding.
2017-07-03 17:21:06 -04:00
Eric S. Raymond
4b51b06b73
Simplify tokenization code.
2017-07-03 17:13:28 -04:00