Skip to content

Commit 2d3883f

Browse files
authored
Skyhook Notifs + some lang file cleanups (#102)
1 parent 4d032d7 commit 2d3883f

File tree

3 files changed

+80
-11
lines changed

3 files changed

+80
-11
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/bootstrap/compiled.php
2+
.env.*.php
3+
.env.php
4+
.env
5+
.idea/
6+
7+
# testing
8+
vendor/
9+
composer.lock
10+
.phpunit.cache/test-results

src/Config/notifications.alerts.php

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,42 @@
230230
'discord' => \Seat\Notifications\Notifications\Characters\Discord\ResearchMissionAvailableMsg::class,
231231
],
232232
],
233+
'SkyhookDeployed' => [
234+
'label' => 'notifications::alerts.skyhook_deployed',
235+
'handlers' => [
236+
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureAnchoring::class,
237+
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureAnchoring::class,
238+
],
239+
],
240+
'SkyhookDestroyed' => [
241+
'label' => 'notifications::alerts.skyhook_destroyed',
242+
'handlers' => [
243+
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureDestroyed::class,
244+
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureDestroyed::class,
245+
],
246+
],
247+
'SkyhookLostShields' => [
248+
'label' => 'notifications::alerts.skyhook_lost_shields',
249+
'handlers' => [
250+
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureLostShields::class,
251+
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureLostShields::class,
252+
],
253+
],
254+
'SkyhookOnline' => [
255+
'label' => 'notifications::alerts.skyhook_online',
256+
'handlers' => [
257+
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureWentHighPower::class,
258+
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureWentHighPower::class,
259+
],
260+
],
261+
'SkyhookUnderAttack' => [
262+
'label' => 'notifications::alerts.skyhook_under_attack',
263+
'handlers' => [
264+
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureUnderAttack::class,
265+
'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureUnderAttack::class,
266+
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureUnderAttack::class,
267+
],
268+
],
233269
'SovCommandNodeEventStarted' => [
234270
'label' => 'notifications::alerts.sovereignty_command_node_event_started',
235271
'handlers' => [
@@ -297,6 +333,22 @@
297333
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureLostShields::class,
298334
],
299335
],
336+
'StructureLowReagentsAlert' => [
337+
'label' => 'notifications::alerts.structure_low_reagents_alert',
338+
'handlers' => [
339+
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureFuelAlert::class,
340+
'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureFuelAlert::class,
341+
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureFuelAlert::class,
342+
],
343+
],
344+
'StructureNoReagentsAlert' => [
345+
'label' => 'notifications::alerts.structure_no_reagents_alert',
346+
'handlers' => [
347+
'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureServicesOffline::class,
348+
'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureServicesOffline::class,
349+
'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureServicesOffline::class,
350+
],
351+
],
300352
'StructureServicesOffline' => [
301353
'label' => 'notifications::alerts.structure_services_offline',
302354
'handlers' => [

src/resources/lang/en/alerts.php

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,28 @@
5353
'raffle_expired' => 'Expired Raffle',
5454
'raffle_finished' => 'Finished Raffle',
5555
'research_mission_available' => 'New Research Mission',
56+
'skyhook_deployed' => 'Skyhook Deployed',
57+
'skyhook_destroyed' => 'Skyhook Destroyed',
58+
'skyhook_lost_shields', 'Skyhook Lost Shields',
59+
'skyhook_online' => 'Skyhook Online',
60+
'skyhook_under_attack' => 'Skyhook Under Attack',
5661
'sovereignty_command_node_event_started' => 'Sovereignty Command Node Event Started',
57-
'sovereignty_structure_destroyed' => 'Destroyed Sovereignty Structure',
58-
'sovereignty_structure_reinforced' => 'Reinforced Sovereignty Structure',
59-
'story_line_mission_available' => 'New Story Line',
60-
'structure_anchoring' => 'Anchoring Structures',
61-
'structure_destroyed' => 'Destroyed Structures',
62-
'structure_fuel_alert' => 'Low Fuel Structures',
63-
'structure_lost_armor' => 'Lost Armor Structures',
64-
'structure_lost_shield' => 'Lost Shield Structures',
62+
'sovereignty_structure_destroyed' => 'Sovereignty Structure Destroyed',
63+
'sovereignty_structure_reinforced' => 'Sovereignty Structure Reinforced',
64+
'story_line_mission_available' => 'New Story Line Mission',
65+
'structure_anchoring' => 'Structures Anchoring',
66+
'structure_destroyed' => 'Structures Destroyed',
67+
'structure_fuel_alert' => 'Structures Low Fuel',
68+
'structure_lost_armor' => 'Structures Lost Armor',
69+
'structure_lost_shield' => 'Structures Lost Shield',
70+
'structure_low_reagents_alert' => 'Structure Low Reagents',
71+
'structure_no_reagents_alert' => 'Structure No Reagents',
6572
'structure_services_offline' => 'Structures Offline Services',
66-
'structure_unanchoring' => 'Unanchoring Structures',
67-
'structure_under_attack' => 'Attacked Structures',
73+
'structure_unanchoring' => 'Structures Unanchoring',
74+
'structure_under_attack' => 'Structures Attacked',
6875
'structure_went_high_power' => 'Structures High Power',
6976
'structure_went_low_power' => 'Structures Low Power',
7077
'killmails' => 'Killmails',
71-
'contract_created' => 'Contract created',
78+
'contract_created' => 'Contract Created',
7279
'war_inactive_member' => 'War Inactive Member',
7380
];

0 commit comments

Comments
 (0)