Browse Source

Dialogue every 2 minutes

final
Robert Chen 11 years ago
parent
commit
845c98b7a6
  1. 2
      js/ui.js

2
js/ui.js

@ -584,7 +584,7 @@ function OvenUI( stage, gameState ){
} }
gameState.oldTime = Date.now(); gameState.oldTime = Date.now();
} }
if( gameState.turkeyBought && dialoguediff > 5*60*1000 ){ if( gameState.turkeyBought && dialoguediff > 2*60*1000 ){
gameState.pubsub.publish( "ShowDialog", {seq:"Spouse gets surprise movie tickets", autoAdvance:true, random:true} ); gameState.pubsub.publish( "ShowDialog", {seq:"Spouse gets surprise movie tickets", autoAdvance:true, random:true} );
gameState.oldDialogueTime = Date.now(); gameState.oldDialogueTime = Date.now();
} }

Loading…
Cancel
Save