-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroles.js
More file actions
80 lines (77 loc) · 1.85 KB
/
roles.js
File metadata and controls
80 lines (77 loc) · 1.85 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
var attributes = {
//Allignment Attributes
ANY: 'Can roll any role',
//Role Attributes
JAIL: 'Jail the target.',
EXECUTE: 'Execute the jailed target.',
MAFKILL: 'Kill the target as member of the Mafia.',
IMMUNE: 'Cannot die to KILL',
ALERT: 'Go on alert at night'
}
var roles = {
'town': {
'tpow': {
name: 'Town Power',
color: '00FF00',
'jailor': {
name: 'Jailor',
color: '00FF00',
attributes: {
JAIL: attributes.JAIL,
EXECUTE: attributes.EXECUTE
},
standard: true
},
'veteran': {
name: 'Veteran',
color: '00FF00',
attributes: {
ALERT: attributes.ALERT,
},
standard: true
},
standard: true
},
name: 'Town',
color: '00FF00',
id: '1'
},
'mafia': {
'mhead': {
name: 'Mafia Head',
color: 'FF0000',
'godfather': {
name: 'Godfather',
color: 'FF0000',
attributes: {
MAFKILL: attributes.MAFFKILL,
IMMUNE: attributes.IMMUNE
},
standard: true
},
standard: true
},
name: 'Mafia',
color: 'FF0000',
id: '2'
},
'neutral': {
'any': {
name: 'Any',
color: 'AFAFAF',
attributes: {
ANY: attributes.ANY
},
standard: false
},
name: 'Neutral',
color: 'AFAFAF',
id: '3'
}
};
try {
module.exports.attributes = attributes;
module.exports.roles = roles;
}
catch (err) {
}