2 script.on_event(defines.events.on_pre_player_died, function(event)
\r
3 local player = game.players[event.player_index]
\r
4 player.force.add_chart_tag(player.surface, {position=player.position, text='Corpse: '..player.name..'; Time: '..math.floor(game.tick/60/60/60)..':'..(math.floor(game.tick/60/60)%60), icon={type="virtual",name="signal-info"}})
\r