forked from devops001/samsara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobRepository.js
52 lines (43 loc) · 1.36 KB
/
mobRepository.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
var MobRepository = new Repository('mobs', Mob);
//==================================================================
// Deer:
//==================================================================
MobRepository.define('buck', {
name: 'deer',
desc: 'a big buck',
isRandom: true,
mixins: [ Mixins.Moving.Wander, Mixins.Acting.Wanderer ]
});
MobRepository.define('doe', {
name: 'deer',
desc: 'a quick doe',
isRandom: true,
mixins: [ Mixins.Moving.Wander, Mixins.Acting.Wanderer ]
});
MobRepository.define('fawn', {
name: 'deer',
desc: 'a gentle fawn',
isRandom: true,
mixins: [ Mixins.Moving.Wander, Mixins.Acting.Wanderer ]
});
//==================================================================
// People:
//==================================================================
MobRepository.define('begger', {
name: 'begger',
desc: 'this wandering begger looks very tired and hungry',
isRandom: true,
mixins: [ Mixins.Moving.Wander, Mixins.Acting.Wanderer ]
});
MobRepository.define('ascetic', {
name: 'ascetic',
desc: 'this homeless person sits patiently with their eyes closed',
isRandom: true,
mixins: [ Mixins.Acting.Sitter ]
});
MobRepository.define('sadhu', {
name: 'sadhu',
desc: 'this one has gone forth into homelessness in order to discover the secrets of the universe',
isRandom: true,
mixins: [ Mixins.Acting.Sitter ]
});