-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmonsters.py
93 lines (85 loc) · 2.68 KB
/
monsters.py
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
81
82
83
84
85
86
87
88
89
90
91
92
93
# monster = {
# 'hp': 1, 'damage': 1, 'armor': 2, 'wit': 10, 'stamina': 10, 'spirit': 20,
# 'death_function': 'monster_death',
# 'phys_damage_factor': 0.2,
# 'fire_damage_factor': 2,
# 'ai': 'BasicMonster',
# 'char': 'M',
# 'name': 'monster',
# 'color': 'white',
# 'speed': 6,
# 'fire_being': False,
# 'inventory': [ ('monster_item', 99), #name in items.py and probability, that monster has it
# ('monster_weapon', 80),
# ('monster_scroll', 10) ]
# }
kobold = {'stat_points': 5,
'spirit': 2,
'death_function': 'monster_death',
'ai': 'AIkobold',
'char': 'k',
'name': 'kobold',
'speed': 9,
'color': 'orange',
'xp': 1,
'inventory': [ ('dagger', 100), ('sword', 5)]
}
goblin = {'stat_points': 10,
'spirit': 2,
'death_function': 'monster_death',
'ai': 'AIgoblin',
'char': 'g',
'name': 'goblin',
'speed': 6,
'color': 'green',
'xp': 10,
'inventory': [ ('dagger', 100), ('sword', 50), ('potion', 40), ('potion', 10) ]
}
orc = {'stat_points': 20,
'spirit': 2,
'death_function': 'monster_death',
'ai': 'AIorc',
'char': 'o',
'name': 'orc',
'speed': 6,
'color': 'green',
'xp': 15,
'skill': 1,
'inventory': [ ('sword', 100), ('mace', 20), ('potion', 40), ('potion', 10), ('leather_armor', 50), ('chain_armor', 50), ('wand', 25) ]
}
human = {'stat_points': 35,
'spirit': 2,
'death_function': 'monster_death',
'ai': 'AIhuman',
'char': 'H',
'name': 'human',
'speed': 6,
'color': 'magenta',
'xp': 20,
'skill': 2,
'inventory': [ ('sword', 100), ('mace', 50), ('zweihander', 50), ('ring', 95), ('leather_armor', 50), ('chain_armor', 50), ('plate_armor', 50), ('wand', 20), ('scroll', 20), ('potion', 20), ('potion', 5) ]
}
priest = {'stat_points': 35,
'spirit': 2,
'death_function': 'monster_death',
'ai': 'AINPC',
'char': 'H',
'name': 'priest',
'speed': 18,
'color': 'white',
'xp': 20,
'skill': 2,
'inventory': [ ('mace', 100), ('chain_armor', 100), ('potion_of_healing', 100), ('book_of_healing', 100), ('scroll', 100),('scroll', 100),('scroll', 100) ]
}
elf = {'stat_points': 50,
'spirit': 15,
'death_function': 'monster_death',
'ai': 'AIelf',
'char': 'E',
'name': 'elf',
'speed': 6,
'color': 'light green',
'xp': 25,
'skill': 3,
'inventory': [ ('dagger', 100), ('staff', 50), ('dagger', 50), ('ring', 100), ('glasses', 100), ('cloth_armor', 50), ('mithril_armor', 50), ('wand', 20), ('scroll', 20), ('potion', 20), ('potion', 10), ('spellbook', 50) ]
}