コード例 #1
0
        private string ReductoButt(ButtData oldData, bool nothingHappened)
        {
            StringBuilder sb = new StringBuilder();

            sb.Append("You smear the foul-smelling paste onto your " + oldData.ShortDescription() + ". It feels cool at first but rapidly warms " +
                      "to an uncomfortable level of heat." + GlobalStrings.NewParagraph());
            if (nothingHappened)
            {
                sb.Append("Strangely, nothing seems to happen. What a waste!");
            }
            if (oldData.size - size > 3)
            {
                sb.Append("Within seconds you feel noticeably lighter, and a quick glance shows your ass is significantly smaller.");
            }
            else if (oldData.size - size == 3)
            {
                sb.Append("You feel much lighter as your " + ShortDescription() + " jiggles slightly, adjusting to its smaller size.");
            }
            else
            {
                sb.Append("After a few seconds your " + ShortDescription() + " has shrunk to a much smaller size!");
            }

            return(sb.ToString());
        }
コード例 #2
0
 // This method will set the current ButtData to the selected ButtData if it's unlocked
 public void SetButt(int currentButtIndex)
 {
     if (AllButtz[currentButtIndex].isUnlocked)
     {
         ActiveButt = AllButtz[currentButtIndex];
     }
 }
コード例 #3
0
            protected override string ButtChangeText(Creature target, ButtData oldButt)
            {
                string verb = target.butt.size - oldButt.size > 0 ? "enlarge" : "shrink";

                return("You wiggle around in your gown, the pleasant feeling of flower petals rubbing against your skin washes over you." +
                       " The feeling settles on your " + oldButt.ShortDescription() + "." + Environment.NewLine + "You feel it slowly " +
                       verb + ". <b>You now have a " + target.build.ButtShortDescription() + ".</b>" + Environment.NewLine);
            }
コード例 #4
0
        protected bool ChangeButt(Creature target, StringBuilder sb)
        {
            ButtData buttData = target.butt.AsReadOnlyData();
            bool     changed  = false;

            if (target.butt.size < 5)
            {
                changed = target.butt.GrowButt(1) != 0;
            }
            else if (target.butt.size > 5)
            {
                changed = target.butt.ShrinkButt(1) != 0;
            }

            if (changed)
            {
                sb.Append(ButtChangeText(target, buttData));
                return(true);
            }
            else
            {
                return(false);
            }
        }
コード例 #5
0
 public static void Open(ButtData buttData)
 {
     ButtDataEditorWindow window = GetWindow <ButtDataEditorWindow>("Butt Data Editor");
 }
コード例 #6
0
ファイル: LaBova.cs プロジェクト: JustSomeGuy6561/CoCSharp
 protected override string GrewButtText(Creature target, ButtData oldButt)
 {
     return(GlobalStrings.NewParagraph() + "A sensation of being unbalanced makes it difficult to walk. " +
            "You pause, paying careful attention to your new center of gravity before understanding dawns on you - your ass has grown!");
 }
コード例 #7
0
    public static bool OpenEditor(int instanceID, int line)
    {
        ButtData buttData = EditorUtility.InstanceIDToObject(instanceID) as ButtData;

        return(false);
    }
コード例 #8
0
 protected abstract string GrewButtText(Creature target, ButtData oldButt);
コード例 #9
0
 public void SetButt(ButtData newButt)
 {
     selectedButtSprite.sprite = newButt.buttSprite;
     CloseButtSelector();
 }
コード例 #10
0
 protected abstract string ButtChangeText(Creature target, ButtData oldButt);