File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,12 +276,18 @@ export default {
276276 recruit_list : function ( ) {
277277 let recruits = { } ;
278278
279+ // You can recruit bots from mandatory challenges of
280+ // a city once all the mandatory challenges of that city is complete.
279281 for ( let city of Object . keys ( this . challenges ) ) {
280- if ( this . getCityState ( city ) != CITY_STATE . DONE ) {
282+ const state = this . getCityState ( city ) ;
283+ if ( state === CITY_STATE . LOCKED || state === CITY_STATE . OPEN ) {
281284 continue ;
282285 }
283286 for ( let challenge of this . challenges [ city ] ) {
284- // This challenge was completed so opponents are available
287+ if ( challenge . optional ) {
288+ continue
289+ }
290+ // This challenge was mandatory and now completed so opponents are available
285291 const botIds = challenge . opponentBots ;
286292 for ( let botId of botIds ) {
287293 let bot = Object . assign ( { } , this . bots_config [ botId ] ) ;
Original file line number Diff line number Diff line change 2121 "humanTeamSize" : 1 ,
2222 "opponentBots" : [" noobbot" ],
2323 "optional" : true ,
24- "map" : " BeckwithPark_Dawn " ,
24+ "map" : " Farmstead " ,
2525 "display" : " A training partner challenges you"
2626 }
2727 ]
Original file line number Diff line number Diff line change 11import setuptools
22
3- __version__ = '0.0.150 '
3+ __version__ = '0.0.151 '
44
55with open ("README.md" , "r" ) as readme_file :
66 long_description = readme_file .read ()
You can’t perform that action at this time.
0 commit comments