1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-25 21:29:06 +02:00

Explanatory text for sulfuric barrels in radioactive island

Changes:
- Changed message in radioactive island "2 [sulfuric barrels]" -> "Free resources granted for staying in this island. 2 [sulfuric barrels]"
This commit is contained in:
Piratux 2022-10-04 22:25:13 +03:00
parent e75091009d
commit 079be7fe49
2 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ death_pushed_into_water_by_cannon=__1__ was pushed into water by a cannon.
granted_rocket_launch=Rocket launched.
granted_kraken_kill=Kraken killed.
granted_periodic_barrel=
granted_periodic_resource=Free resources granted for staying in this island.
granted_quest_complete=Quest completed.
granted_1=__1__ __2__.

View File

@ -288,7 +288,7 @@ function Public.periodic_free_resources(tickinterval)
if memory.game_lost then return end
local destination = Common.current_destination()
local boat = memory.boat
if not (destination and destination.type and destination.type == Surfaces.enum.ISLAND and boat and boat.surface_name and boat.surface_name == destination.surface_name) then return end
if not (destination and destination.type == Surfaces.enum.ISLAND and boat and boat.surface_name == destination.surface_name) then return end
Common.give_items_to_crew(Balance.periodic_free_resources_per_destination_5_seconds())
@ -297,7 +297,7 @@ function Public.periodic_free_resources(tickinterval)
Common.give_items_to_crew{{name = 'sulfuric-acid-barrel', count = count}}
local force = memory.force
if not (force and force.valid) then return end
local message = {'pirates.granted_1', {'pirates.granted_periodic_barrel'}, count .. ' [item=sulfuric-acid-barrel]'}
local message = {'pirates.granted_1', {'pirates.granted_periodic_resource'}, count .. ' [item=sulfuric-acid-barrel]'}
Common.notify_force_light(force, message)
end
end