private static string GenerateDescriptionIntro(Tribe sourceTribe, Tribe targetTribe)
 {
     return
         (sourceTribe.CurrentLeader.Name.BoldText + ", leader of " + sourceTribe.GetNameAndTypeStringBold() + ", is proposing " +
          targetTribe.GetNameAndTypeStringBold() + " merge into " + sourceTribe.CurrentLeader.PossessiveNoun + " tribe.\n\n" +
          "By accepting this proposal, " + targetTribe.GetNameAndTypeStringBold() + " will disappear.\n\n");
 }
 private string GenerateAcceptOfferEffectsMessage()
 {
     return
         ("\t• " + GenerateEffectsString_DecreasePreference(_targetTribe, CulturalPreference.IsolationPreferenceId, BaseMinPreferencePercentChange, BaseMaxPreferencePercentChange) + "\n" +
          "\t• " + GenerateEffectsString_IncreaseRelationship(_targetTribe, _sourceTribe, BaseMinRelationshipPercentChange, BaseMaxRelationshipPercentChange) + "\n" +
          "\t• " + _targetTribe.GetNameAndTypeStringBold() + " will merge into " + _sourceTribe.GetNameAndTypeStringBold());
 }
 private string GenerateAcceptedOfferResultEffectsString()
 {
     return
         ("\t• " + GenerateResultEffectsString_IncreaseRelationship(_targetTribe, _sourceTribe) + "\n" +
          "\t• " + GenerateResultEffectsString_DecreasePreference(_targetTribe, CulturalPreference.IsolationPreferenceId) + "\n" +
          "\t• " + _targetTribe.GetNameAndTypeStringBold() + " has merged into " + _sourceTribe.GetNameAndTypeStringBold());
 }
Ejemplo n.º 4
0
 private string GenerateAttemptMergeTribesResultEffectsString()
 {
     return
         ("\t• " + GenerateEffectsString_DecreasePreference(_sourceTribe, CulturalPreference.IsolationPreferenceId, BaseMinPreferencePercentChange, BaseMaxPreferencePercentChange) + "\n" +
          "\t• " + GenerateEffectsString_IncreasePreference(_sourceTribe, CulturalPreference.CohesionPreferenceId, BaseMinPreferencePercentChange, BaseMaxPreferencePercentChange) + "\n" +
          "\t• The current leader of " + _targetTribe.GetNameAndTypeStringBold() + " will receive an offer to merge their tribe into " + _sourceTribe.GetNameAndTypeStringBold());
 }
    public RejectedMergeTribesOfferDecision(Tribe sourceTribe, Tribe targetTribe, long eventId) : base(sourceTribe, eventId)
    {
        Description = "The leader of " + targetTribe.GetNameAndTypeStringBold() + ", " + targetTribe.CurrentLeader.Name.BoldText + ", has rejected the attempt from " + sourceTribe.GetNameAndTypeStringBold() +
                      " to merge the tribes into one";

        _targetTribe = targetTribe;
        _sourceTribe = sourceTribe;
    }
    public RejectedFosterTribeRelationDecision(Tribe sourceTribe, Tribe targetTribe, long eventId) : base(sourceTribe, eventId)
    {
        Description = "The leader of " + targetTribe.GetNameAndTypeStringBold() + ", " + targetTribe.CurrentLeader.Name.BoldText + ", has rejected the attempt from " + sourceTribe.GetNameAndTypeStringBold() +
                      " to improve the relationship between the tribes";

        _targetTribe = targetTribe;
        _sourceTribe = sourceTribe;
    }
    public AcceptedMergeTribesOfferDecision(Tribe sourceTribe, Tribe targetTribe, long eventId) : base(sourceTribe, eventId)
    {
        Description = "The leader of " + targetTribe.GetNameAndTypeStringBold() + ", " + targetTribe.CurrentLeader.Name.BoldText + ", has accepted the offer to merge " +
                      targetTribe.CurrentLeader.PossessiveNoun + " tribe into " + sourceTribe.GetNameAndTypeStringBold();

        _targetTribe = targetTribe;
        _sourceTribe = sourceTribe;
    }
Ejemplo n.º 8
0
    public HandleFosterTribeRelationAttemptDecision(Tribe sourceTribe, Tribe targetTribe, bool acceptOffer, long eventId) : base(sourceTribe, eventId)
    {
        _sourceTribe = sourceTribe;
        _targetTribe = targetTribe;

        Description = GenerateDescriptionIntro(sourceTribe, targetTribe) +
                      "Should the leader of " + _targetTribe.GetNameAndTypeStringBold() + ", " + _targetTribe.CurrentLeader.Name.BoldText + ", reciprocate such attempts?";

        _acceptOffer = acceptOffer;
    }
    public OpenTribeDecision(Tribe tribe, bool makeAttempt, long eventId) : base(tribe, eventId)
    {
        _tribe = tribe;

        Description = "The elders have suggested that perhaps " + tribe.GetNameAndTypeStringBold().FirstLetterToUpper() + " has been to isolated and we " +
                      ", should attempt to be more receptive to influence from our neighboors.\n\n" +
                      "Should " + tribe.CurrentLeader.Name.BoldText + " attempt to allow for our tribal society to become more open?";

        _makeAttempt = makeAttempt;
    }
    public HandleMergeTribesOfferDecision(Tribe sourceTribe, Tribe targetTribe, bool acceptOffer, long eventId) : base(sourceTribe, eventId)
    {
        _sourceTribe = sourceTribe;
        _targetTribe = targetTribe;

        Description = GenerateDescriptionIntro(sourceTribe, targetTribe) +
                      "Should the leader of " + _targetTribe.GetNameAndTypeStringBold() + ", " + _targetTribe.CurrentLeader.Name.BoldText + ", allow " +
                      _targetTribe.CurrentLeader.PossessiveNoun + " tribe to merge into " + sourceTribe.GetNameAndTypeStringBold() + "?";

        _acceptOffer = acceptOffer;
    }
    public FosterTribeRelationDecision(Tribe sourceTribe, Tribe targetTribe, bool makeAttempt, float chanceOfRejecting, long eventId) : base(sourceTribe, eventId)
    {
        _sourceTribe = sourceTribe;
        _targetTribe = targetTribe;

        _chanceOfRejecting = chanceOfRejecting;

        Description = targetTribe.GetNameAndTypeStringBold().FirstLetterToUpper() + " has had a long contact with " + sourceTribe.GetNameAndTypeStringBold() +
                      ", but the relationship between them could be improved upon.\n\n" +
                      "Should " + sourceTribe.CurrentLeader.Name.BoldText + " attempt to foster our relationship with " + targetTribe.GetNameAndTypeStringBold() + "?";

        _makeAttempt = makeAttempt;
    }
Ejemplo n.º 12
0
    public MergeTribesDecision(Tribe sourceTribe, Tribe targetTribe, bool makeAttempt, float chanceOfRejecting, long eventId) : base(sourceTribe, eventId)
    {
        _sourceTribe = sourceTribe;
        _targetTribe = targetTribe;

        _chanceOfRejecting = chanceOfRejecting;

        Description = targetTribe.GetNameAndTypeStringBold().FirstLetterToUpper() + " has a strong relationship with " + sourceTribe.GetNameAndTypeStringBold() +
                      " and people from both tribes seem to intermix frequently regardless of clan affiliation.\n\n" +
                      "Should " + sourceTribe.CurrentLeader.Name.BoldText + " propose " + targetTribe.GetNameAndTypeStringBold() + " merge into " + sourceTribe.GetNameAndTypeStringBold() + "?";

        _makeAttempt = makeAttempt;
    }
 private string GenerateAttemptFosterRelationshipResultEffectsString()
 {
     return
         ("\t• " + GenerateEffectsString_DecreasePreference(_sourceTribe, CulturalPreference.IsolationPreferenceId, BaseMinIsolationPreferencePercentDecrease, BaseMaxIsolationPreferencePercentDecrease) + "\n" +
          "\t• The current leader of " + _targetTribe.GetNameAndTypeStringBold() + " will receive an offer to foster the relationship with " + _sourceTribe.GetNameAndTypeStringBold());
 }
Ejemplo n.º 14
0
 private static string GenerateDescriptionIntro(Tribe sourceTribe, Tribe targetTribe)
 {
     return
         (sourceTribe.CurrentLeader.Name.BoldText + ", leader of " + sourceTribe.GetNameAndTypeStringBold() + ", is trying to improve the relationship with " +
          targetTribe.GetNameAndTypeStringBold() + ".\n\n");
 }
 private string GenerateAvoidOpeningTribeResultEffectsString()
 {
     return
         ("\t• The status quo for " + _tribe.GetNameAndTypeStringBold().FirstLetterToUpper() + " is preserved");
 }