diff --git a/game/modules/tome/ai/sandworm_tunneler.lua b/game/modules/tome/ai/sandworm_tunneler.lua index 0c17874fb0b9b1a070dd74f91dbda4b5517c9989..3b34bd2654be8c2c8c47e5012390c61c181c7e98 100644 --- a/game/modules/tome/ai/sandworm_tunneler.lua +++ b/game/modules/tome/ai/sandworm_tunneler.lua @@ -97,7 +97,7 @@ newAI("sandworm_tunneler", function(self) self:useEnergy() else local feat = game.level.map(lx, ly, engine.Map.TERRAIN) - if feat:check("block_move") then + if feat:check("block_move") or feat:check("tunneler_dig") then self:project({type="hit"}, lx, ly, DamageType.DIG, 1) end self:move(lx, ly) diff --git a/game/modules/tome/class/Game.lua b/game/modules/tome/class/Game.lua index 25ba61234698acdb265cd7216b60ad8f9667d39c..e518c67bc17b43b9c388153fdad8c03ff4836791 100644 --- a/game/modules/tome/class/Game.lua +++ b/game/modules/tome/class/Game.lua @@ -763,15 +763,6 @@ function _M:setupCommands() end end, [{"_g","ctrl"}] = function() if config.settings.cheat then self.nicer_tiles:postProcessLevelTiles(self.level) - - for i, e in ipairs(game.zone.object_list) do - if e.subtype == "staff" and e.rarity and e.name then - local a = game.zone:finishEntity(game.level, "object", e) - a.no_unique_lore = true -- to not spam - a:identify(true) - game.zone:addEntity(game.level, a, "object", game.player.x, game.player.y) - end - end end end, } diff --git a/game/modules/tome/data/general/grids/sand.lua b/game/modules/tome/data/general/grids/sand.lua index 7024c9238ee7a8ea4cb5383dd913824c5cceb639..51531d814df55e78e4cdec760b608e916f1fe0f7 100644 --- a/game/modules/tome/data/general/grids/sand.lua +++ b/game/modules/tome/data/general/grids/sand.lua @@ -70,6 +70,7 @@ newEntity{ end end end, + tunneler_dig = 1, dig = function(src, x, y, old) old.temporary = 20 return nil, old, true