From 636fd81cdbf70c6cf19d76f240a9bcf4fc5373b8 Mon Sep 17 00:00:00 2001 From: Valansch Date: Mon, 25 Sep 2017 16:12:26 +0200 Subject: [PATCH] Cleaned up control.player_joined --- control.lua | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/control.lua b/control.lua index d3094aa5..e2e17ab8 100644 --- a/control.lua +++ b/control.lua @@ -22,23 +22,13 @@ require "wells" require "custom_commands" require "tasklist" -function player_joined(event) +local function player_joined(event) local player = game.players[event.player_index] player.insert { name = "raw-fish", count = 4 } - player.insert { name = "iron-gear-wheel", count = 8 } - player.insert { name = "iron-plate", count = 16 } - --player.insert { name = "pistol", count = 1 } - --player.insert { name = "firearm-magazine", count = 8 } - --player.insert { name = "train-stop", count = 16 } - --player.insert { name = "roboport", count = 16 } - --player.insert { name = "construction-robot", count = 16 } - --player.insert { name = "solar-panel", count = 16 } - --player.insert { name = "substation", count = 16 } - --player.insert { name = "logistic-chest-passive-provider", count = 16 } - --player.insert { name = "power-armor", count = 1 } + player.insert { name = "iron-gear-wheel", count = 8 } + player.insert { name = "iron-plate", count = 16 } player.print("Welcome to our Server. You can join our Discord at: discord.me/redmew") player.print("And remember.. Keep Calm And Spaghetti!") - --player.print("Today's pasta is served with a helping of warehoused ores, railworld and moduled rail bases!") end function walkabout(player_name, distance)