mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-26 22:56:43 +02:00
Mystical chest alert when bonus ends
This commit is contained in:
parent
5e34c73df7
commit
7e80029bef
@ -83,8 +83,10 @@ discharge_unlocked=Discharge defense has now been unlocked at the market!
|
||||
artillery_unlocked=Artillery has now been unlocked at the market!
|
||||
wd_paused=__1__ unlocked the last missing piece for the mystical chest!\n[color=yellow]Wave Defense has been paused for 5 minutes![/color]
|
||||
wd_resumed=[color=yellow]Wave Defense has been resumed![/color]
|
||||
mining_bonus=__1__ unlocked the last missing piece for the mystical chest!\n[color=yellow]Mining bonus has been applied for 15 minutes![/color]
|
||||
mining_bonus=__1__ unlocked the last missing piece for the mystical chest!\n[color=yellow]Mining speed bonus has been applied for 15 minutes![/color]
|
||||
mining_bonus_end=Mining speed bonus has ended!
|
||||
movement_bonus=__1__ unlocked the last missing piece for the mystical chest!\n[color=yellow]Movement speed bonus has been applied for 15 minutes![/color]
|
||||
movement_bonus_end=Movement speed bonus has ended!
|
||||
coin_bonus=__1__ unlocked the last missing piece for the mystical chest!\n[color=yellow]Coins has been distributed![/color]
|
||||
xp_bonus=__1__ unlocked the last missing piece for the mystical chest!\n[color=yellow]XP has been granted to Global pool![/color]
|
||||
inventory_bonus=__1__ unlocked the last missing piece for the mystical chest!\n[color=yellow]Inventory slot upgrade has been applied![/color]
|
||||
|
@ -272,6 +272,8 @@ local restore_mining_speed_token =
|
||||
if mc_rewards.temp_boosts.mining then
|
||||
force.manual_mining_speed_modifier = force.manual_mining_speed_modifier - 0.5
|
||||
mc_rewards.temp_boosts.mining = nil
|
||||
local message = ({'locomotive.mining_bonus_end'})
|
||||
Alert.alert_all_players(10, message, nil, 'achievement/tech-maniac')
|
||||
end
|
||||
end
|
||||
)
|
||||
@ -284,6 +286,8 @@ local restore_movement_speed_token =
|
||||
if mc_rewards.temp_boosts.movement then
|
||||
force.character_running_speed_modifier = force.character_running_speed_modifier - 0.2
|
||||
mc_rewards.temp_boosts.movement = nil
|
||||
local message = ({'locomotive.movement_bonus_end'})
|
||||
Alert.alert_all_players(10, message, nil, 'achievement/tech-maniac')
|
||||
end
|
||||
end
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user