Sitting on cream pies destroys them
This commit is contained in:
@@ -285,7 +285,11 @@ dosit(void)
|
|||||||
You("sit on %s.", the(xname(obj)));
|
You("sit on %s.", the(xname(obj)));
|
||||||
if (obj->otyp == CORPSE && amorphous(&mons[obj->corpsenm]))
|
if (obj->otyp == CORPSE && amorphous(&mons[obj->corpsenm]))
|
||||||
pline("It's squishy...");
|
pline("It's squishy...");
|
||||||
else if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))
|
else if (obj->otyp == CREAM_PIE) {
|
||||||
|
if (!Deaf)
|
||||||
|
pline("Squelch!");
|
||||||
|
useupf(obj, obj->quan);
|
||||||
|
} else if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))
|
||||||
pline("It's not very comfortable...");
|
pline("It's not very comfortable...");
|
||||||
}
|
}
|
||||||
} else if (trap != 0 || (u.utrap && (u.utraptype >= TT_LAVA))) {
|
} else if (trap != 0 || (u.utrap && (u.utraptype >= TT_LAVA))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user