CRAW now runs on Windows 7 too - the problem was that Windows 7 has moved some functi...
[craw.git] / configuration / configuration.py
blob79020dbb944b8384ab1f3bdabd094c5a8b07b454
1 #Chicken configuration
3 #Enable/disable chicken on low life
4 chicken = True
6 #This tells the script to leave the game when life <= 80%
7 chicken_ratio = 0.8
9 #Leave the game when somebody declares hostility to you?
10 chicken_on_hostile = False
12 #Breakpoint settings
14 increased_attack_speed = 240
15 faster_cast_rate = 240
16 faster_block_rate = 240
17 faster_hit_recovery = 240
18 faster_run_walk = 60
20 #Names of characters that are allowed to issue follow bot commands
21 follow_leaders = []
23 #Names of characters that are meant to follow the leader
24 followers = []
26 #Chat trigger strings for the follow bot
27 follow_command = 'follow'
28 stop_command = 'stop'
30 #Entering TPs in town
31 enter_town_tp_command = 'enter town tp'
33 #Entering TPs outside of town
34 enter_tp_command = 'enter tp'
36 #Attempt to make a town portal and enter it
37 go_to_town_command = 'go to town'
39 #Order bots to leave the game
40 leave_command = 'leave'
42 #Order bots to attack monsters with left skill (BOWS!)
43 attack_command = 'attack'
45 #Order bots to stop firing at monsters
46 stop_attacking_command = 'stop attacking'
48 #Delay between attacks in seconds
49 follower_attack_delay = 0.7
51 #Radius for turning off randomised attacks in follower attack mode
52 follower_defence_radius = 20
53 follower_attack_radius = 80
55 follower_attack_maximal_randomisation_position = 3
57 #Timing for the follow bot
58 follow_portal_move_delay = 0.4
59 follow_portal_interact_delay = 0.05
61 #Replies to chat triggers for the follow bot
62 follow_confirmation = 'Following %s'
63 stop_confirmation = 'No longer following %s'
64 enter_tp_confirmation = 'Entering the town portal of %s'
65 attack_confirmation = 'Commencing attack'
66 stop_attacking_command = 'Stopping attack'
68 stop_error = 'Currently not following anybody'
69 tp_error = 'Unable to detect the town portal of %s'
70 attack_error = 'Already attacking'
71 stop_attacking_error = 'Currently not attacking any targets'
73 mana_remaining = ' (%d/%d mana remaining)'
75 #Names of enchanters that will listen to enchant commands issued
76 enchanters = []
78 #Chat trigger for the enchant bot
79 enchant_command = 'enchant'
80 enchant_minions_command = 'enchant minions'
81 enchant_all_command = 'enchant all'
82 enchant_players_command = 'enchant players'
84 #Replies to chat triggers for the enchant bot
86 enchant_confirmation = 'I have enchanted you.' + mana_remaining
87 enchant_minions_confirmation = 'I have enchanted %d of your minions.' + mana_remaining
88 enchant_all_confirmation = 'I have enchanted you and %d of your minions.' + mana_remaining
90 enchant_range_error = 'You do not appear to be within range.'
91 enchant_mercenary_error = 'You do not appear to have any minions.'
92 enchant_mana_lack_warning = 'Warning: I currently do not have enough mana to fully complete this operation.' + mana_remaining
94 maximal_enchant_distance = 25
95 enchant_delay = 0.3
97 #Names of BO barbarians for the BO bot
98 battle_orders_barbarians = []
100 #Chat triggers for the BO bot
101 battle_orders_command = 'bo'
103 #Cast delay for the BO barbarian
104 battle_orders_switch_delay = 0.2
105 battle_orders_cast_delay = 0.5
107 battle_orders_confirmation = 'Casting Battle Command, Battle Orders and Shout, please wait...'
109 battle_orders_town_error = 'Cannot cast Battle Orders in town.'
111 party_error = 'We are not in the same party.'
112 mana_error = 'I currently do not have enough mana.' + mana_remaining
115 The following variable can either be a list of players to whom the enchant and
116 BO commands are restricted or you can simply set it to 'None' which indicates
117 that all players have access to the commands.
120 remote_command_privilege_users = None
122 #Characters for which to enable automatic casting
123 auto_casters = followers
124 auto_cast_switch_delay = 0.15
125 auto_cast_cast_delay = 0.35
127 #Necromancers which are supposed to automatically revive dead monsters
128 summoners = []
130 summoner_check_delay = 0.1
131 summoner_switch_delay = 0.2
132 summoner_cast_delay = 0.4
134 #Friends/party settings
136 friends = enchanters + battle_orders_barbarians + follow_leaders + followers + summoners + []
138 party_invitation_command = 'invite'
139 auto_accept_invitations_by_friends = True
140 auto_loot_permission_to_friends = False
142 #Packet logging for experiments/debugging
144 packet_logging = False
145 packet_log = 'packets.log'
148 This variable is used by the experience information script.
149 It allows you to filter out monsters that give you little or no experience.
150 If you need to kill more monsters than [experience_peanut_limit] to reach the next level then it will be ignored.
153 experience_peanut_limit = 2000
155 #BNCS configuration for auto whois on player kills
157 whois_delay = 1.0
159 #PK script configuration
161 maximal_attack_distance = 60
163 #delays in seconds
165 town_portal_delay = 0.28
166 bone_prison_delay = 0.28
168 bone_spirit_teleport_offset = (0, 6)
170 fist_of_heavens_distance = 40
171 fist_of_heavens_delay = 0.3