-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheventMessages.js
More file actions
60 lines (59 loc) · 2.44 KB
/
Copy patheventMessages.js
File metadata and controls
60 lines (59 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
const eventMessages = {
kickoff: "{{team}} kickoff",
'short-throw': {
goalkeeper: {
attempt: "{{attackingTeam}}'s goalkeeper throws it short to {{to}}",
success: "{{attackingTeam}}'s goalkeeper makes a successful throw to {{to}}",
intercept: "{{defendingTeam}} intercepts the throw",
fail: "{{attackingTeam}}'s goalkeeper makes a dreadful throw and the ball goes to a throw in"
}
},
goalkick: {
goalkeeper: {
attempt: "{{attackingTeam}}'s goalkeeper hits it from the 5 yard mark to {{to}}",
success: "{{attackingTeam}}'s goalkeeper makes a successful goalkick to {{to}}",
intercept: "{{defendingTeam}} intercepts the goalkick",
fail: "{{attackingTeam}}'s goalkeeper makes a dreadful goalkick and the ball goes to a throw in"
}
},
shortpass: {
goalkeeper: {
attempt: "{{attackingTeam}}'s goalkeeper passes it short to {{to}}",
success: "{{attackingTeam}}'s goalkeeper makes a successful pass to {{to}}",
intercept: "{{defendingTeam}} intercepts the pass",
fail: "{{attackingTeam}}'s goalkeeper makes a dreadful pass and the ball goes to a throw in"
},
defence: {
attempt: '{{attackingTeam}} tries a pass from {{from}} to {{to}}',
success: '{{attackingTeam}} makes a successful pass to {{to}}',
intercept: '{{defendingTeam}} intercepts the pass',
fail: '{{attackingTeam}} makes a dreadful pass and the ball goes to a throw in'
},
midfield: {
attempt: '{{attackingTeam}} tries a pass from {{from}} to {{to}}',
success: '{{attackingTeam}} makes a successful pass to {{to}}',
intercept: '{{defendingTeam}} intercepts the pass',
fail: '{{attackingTeam}} makes a dreadful pass and the ball goes to a throw in'
},
offence: {
attempt: '{{attackingTeam}} tries a pass from {{from}} to {{to}}',
success: '{{attackingTeam}} makes a successful pass to {{to}}',
intercept: '{{defendingTeam}} intercepts the pass',
fail: '{{attackingTeam}} makes a dreadful pass and the ball goes to a throw in'
}
},
'on-target-shot': {
offence: {
attempt: '{{attackingTeam}} hammers it towards goal',
goal: '{{attackingTeam}} scores!!!',
save: '{{defendingTeam}} makes a great save',
}
},
'off-target-shot': {
offence: {
attempt: '{{attackingTeam}} shoots',
goalkick: '{{attackingTeam}} misses by a mile. Goalkick to {{defendingTeam}}'
}
}
}
export default eventMessages;