From 998015d04e2ca15dadc7568d5bd2a387a0d2f0ea Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Wed, 27 Sep 2023 10:07:41 +0200 Subject: [PATCH] The technique and shopkeeper conducts won't livelog unless over 10000 turns. Reduces a bit of log spam since these can display frequently after 3000 turns. --- src/shk.c | 2 +- src/tech.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shk.c b/src/shk.c index 4be33940f..56f57479f 100644 --- a/src/shk.c +++ b/src/shk.c @@ -1202,7 +1202,7 @@ register struct monst *shkp; money2u(shkp, -balance); context.botl = 1; - if (!u.uconduct.shk++) + if (!u.uconduct.shk++ && moves > 10000) livelog_printf(LL_CONDUCT, "participated in the Yendorian economy for the first time"); if (robbed) { diff --git a/src/tech.c b/src/tech.c index 9e7438b20..903b6c8d7 100644 --- a/src/tech.c +++ b/src/tech.c @@ -1233,7 +1233,7 @@ int tech_no; return 0; } - if (res && !u.uconduct.techuse++) + if (res && !u.uconduct.techuse++ && moves > 10000) livelog_printf(LL_CONDUCT, "performed a technique for the first time - %s", techname(tech_no));