From 839312810650975cebd4f12888d078844dedf52a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 26 Feb 2020 01:41:52 +0100 Subject: [PATCH] on-activation effect for Orb of Digging in OSM --- inventory.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inventory.cpp b/inventory.cpp index 80b82c63..24626b71 100644 --- a/inventory.cpp +++ b/inventory.cpp @@ -439,6 +439,14 @@ EX namespace inv { evokeBeautyAt(c); } + if(it == itOrbDigging) { + forCellCM(c2, cwt.at) { + earthFloor(c2); + if(c2->wall == waCavewall && !c2->monst) + c2->wall = waNone; + } + } + if(it == itOrbSword || it == itOrbSword2) { for(int i=0; i