mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
only disband inactive crews on the public server
This commit is contained in:
parent
ccacb9980b
commit
292579b101
@ -13,7 +13,7 @@ softmod_info_new_players_1=For New Players
|
||||
softmod_info_new_players_2=Mine coal and other resources and bring them to the ship to keep things going, or try asking the captain for more specific tasks.
|
||||
|
||||
softmod_info_tips_1=Features of the game that are hard to work out alone
|
||||
softmod_info_tips_2=• The captain (or officers) can steer the boat from the crow's nest by placing 50 rail signals in one of the blue boxes.\n• The quantity on an island is independent of the order in which you break rocks.\n• Passive pollution ramps up over time on each island.\n• Items dropped on the deck are transferred to the cabin when the boat moves for performance reasons.\n• When waiting for the captain's order to set sail, the free power supply is disabled.\n• Productivity modules can't be used in machines.\n• Resources granted to the ship appear in the captain's cabin.\n• Useful commands: /classinfo {classname} command, /plank {player}, /officer {player}, /undock, /ccolor, /clear_north_tanks, /clear_south_tanks, /tax, /reset_password
|
||||
softmod_info_tips_2=• The captain (or officers) can steer the boat from the crow's nest by placing 50 rail signals in one of the blue boxes.\n• The quantity on an island is independent of the order in which you break rocks.\n• Passive pollution ramps up over time on each island.\n• Items dropped on the deck are transferred to the cabin when the boat moves for performance reasons.\n• When waiting for the captain's order to set sail, the free power supply is disabled.\n• Resources granted to the ship appear in the captain's cabin.\n• Useful commands: /classinfo {classname} command, /plank {player}, /officer {player}, /undock, /ccolor, /clear_north_tanks, /clear_south_tanks, /tax, /reset_password
|
||||
|
||||
softmod_info_1_1=v1.6.1–1.6.5 highlights
|
||||
softmod_info_1_2=• Optional setting for new crews to disable blueprints.\n• Each island now has a grace period of 2 minutes before attacks.\n• Machines now deactivate after several minutes spent waiting at sea.\n• Private crews and captain-protected crews no longer revert to public crews when inactive. Runs now autodisband after 96 hours of inactivity.\n• Further slowing of gameplay for small crews.
|
||||
|
@ -279,7 +279,9 @@ function Public.join_spectators(player, crewid)
|
||||
end
|
||||
|
||||
if #Common.crew_get_crew_members() == 0 then
|
||||
if Common.autodisband_hours then
|
||||
local exists_disband_tick = memory.crew_disband_tick and memory.crew_disband_tick > game.tick
|
||||
|
||||
if Common.autodisband_hours and not exists_disband_tick and Server.get_current_time() then
|
||||
memory.crew_disband_tick = game.tick + Common.autodisband_hours * 60 * 60 * 60
|
||||
end
|
||||
end
|
||||
@ -312,7 +314,9 @@ function Public.leave_spectators(player, quiet)
|
||||
memory.spectatorplayerindices = Utils.ordered_table_with_values_removed(memory.spectatorplayerindices, player.index)
|
||||
|
||||
if #Common.crew_get_crew_members() == 0 then
|
||||
if Common.autodisband_hours then
|
||||
local exists_disband_tick = memory.crew_disband_tick and memory.crew_disband_tick > game.tick
|
||||
|
||||
if Common.autodisband_hours and not exists_disband_tick and Server.get_current_time() then
|
||||
memory.crew_disband_tick = game.tick + Common.autodisband_hours * 60 * 60 * 60
|
||||
end
|
||||
end
|
||||
@ -492,7 +496,7 @@ function Public.leave_crew(player, to_lobby, quiet)
|
||||
if #Common.crew_get_crew_members() == 0 then
|
||||
local exists_disband_tick = memory.crew_disband_tick and memory.crew_disband_tick > game.tick
|
||||
|
||||
if Common.autodisband_hours and not exists_disband_tick then
|
||||
if Common.autodisband_hours and not exists_disband_tick and Server.get_current_time() then
|
||||
memory.crew_disband_tick = game.tick + Common.autodisband_hours * 60 * 60 * 60
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user