Added Adv Starting Items

This commit is contained in:
Cooldude2606
2019-03-24 20:06:43 +00:00
parent 2a1b90d02c
commit cfbab34c51
6 changed files with 134 additions and 1 deletions

View File

@@ -40,6 +40,14 @@ Event.add(defines.events.on_player_created, function(event)
local r = global.chart_distance or 200
player.force.chart(player.surface, {{player.position.x - r, player.position.y - r}, {player.position.x + r, player.position.y + r}})
if not global.skip_intro then
if game.is_multiplayer() then
player.print({"msg-intro"})
else
game.show_message_dialog{text = {"msg-intro"}}
end
end
silo_script.on_event(event)
end)