-
Notifications
You must be signed in to change notification settings - Fork 3
/
warrior_data.js
39 lines (36 loc) · 1.05 KB
/
warrior_data.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
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// warrior_data.js
// written and released to the public domain by drow <drow@bin.sh>
// http://creativecommons.org/publicdomain/zero/1.0/
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// json format
// http://en.wikipedia.org/wiki/JSON
gen_data['warrior'] = [
'A {gender} {race} warrior, wearing {armor} and wielding {weapon}.'
];
gen_data['gender'] = [
'male', 'female'
];
gen_data['race'] = {
'1-3': 'human',
'4-5': 'dwarf',
'6': 'elf'
};
gen_data['armor'] = {
'01-50': 'leather armor',
'51-90': 'chainmail',
'91-00': 'plate armor'
};
gen_data['weapon'] = [
'{melee_weapon}',
'{melee_weapon} and a shield',
'twin blades',
'{ranged_weapon}'
];
gen_data['melee_weapon'] = [
'a battleaxe', 'a mace', 'a spear', 'a sword'
];
gen_data['ranged_weapon'] = [
'a longbow and arrows', 'a heavy crossbow'
];
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -