--[[-- info Provides the ability to setup a player when first joined. ]] -- dependencies local Event = require 'utils.event' local Debug = require 'Diggy.Debug' -- this local SetupPlayer = {} --[[-- Registers all event handlers. ]] function SetupPlayer.register(config) Event.add(defines.events.on_player_created, function (event) Debug.cheat(function() local player =game.players[event.player_index] player.force.manual_mining_speed_modifier = 1000 end) end) end --[[-- Initializes the Feature. @param config Table {@see Diggy.Config}. ]] function SetupPlayer.initialize(config) end return SetupPlayer