From 3441d86d2cdd1cd8fa5415f8be7699369f2e6121 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 13 Feb 2020 11:07:28 +0100 Subject: [PATCH] reptilecheat disables stuff in the Minefield --- landgen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 20c2bbcc..82f7bdc9 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2115,6 +2115,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { minefreq = 550; int tfreq = + reptilecheat ? 0 : treas < 10 ? 50 + 5 * treas : treas < 25 ? 100 + (treas-10) * 2: treas < 50 ? 150 + (treas-25) : @@ -2126,7 +2127,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { c->item = itBombEgg; c->landparam = items[itBombEgg] + 5 + hrand(11); } - else if(hrand_monster(5000) < treas - 20 + yendor::hardness() && !safety) + else if(hrand_monster(5000) < treas - 20 + yendor::hardness() && !safety && !reptilecheat) c->monst = moBomberbird; else placeLocalSpecial(c, 500); }