コード例 #1
0
    public static string Summary(this BasicChar who)
    {
        string title = who.Identity.FullName;
        Body   body  = who.Body;
        string desc  = $" is a {body.HeightMorInch()} tall {who.Race()} {who.Gender.ToString()}.";
        string stats = $"{who.Age.AgeYears}years old\nWeight: {body.WeightKgOrP()}\nHeight: {body.HeightMorInch()}";

        return(desc);
    }
コード例 #2
0
ファイル: Body.cs プロジェクト: yoyo02222803/TEoG_Unity_2
    public static string HeightCompToRace(this BasicChar basicChar)
    {
        Races race  = basicChar.RaceSystem.CurrentRace();
        float avg   = AvgRaceSizes.GetAvgSize(race);
        float ratio = basicChar.Body.Height.Value / avg;

        if (ratio < 0.3f)
        {
            return($" pixie sized among {basicChar.Race()}'s");
        }
        else if (ratio < 0.5f)
        {
            // height is 50cm, which is
            return($" half the height of your average {basicChar.Race()}"); // Race + "'s"
        }
        else if (ratio < 0.7f)
        {
            return($" short for a {basicChar.Race()}");
        }
        else if (ratio < 0.9f)
        {
            return($" shorter than average for a {basicChar.Race()}");
        }
        else if (ratio < 1.1f)
        {
            return($" average height for a {basicChar.Race()}");
        }
        else if (ratio < 1.3f)
        {
            return($" taller than your average {basicChar.Race()}");
        }
        else if (ratio < 1.5f)
        {
            return($" very tall for a {basicChar.Race()}");
        }
        else if (ratio < 2f)
        {
            return($" almost double the height of your average {basicChar.Race()}");
        }
        else
        {
            return($" a giant among {basicChar.Race()}'s");
        }
    }
コード例 #3
0
 public override void OnInspectorGUI()
 {
     GUILayout.Label("Summary", EditorStyles.boldLabel);
     GUILayout.BeginVertical("Box");
     GUILayout.Label(basicChar.Identity.FullName);
     UgreEditorTools.TwoLabels(basicChar.Gender.ToString(), basicChar.Race(true));
     GUILayout.EndVertical();
     UgreEditorTools.TwoBoldLabels("First name", "Last name");
     GUILayout.BeginHorizontal();
     basicChar.Identity.FirstName = EditorGUILayout.TextField(basicChar.Identity.FirstName);
     basicChar.Identity.LastName  = EditorGUILayout.TextField(basicChar.Identity.LastName);
     GUILayout.EndHorizontal();
     base.OnInspectorGUI();
 }
コード例 #4
0
 protected void SetTexts(BasicChar whom)
 {
     raceGender.text = $"{whom.Race(true)}\n{whom.Gender}";
     nameTitle.text  = whom.Identity.FullName;
 }
コード例 #5
0
 public override string StartScene(PlayerMain player, BasicChar other)
 {
     return($"Your foe lays on their back, chest heaving with exhaustion from the recent fight. You make your way up {other.Identity.FirstName}'s body, licking your lips in anticipation. Squatting above their head, you line your crotch up with their mouth. Grabbing their head, you grind their face against your {player.SexualOrgans.Vaginas.Biggest().Race} pussy, until they start eating you out with {other.HisHer()} {other.Race(true)} tounge.");
 }