All File Upto ExpGamingBot follow bolier print

This commit is contained in:
Cooldude2606
2018-09-14 21:25:28 +01:00
parent 6e129c77c5
commit 4392671ce2
29 changed files with 301 additions and 160 deletions

View File

@@ -1,5 +1,19 @@
-- made by cooldude - this just adds a marker to the map which is removed when the body is removed
--- Adds markers to the map when a player dies and removes it when the body is removed.
-- @module DeathMarkers@4.0.0
-- @author Cooldude2606
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
-- @alais ThisModule
-- Module Define
local module_verbose = false
local ThisModule = {}
-- Global Define
local global = global{
corpses={}
}
-- Event Handlers Define
Event.register(defines.events.on_player_died, function(event)
local player = game.players[event.player_index]
local tag = player.force.add_chart_tag(player.surface,{
@@ -25,4 +39,7 @@ Event.register(defines.events.on_tick, function(event)
end
key=key+1
end
end)
end)
-- Module Return
return ThisModule

View File

@@ -0,0 +1,17 @@
{
"name": "DeathMarkers",
"version": "4.0.0",
"type": "Module",
"description": "Adds markers to the map when a player dies and removes it when the body is removed.",
"location": "<blank>",
"keywords": [
"Death",
"Marker",
"Body",
"Map"
],
"author": "Cooldude2606",
"contact": "Discord: Cooldude2606#5241",
"license": "https://github.com/explosivegaming/scenario/blob/master/LICENSE",
"dependencies": {}
}