mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-11 13:39:14 +02:00
patch parrot silo warning
This commit is contained in:
parent
2f80f42c05
commit
8b02ea5b8f
@ -112,7 +112,7 @@ require 'utils.freeplay'
|
||||
--require 'maps.chronosphere.main'
|
||||
|
||||
--![[Adventure as a crew of pirates]]--
|
||||
--require 'maps.pirates.main'
|
||||
require 'maps.pirates.main'
|
||||
|
||||
--![[Launch rockets in increasingly harder getting worlds.]]--
|
||||
--require 'maps.journey.main'
|
||||
|
@ -1024,7 +1024,7 @@ function Public.silo_update(tickinterval)
|
||||
|
||||
if memory.overworldx >= 0 and dynamic_data.rocketsiloenergyconsumed >= 0.25 * dynamic_data.rocketsiloenergyneeded and (not dynamic_data.parrot_silo_warned) then
|
||||
dynamic_data.parrot_silo_warned = true
|
||||
local spawnerscount = Common.spawner_count(surface)
|
||||
local spawnerscount = Common.spawner_count(game.surfaces[destination.surface_name])
|
||||
if spawnerscount > 0 then
|
||||
Common.parrot_speak(memory.force, {'pirates.parrot_silo_warning'})
|
||||
end
|
||||
|
@ -97,7 +97,7 @@ Public.Data.surfacename_rendering_pos = {x = -0.5, y = -15}
|
||||
|
||||
Public.cabin_shop_data = {
|
||||
{
|
||||
price = {{'coin', 400}, {'coal', 20}},
|
||||
price = {{'coin', 400}, {'coal', 20}, {'iron-plate', 10}},--should be inefficient on resources to merely buy arty to shoot nests
|
||||
offer = {type='give-item', item = 'artillery-shell', count = 5},
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user