Sometimes put rings dropped into sinks in the pipes

aka bury the ring under the sink. Idea from Fredrik Ljungdahl.
This commit is contained in:
Pasi Kallinen
2017-10-25 14:21:07 +03:00
parent 4af8a93cff
commit 279050ba84
2 changed files with 7 additions and 0 deletions

View File

@@ -501,6 +501,12 @@ register struct obj *obj;
pline_The("sink backs up, leaving %s.", doname(obj));
obj->in_use = FALSE;
dropx(obj);
} else if (!rn2(5)) {
freeinv(obj);
obj->in_use = FALSE;
obj->ox = u.ux;
obj->oy = u.uy;
add_to_buried(obj);
} else
useup(obj);
}