do allow globs with same curse/bless state to merge even when that state is
known for one and unknown for the other; result will have bknown clear
fix pile mark after killing a monster carrying a potion which is destroyed
+only list known blank scrolls and known blank spellbooks as likely candidates
+ when choosing an item to write on for applied magic marker
Platform- and/or Interface-Specific Fixes
/* worn armor or accessory covered by cursed worn armor */
|| (taking_off(word)
&& inaccessible_equipment(otmp, (const char *) 0, TRUE))
+ || (!strcmp(word, "write on")
+ && (!(otyp == SCR_BLANK_PAPER || otyp == SPE_BLANK_PAPER)
+ || !otmp->dknown || !objects[otyp].oc_name_known))
) {
/* acceptable but not listed as likely candidate */
foo--;
if (!foo && !allowall && !allownone) {
You("don't have anything %sto %s.", foox ? "else " : "", word);
return (struct obj *) 0;
+ } else if (!strcmp(word, "write on")) { /* ugly check for magic marker */
+ /* we wanted all scrolls and books in altlets[], but that came with
+ 'allowall' which we don't want since it prevents "silly thing"
+ result if anything other than scroll or spellbook is chosen */
+ allowall = FALSE;
}
for (;;) {
cnt = 0;