-
Notifications
You must be signed in to change notification settings - Fork 43
/
config.js
36 lines (36 loc) · 1.11 KB
/
config.js
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
exports.server = {
port: 3001,
game: {
name: 'RockMUD',
version: '0.4.0',
website: 'https://github.com/MoreOutput/RockMUD',
description: 'RockMUD Configuration',
// central time, in milliseconds, of a game minute
// which is the basis of the main game loop defiend in ticks.js
mudMinute: 280,
// Name of world currency -- referenced in game
coinage: 'gold',
// Area the player starts in -- can be an array.
// if its an array the selection is randomized.
startingArea: {
area: 'midgaard',
roomid: '1'
},
// Persistence drivers for data. World and Player data can use differing drivers.
persistenceDriverDir: '../databases/',
persistence: false,
persistence: {
data: false, // {driver: 'flat'}
player: false // {driver: 'couchdb'}
},
// will prevent ticks (time based functions) from running
preventTicks: false,
// all characters can use admin commands
allAdmin: true,
// show opponent hp in status
viewHp: true,
// whitelist areas -- aids in testing -- only these areas will be loaded
allowedAreas: [],
hpTo1: false // sets all mobs starting hp to 1 on boot
}
};