mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 12:31:41 +09:00
All File Upto ExpGamingBot follow bolier print
This commit is contained in:
@@ -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
|
||||
17
modules/DeathMarkers/softmod.json
Normal file
17
modules/DeathMarkers/softmod.json
Normal 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": {}
|
||||
}
|
||||
Reference in New Issue
Block a user