Exemplo n.º 1
0
 //finishes the event after the correct amount of turns has been waited after completing the event (temporary consequences)
 public void GameEventCheckIfFinished(GameEvent gameEvent, MapRegion region)
 {
     if (gameEvent.lastCompleted + gameEvent.temporaryConsequencesDuration[gameEvent.pickedChoiceNumber] == currentMonth + currentYear * 12)
     {
         region.ImplementEventConsequences(gameEvent, gameEvent.pickedTemporaryConsequences[gameEvent.pickedChoiceNumber], false, gameStatistics.happiness);
         gameEvent.FinishEvent();
     }
 }