-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.js
More file actions
80 lines (75 loc) · 3.31 KB
/
Copy pathConstants.js
File metadata and controls
80 lines (75 loc) · 3.31 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
module.exports = {
MIN_PLAYERS: 4,
MAX_PLAYERS: 10,
ROLE_REVEAL_TIME: 5000,
MEETING_DURATION: 30000,
VOTING_DURATION: 20000,
RESULTS_DURATION: 8000,
GAMEPLAY_DURATION: 600000,
TASK_COOLDOWN: 3000,
KILL_COOLDOWN: 45000,
SABOTAGE_COOLDOWN: 45000,
SABOTAGE_DURATION: 20000,
REACTOR_TIMER: 45000,
BODY_DECAY_MS: 60000,
EMERGENCY_MEETINGS: 1,
TASKS_PER_PLAYER: 3,
PARASITE_COUNT: {4: 1, 5: 1, 6: 1, 7: 2, 8: 2, 9: 2, 10: 3 },
ROOMS: ['Lab', 'Reactor', 'Security', 'Storage', 'MedBay', 'Communications'],
MAPS: {
station_core: {
name: 'Station Core',
description: 'A compact hub layout — every room connects to the central corridor.',
rooms: ['Lab', 'Reactor', 'Security', 'Storage', 'MedBay', 'Communications'],
adjacency: {
Lab: ['Reactor', 'Security', 'Storage', 'MedBay', 'Communications'],
Reactor: ['Lab', 'Security', 'Storage', 'MedBay', 'Communications'],
Security: ['Lab', 'Reactor', 'Storage', 'MedBay', 'Communications'],
Storage: ['Lab', 'Reactor', 'Security', 'MedBay', 'Communications'],
MedBay: ['Lab', 'Reactor', 'Security', 'Storage', 'Communications'],
Communications: ['Lab', 'Reactor', 'Security', 'Storage', 'MedBay'],
},
vents: [],
},
outpost_ring: {
name: 'Outpost Ring',
description: 'Rooms form a ring plus a central hub — movement is restricted to neighbors, so route choices matter.',
rooms: ['Lab', 'Reactor', 'Security', 'Storage', 'MedBay', 'Communications'],
adjacency: {
Lab: ['Reactor', 'Communications'],
Reactor: ['Lab', 'Security'],
Security: ['Reactor', 'Storage'],
Storage: ['Security', 'MedBay'],
MedBay: ['Storage', 'Communications'],
Communications: ['MedBay', 'Lab'],
},
vents: [
{ a: 'Reactor', b: 'MedBay' },
{ a: 'Lab', b: 'Storage' },
],
},
},
TASKS: [
{ id: 'wires', name: 'Reconnect Wires', minigame: 'wires', room: 'Lab' },
{ id: 'memory', name: 'Memory Sequence', minigame: 'memory', room: 'Reactor' },
{ id: 'code', name: 'Enter Security Code', minigame: 'code', room: 'Security' },
{ id: 'reboot', name: 'Reboot System', minigame: 'reboot', room: 'Storage' },
{ id: 'stabilize', name: 'Stabilize Reactor', minigame: 'stabilize', room: 'Reactor' },
{ id: 'calibrate', name: 'Calibrate Sensors', minigame: 'calibrate', room: 'Lab' },
{ id: 'scan', name: 'Scan Sample', minigame: 'scan', room: 'MedBay' },
{ id: 'encrypt', name: 'Encrypt Data', minigame: 'encrypt', room: 'Security' },
{ id: 'cleanse', name: 'Cleanse Infection', minigame: 'cleanse', room: 'MedBay' },
{ id: 'restore', name: 'Restore Communications', minigame: 'restore', room: 'Communications' }
],
SABOTAGES: [
{ type: 'lights', name: 'Lights Out', duration: 15000 },
{ type: 'reactor', name: 'Reactor Meltdown', duration: 25000, critical: true },
{ type: 'doors', name: 'Lock Doors', duration: 10000 },
{ type: 'comms', name: 'Communications Failure', duration: 20000 }
],
FAKE_TASKS: [
{ id: 'fake_wires', name: 'Inspect Wiring', minigame: 'wires', room: 'Lab' },
{ id: 'fake_system', name: 'System Check', minigame: 'memory', room: 'Reactor' },
{ id: 'fake_monitor', name: 'Monitor Display', minigame: 'code', room: 'Security' }
]
};