1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-04 00:15:45 +02:00

Parrot tip for when resources become a must

This commit is contained in:
Piratux 2023-01-29 23:24:25 +02:00
parent d8b2fd982b
commit aba27ac958
3 changed files with 7 additions and 5 deletions

View File

@ -62,12 +62,13 @@ location_displayname_lobby_1=Starting Dock
parrot_set_sail_advice=Ready to sail to the next island? Click up top!
parrot_hard_praise=Steel chests for steel players! Squawk!
parrot_normal_praise=Iron chests for iron players! Squawk!
parrot_fuel_warning=Fuel is low!
parrot_fuel_warning=Fuel is low! Quick, throw some coal to captain's cabin!
parrot_silo_warning=The silo is attracting biters...
parrot_0=We can wait here for as long as we like.
parrot_night_warning=Did you know that biters deal more damage at night?
parrot_boats_warning=200 leagues? I think we're being chased...
parrot_kraken_warning=400 leagues coming up? What are those pink things I spy...
parrot_need_resources_to_undock_warning=Oh no! From now on, if we won't collect resources in time, we will lose!
parrot_radioactive_tip_1=We'll need uranium-235 to push away from this island...
parrot_radioactive_tip_2=The biters don't care if we pollute here, but they evolve fast.
parrot_maze_tip_1=Something seems wrong with our minimap.
@ -77,7 +78,6 @@ parrot_cliff_explosive_tip=Cliff explosives? These look so powerful, they could
parrot_buried_treasure_tip=Squawk! If X marks the spot - use an item to dig with!
difficulty_easy=Easy
difficulty_normal=Normal
difficutly_hard=Hard

View File

@ -173,9 +173,11 @@ function Public.max_time_on_island_formula() --always >0 --tuned
end
Public.need_resources_to_undock_x = 40*20
-- Returns true if uncollected resources will cause the crew to lose.
function Public.need_resources_to_undock(overworldx)
if overworldx >= 40*20 then
if overworldx >= Public.need_resources_to_undock_x then
return true
else
return false

View File

@ -246,8 +246,8 @@ function Public.destination_on_collide(destination)
if memory.overworldx == 40*5 then
Common.parrot_speak(memory.force, {'pirates.parrot_boats_warning'})
-- elseif memory.overworldx == 800 then
-- Parrot.parrot_800_tip()
elseif memory.overworldx == Balance.need_resources_to_undock_x then
Common.parrot_speak(memory.force, {'pirates.parrot_need_resources_to_undock_warning'})
end
end