mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-30 01:12:25 +01:00
Xorns (and other metalivores) cannot eat bolted magic chests
This commit is contained in:
parent
85b164eabc
commit
d297e18127
1 changed files with 2 additions and 1 deletions
|
@ -2031,7 +2031,8 @@ meatmetal(mtmp)
|
|||
if (mtmp->mtyp == PM_RUST_MONSTER && !is_rustprone(otmp))
|
||||
continue;
|
||||
if (is_metallic(otmp) && !obj_resists(otmp, 0, 95) &&
|
||||
touch_artifact(otmp, mtmp, FALSE)) {
|
||||
touch_artifact(otmp, mtmp, FALSE) && !(otmp->otyp == MAGIC_CHEST && otmp->obolted)
|
||||
) {
|
||||
if (mtmp->mtyp == PM_RUST_MONSTER && otmp->oerodeproof) {
|
||||
if (canseemon(mtmp) && flags.verbose) {
|
||||
pline("%s eats %s!",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue