fix pull request #488 - regressions for 'a'pply
Restore some old behavior for the apply command that was changed by the "getobj refactor" patch. You couldn't attempt to apply potions to determine whether they were oil, couldn't apply gray stones once touchstone was discovered, and attempting to apply arbitrary items gave "that is a silly thing to apply" rather than "sorry, I don't know how to use that."
This commit is contained in:
@@ -500,13 +500,13 @@ enum getobj_callback_returns {
|
||||
* else to foo". */
|
||||
GETOBJ_EXCLUDE_INACCESS = -1,
|
||||
/* invalid for purposes of not showing a prompt if nothing is valid but
|
||||
* psuedo-valid for selecting - identical to GETOBJ_EXCLUDE but
|
||||
* psuedo-valid for selecting - identical to GETOBJ_EXCLUDE_INACCESS but
|
||||
* without the "else" in "You don't have anything else to foo". */
|
||||
GETOBJ_EXCLUDE_SELECTABLE = 0,
|
||||
/* valid - invlet not presented in the summary or the ? menu as a
|
||||
* recommendation, but is selectable if the player enters it anyway. Used
|
||||
* for objects that are actually valid but unimportantly so, such as shirts
|
||||
* for reading. */
|
||||
* recommendation, but is selectable if the player enters it anyway.
|
||||
* Used for objects that are actually valid but unimportantly so, such
|
||||
* as shirts for reading. */
|
||||
GETOBJ_DOWNPLAY = 1,
|
||||
/* valid - will be shown in summary and ? menu */
|
||||
GETOBJ_SUGGEST = 2,
|
||||
|
||||
Reference in New Issue
Block a user