1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-03 13:12:11 +02:00

Rework starting items

This commit is contained in:
blubFisch 2022-10-05 21:03:01 +01:00
parent f27c7519fc
commit ff3535205b
2 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,6 @@ function Public.initialize(player)
player.teleport({0, 0}, game.surfaces['limbo'])
Team.set_player_to_outlander(player)
Team.give_player_items(player)
player.insert {name = 'coin', count = '100'}
player.insert {name = 'stone-furnace', count = '1'}
Team.give_key(player.index)
local this = ScenarioTable.get()
if (this.testing_mode == true) then

View File

@ -223,6 +223,9 @@ function Public.give_player_items(player)
end
player.clear_items_inside()
player.insert({name = 'raw-fish', count = 3})
if player.force.name == 'rogue' or player.force.name == 'player' then
player.insert {name = 'stone-furnace', count = '1'}
end
end
function Public.set_player_to_outlander(player)