Improve the tin opener
This commit is contained in:
14
src/apply.c
14
src/apply.c
@@ -3494,18 +3494,8 @@ doapply()
|
||||
res = dowrite(obj);
|
||||
break;
|
||||
case TIN_OPENER:
|
||||
if (!carrying(TIN)) {
|
||||
You("have no tin to open.");
|
||||
goto xit;
|
||||
}
|
||||
You("cannot open a tin without eating or discarding its contents.");
|
||||
if (flags.verbose)
|
||||
pline("In order to eat, use the 'e' command.");
|
||||
if (obj != uwep)
|
||||
pline(
|
||||
"Opening the tin will be much easier if you wield the tin opener.");
|
||||
goto xit;
|
||||
|
||||
res = use_tin_opener(obj);
|
||||
break;
|
||||
case FIGURINE:
|
||||
use_figurine(&obj);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user