@@ -18,36 +18,12 @@ module.exports = {
1818} ;
1919
2020function onCommand ( displayName , gameState ) {
21- var message = 'Nobody seems ready for much of anything right now .' ;
21+ var message = 'Nobody seems ready to work since it is not the work round .' ;
2222 if ( gameState . workRound ) {
2323 message =
2424 'People available to work: ' +
2525 worklib . listReadyToWork ( gameState . population ) ;
2626 }
27- // this may just be an artifact of non-secret mating?
28- if ( gameState . reproductionRound ) {
29- if ( gameState . reproductionList && gameState . reproductionList [ 0 ] ) {
30- message =
31- 'The mating invitation order is ' +
32- gameState . reproductionList . join ( ', ' ) +
33- '\n' ;
34- var cleanName = gameState . reproductionList [ 0 ] ;
35- if ( cleanName . indexOf ( '(' ) > 0 ) {
36- startParen = cleanName . indexOf ( '(' ) ;
37- cleanName = cleanName . substring ( 0 , startParen ) ;
38- }
39- message +=
40- 'Available partners: ' +
41- reproLib . eligibleMates ( cleanName , gameState . population ) ;
42- for ( personName in population ) {
43- member = pop . memberByName ( personName , gameState ) ;
44- if ( member . invite ) {
45- message +=
46- '\n' + personName + ' is awaiting a response from ' + member . invite ;
47- }
48- }
49- }
50- }
5127 text . addMessage ( gameState , displayName , message ) ;
5228 return ;
5329}
0 commit comments