disappearing scroll trick
<email deleted> > * When you read a charging scroll, it "disappears", but when you are > selecting the object to charge, the scroll itself remains in your > inventory listing until you make your selection.
This commit is contained in:
@@ -198,6 +198,8 @@ more precise probing/stethoscope feedback when engulfed
|
|||||||
make baby long worms have lower level than full grown ones
|
make baby long worms have lower level than full grown ones
|
||||||
use "your kraken" instead of "a kraken" when searching reveals a tame
|
use "your kraken" instead of "a kraken" when searching reveals a tame
|
||||||
hidden monster
|
hidden monster
|
||||||
|
prevent scroll of charging that has already disappeared from showing in the
|
||||||
|
picklist of things to charge
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+6
-3
@@ -1154,10 +1154,13 @@ struct obj *sobj;
|
|||||||
known = TRUE;
|
known = TRUE;
|
||||||
if (!already_known)
|
if (!already_known)
|
||||||
pline("This is a charging scroll.");
|
pline("This is a charging scroll.");
|
||||||
|
/* use it up now to prevent if from showing in the
|
||||||
|
getobj picklist because the "disappears" message
|
||||||
|
was already delivered */
|
||||||
|
useup(sobj);
|
||||||
otmp = getobj(all_count, "charge");
|
otmp = getobj(all_count, "charge");
|
||||||
if (!otmp) break;
|
if (otmp) recharge(otmp, scursed ? -1 : sblessed ? 1 : 0);
|
||||||
recharge(otmp, scursed ? -1 : sblessed ? 1 : 0);
|
return(1);
|
||||||
break;
|
|
||||||
case SCR_MAGIC_MAPPING:
|
case SCR_MAGIC_MAPPING:
|
||||||
if (level.flags.nommap) {
|
if (level.flags.nommap) {
|
||||||
Your("mind is filled with crazy lines!");
|
Your("mind is filled with crazy lines!");
|
||||||
|
|||||||
Reference in New Issue
Block a user