2017-06-13 13:16:07 +02:00
|
|
|
require "util"
|
|
|
|
require "locale/utils/event"
|
|
|
|
require "config"
|
|
|
|
require "locale/utils/utils"
|
2017-09-02 14:58:18 +02:00
|
|
|
require "locale/utils/list_utils"
|
2017-06-13 13:16:07 +02:00
|
|
|
require "base_data"
|
2017-07-09 15:20:01 +02:00
|
|
|
require "user_groups"
|
2017-07-06 19:16:13 +02:00
|
|
|
require "chatlog"
|
2017-06-13 13:16:07 +02:00
|
|
|
require "info"
|
2017-06-30 17:10:19 +02:00
|
|
|
require "player_list"
|
2017-06-13 13:16:07 +02:00
|
|
|
require "poll"
|
|
|
|
require "band"
|
|
|
|
require "fish_market"
|
|
|
|
require "train_station_names"
|
|
|
|
require "score"
|
|
|
|
require "map_layout"
|
2017-07-08 22:24:24 +02:00
|
|
|
require "nuke_control"
|
2017-07-19 02:04:41 +02:00
|
|
|
require "walk_distance"
|
2017-07-21 18:43:34 +02:00
|
|
|
require "on_tick"
|
2017-07-25 01:20:59 +02:00
|
|
|
require "follow"
|
2017-09-02 15:42:37 +02:00
|
|
|
require "wells"
|
|
|
|
require "custom_commands"
|
2017-06-13 13:16:07 +02:00
|
|
|
|
|
|
|
function player_joined(event)
|
|
|
|
local player = game.players[event.player_index]
|
|
|
|
player.insert { name = "raw-fish", count = 4 }
|
2017-07-08 22:24:24 +02:00
|
|
|
player.insert { name = "iron-gear-wheel", count = 8 }
|
2017-06-13 13:16:07 +02:00
|
|
|
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 }
|
2017-07-08 22:24:24 +02:00
|
|
|
--player.insert { name = "logistic-chest-passive-provider", count = 16 }
|
2017-06-13 13:16:07 +02:00
|
|
|
--player.insert { name = "power-armor", count = 1 }
|
2017-06-30 17:10:19 +02:00
|
|
|
player.print("Welcome to our Server. You can join our Discord at: discord.me/redmew")
|
2017-06-13 13:16:07 +02:00
|
|
|
player.print("And remember.. Keep Calm And Spaghetti!")
|
|
|
|
end
|
|
|
|
|
|
|
|
function walkabout(player_name, distance)
|
2017-07-08 23:06:39 +02:00
|
|
|
game.player.print("This command moved to /walkabout.")
|
2017-06-13 13:16:07 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
Event.register(defines.events.on_player_created, player_joined)
|