From 26553bfaee20f92deadcb748942010a2ea890ef8 Mon Sep 17 00:00:00 2001 From: nixnoxus Date: Thu, 21 Apr 2022 13:16:05 +0200 Subject: [PATCH] Update game_api.txt (mention of non-player marker) --- game_api.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game_api.txt b/game_api.txt index 57c56070..f61f1b5f 100644 --- a/game_api.txt +++ b/game_api.txt @@ -1127,6 +1127,9 @@ setting `log_non_player_actions` is enabled. A player is considered non-player if `player:is_player()` returns `false` or `player.is_fake_player` is truthy. The use of `is_fake_player` is an unofficial standard between mods. +These non-players are marked by the content of `is_fake_player` +(if it is a string) or a "*" in brackets after the player name in +the log. `default.log_player_action(player, pos, message)`