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:
parent
f27c7519fc
commit
ff3535205b
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user