Skip to content

Commit

Permalink
The technique and shopkeeper conducts won't livelog unless over 10000…
Browse files Browse the repository at this point in the history
… turns.

Reduces a bit of log spam since these can display frequently after 3000 turns.
  • Loading branch information
elunna committed Sep 27, 2023
1 parent cb1c861 commit 998015d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/tech.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 998015d

Please sign in to comment.