mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2025-03-05 14:45:19 +02:00
I don't have a good way to enable techs for individual forces in frontier mode just yet.
This commit is contained in:
parent
9bb581e055
commit
5987c91440
@ -303,6 +303,10 @@ end)
|
||||
function RocketLaunchEvent(event)
|
||||
local force = event.rocket.force
|
||||
|
||||
-- EnableTech(force, "atomic-bomb")
|
||||
-- EnableTech(force, "power-armor-2")
|
||||
-- EnableTech(force, "artillery")
|
||||
|
||||
if event.rocket.get_item_count("satellite") == 0 then
|
||||
for index, player in pairs(force.players) do
|
||||
player.print("You launched the rocket, but you didn't put a satellite inside.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user