/
beings.js
52 lines (46 loc) · 1.08 KB
/
beings.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
Game.Beings.define("player", {
extend: "humanoid",
pv: 3,
hp: 10,
damage: 3,
ctor: Game.Player,
color: [200, 200, 200]
});
Game.Beings.define("guard", {
extend: "humanoid",
name: "guard",
tasks: [],
color: [220, 140, 140]
});
Game.Beings.define("jester", {
extend: "humanoid",
chats: ["There is a secret passage to the kitchen, hidden in the throne room. But only the King shall know about it!"],
name: "jester",
color: [240, 100, 100]
});
Game.Beings.define("gardener", {
extend: "humanoid",
name: "gardener",
chats: ["Good day to you, sir!", "Watch these flowers blossom!", "This garden needs my attention."],
color: [100, 240, 100],
});
Game.Beings.define("bride", {
extend: "humanoid",
ctor: Game.Being.Bride,
tasks: [],
name: "bride",
color: [240, 240, 240]
});
Game.Beings.define("groom", {
extend: "humanoid",
tasks: [],
name: "groom",
color: [80, 80, 80]
});
Game.Beings.define("priest", {
extend: "humanoid",
tasks: [],
chats: ["You would like to talk to the bride - and you brought her nothing? Shame on you!"],
name: "priest",
color: [200, 30, 200]
});