Attempting fix for issue #50: carried clam can be opened (with trident)

This commit is contained in:
Eric S. Raymond 2021-01-10 22:14:11 -05:00
parent fe1b02f4c0
commit 8984e48e78
3 changed files with 4 additions and 2 deletions

2
NEWS
View file

@ -1,7 +1,7 @@
= Open Adventure project news =
1.9: 2020-08-27::
Update the dungeon maker to avoid a deprecation die to security issues
Update the dungeon maker to avoid a deprecation due to security issues
1.8: 2019-04-19::
Minor typo and capitalization glitches in user-visible text fixed & documented.

View file

@ -998,6 +998,8 @@ static phase_codes_t lock(verb_t verb, obj_t obj)
case CLAM:
if (verb == LOCK)
rspeak(HUH_MAN);
else if (TOTING(CLAM))
rspeak(DROP_CLAM);
else if (!TOTING(TRIDENT))
rspeak(CLAM_OPENER);
else {

View file

@ -2762,7 +2762,7 @@ arbitrary_messages: !!omap
You'd best take inventory and drop something.
- CLAM_BLOCKER: 'You can''t fit this five-foot clam through that little passage!'
- OYSTER_BLOCKER: 'You can''t fit this five-foot oyster through that little passage!'
#- DROP_CLAM: 'I advise you to put down the clam before opening it. >STRAIN!<'
- DROP_CLAM: 'I advise you to put down the clam before opening it. >STRAIN!<'
- DROP_OYSTER: 'I advise you to put down the oyster before opening it. >WRENCH!<'
- CLAM_OPENER: 'You don''t have anything strong enough to open the clam.'
- OYSTER_OPENER: 'You don''t have anything strong enough to open the oyster.'