mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-04 03:44:04 +01:00
Allow probing (and sensor packs) to see into crystal skulls at 20 insight
This allows you to screen skulls for useful types, and spot potential artifacts (deminymphs)
This commit is contained in:
parent
cc4aa7a155
commit
deb6e7dcc2
2 changed files with 4 additions and 4 deletions
|
@ -3537,7 +3537,7 @@ struct obj *sensor;
|
|||
for(; pobj; pobj = pobj->nexthere){
|
||||
/* target object has now been "seen (up close)" */
|
||||
pobj->dknown = 1;
|
||||
if (Is_container(pobj) || pobj->otyp == STATUE) {
|
||||
if (Is_container(pobj) || pobj->otyp == STATUE || (pobj->otyp == CRYSTAL_SKULL && u.uinsight >= 20)) {
|
||||
if (!pobj->cobj)
|
||||
pline("%s empty.", Tobjnam(pobj, "are"));
|
||||
else {
|
||||
|
@ -3558,7 +3558,7 @@ struct obj *sensor;
|
|||
for(; pobj; pobj = pobj->nexthere){
|
||||
/* target object has now been "seen (up close)" */
|
||||
pobj->dknown = 1;
|
||||
if (Is_container(pobj) || pobj->otyp == STATUE) {
|
||||
if (Is_container(pobj) || pobj->otyp == STATUE || (pobj->otyp == CRYSTAL_SKULL && u.uinsight >= 20)) {
|
||||
if (!pobj->cobj)
|
||||
pline("%s empty.", Tobjnam(pobj, "are"));
|
||||
else {
|
||||
|
|
|
@ -2110,7 +2110,7 @@ struct obj *obj, *otmp;
|
|||
res = !obj->dknown;
|
||||
/* target object has now been "seen (up close)" */
|
||||
obj->dknown = 1;
|
||||
if (Is_container(obj) || obj->otyp == STATUE) {
|
||||
if (Is_container(obj) || obj->otyp == STATUE || (obj->otyp == CRYSTAL_SKULL && u.uinsight >= 20)) {
|
||||
if (!obj->cobj)
|
||||
pline("%s empty.", Tobjnam(obj, "are"));
|
||||
else {
|
||||
|
@ -2127,7 +2127,7 @@ struct obj *obj, *otmp;
|
|||
case WAN_STRIKING:
|
||||
case SPE_FORCE_BOLT:
|
||||
case ROD_OF_FORCE:
|
||||
if (is_boulder(obj) || obj->otyp == STATUE)
|
||||
if (is_boulder(obj) || obj->otyp == STATUE || (obj->otyp == CRYSTAL_SKULL && u.uinsight >= 20))
|
||||
break_boulder(obj);
|
||||
else {
|
||||
if (!flags.mon_moving)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue