Example #1
0
 private void TechnicalMistakeOccurred(TechnicalMistakeOccurred obj)
 {
     _numMistakesInCurrentDay++;
     if (_numMistakesInCurrentDay == PenultimateMistake)
     {
         World.Publish(new PlayerNotification("MegaBuy", "FINAL WARNING: Your work does not meet minimum quality standards."));
     }
     if (_numMistakesInCurrentDay == AntepenultimateMistake)
     {
         World.Publish(new PlayerNotification("MegaBuy", "WARNING: Your work quality is below our expectations."));
     }
     if (_numMistakesInCurrentDay == MaxMistakes)
     {
         World.NavigateToScene("Fired");
     }
 }
 private void TechnicalMistakeOccurred(TechnicalMistakeOccurred mistake)
 {
     _dayPayment.Remove(mistake.PayPenalty);
     World.Publish(new PlayerNotification("MegaBuy", $"{mistake.PayPenalty.Amount()} MBit penalty. You violated policy: {mistake.Policy.Text}"));
 }