gold and touchstones
Implement Pat's suggestion of allowing even identified touchstones to test gold, removing the getobj hack recently added. This actually brings the touchstone a bit more in line with the data.base entry.
This commit is contained in:
@@ -21,6 +21,7 @@ two-weapon combat makes two attacks instead of having one attack hit with
|
|||||||
apply weapon skill to-hit bonus or penalty to bare-handed attacks
|
apply weapon skill to-hit bonus or penalty to bare-handed attacks
|
||||||
only give monk's "cumbersome armor" message when the armor penalty causes
|
only give monk's "cumbersome armor" message when the armor penalty causes
|
||||||
an attack to miss
|
an attack to miss
|
||||||
|
identified touchstone can rub on gold like the data.base entry says
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -968,12 +968,7 @@ register const char *let,*word;
|
|||||||
}
|
}
|
||||||
if(ilet == def_oc_syms[COIN_CLASS]) {
|
if(ilet == def_oc_syms[COIN_CLASS]) {
|
||||||
if (!usegold) {
|
if (!usegold) {
|
||||||
if (!strncmp(word, "rub on ", 7)) {
|
You("cannot %s gold.", word);
|
||||||
/* the dangers of building sentences... */
|
|
||||||
You("cannot rub gold%s.", word + 3);
|
|
||||||
} else {
|
|
||||||
You("cannot %s gold.", word);
|
|
||||||
}
|
|
||||||
return(struct obj *)0;
|
return(struct obj *)0;
|
||||||
#ifndef GOLDOBJ
|
#ifndef GOLDOBJ
|
||||||
} else if (!allowgold) {
|
} else if (!allowgold) {
|
||||||
|
|||||||
Reference in New Issue
Block a user