コード例 #1
0
 private void ChangeLockState(CommandParameters commandParameters, bool locked)
 {
     string[]     splitStringParams = commandParameters.stringParam.Split(' ');
     Objects.Door doorToChange      = null;
     doorToChange = currentGame.findDoor(doorToChange, currentGame.currentRoom, splitStringParams[0]);
     if (doorToChange == null)
     {
         msg("\nI'm sorry I can't see any such door"); return;
     }
     if (doorToChange.locked == locked)
     {
         msg("\nThe door is already " + (locked ? "locked" : "unlocked")); return;
     }
     if (commandParameters.currentGame.player.inventory.Contains(doorToChange.keyObject))
     {
         doorToChange.locked = locked;
         msg("\nYou " + (locked ? "lock" : "unlock") + " the door");
     }
 }
コード例 #2
0
 public void open(CommandParameters commandParameters)
 {
     if (commandParameters.currentRoom.ObjectName == "hallway")
     {
         if (parentsHaveLeft)
         {
             msg(messages.messages[248]);
             ministeratdoor = true;
         }
         else
         {
             msg(messages.messages[249]);
         }
     }
     else
     {
         standardCommandList.open(commandParameters);
     }
 }
コード例 #3
0
        public void inventory(CommandParameters commandParameters)
        {
            Character requestedChar = (Character)commandParameters.commandObjects[1] != null ? (Character)commandParameters.commandObjects[1] : currentGame.player;

            commandParameters.gameObjects["char1"] = requestedChar;

            msg("\n[char1.alias.uf] <replace,are,char1> carrying :-\n");
            if (requestedChar.inventory.Count == 0)
            {
                msg("Nothing\n"); return;
            }

            foreach (GameObject item in requestedChar.inventory)
            {
                if (item != null)
                {
                    msg(item.ObjectName + "\n");
                }
            }
            msg("\n");
        }
コード例 #4
0
        public void look(CommandParameters commandParameters)
        {
            msg(commandParameters, new msgParams("You are in the [currentRoom.ObjectName]\n"));
            msg("You can see\n");


            foreach (KeyValuePair <string, GameObject> gameObject in commandParameters.currentRoom.contents)
            {
                msg(null, new msgParams("A " + gameObject.Value.ObjectName + "\n", false, false, Color.Blue));
            }

            msg("\n");

            foreach (Character character in commandParameters.currentRoom.peoplePresent)
            {
                commandParameters.gameObjects["char1"] = character;
                msg(commandParameters, new msgParams("[char1.alias.uf]\n", false, false, Color.Green));
            }

            if (commandParameters.currentRoom.exits.Count == 0)
            {
                msg("\nThere are no exits");
            }
            else
            {
                foreach (KeyValuePair <Rooms.RoomExit, Rooms.RoomBase> kvp in commandParameters.currentRoom.exits)
                {
                    if (kvp.Key.hasDoor && kvp.Key.door.closed)
                    {
                        msg(string.Format("\nThere is a closed door to the {0}", kvp.Key.direction));
                    }
                    else
                    {
                        msg(string.Format("\nYou can go {0} to the {1}", kvp.Key.direction, kvp.Value.ObjectName));
                    }
                }
            }
        }
コード例 #5
0
 public void rub(CommandParameters commandParameters)
 {
     if (commandParameters.commandObjects[1].GetType() == typeof(Characters.mother))
     {
         if (commandParameters.commandObjects[2].GetType() == typeof(BodyParts.ass))
         {
             msg(messages.messages[207]);
             rubbedMothersBum = true;
         }
         if (commandParameters.commandObjects[2].GetType() == typeof(BodyParts.t**s))
         {
             if (rubbedMothersBum)
             {
                 msg(messages.messages[206]);
                 rubbedMothersTits = true;
             }
             else
             {
                 msg(messages.messages[205]);
             }
         }
     }
 }
コード例 #6
0
 private void ChangeDoorState(CommandParameters commandParameters, string[] splitParams, bool closed)
 {
     if (splitParams.Length == 2)
     {
         if (currentGame.currentRoom.exits.Where(p => p.Key.hasDoor == true).Count() > 1)
         {
             msg("\nYou really need to tell me which door to " + (closed ? "close" : "open"));
             return;
         }
         else
         {
             Objects.Door doorToChange = currentGame.currentRoom.exits.Where(p => p.Key.hasDoor == true).First().Key.door;
             if (doorToChange.locked)
             {
                 msg("\nThis door is locked"); return;
             }
             doorToChange.closed = closed;
             msg("\nYou " + (closed?"close":"open") + " the door");
             return;
         }
     }
     else
     {
         Objects.Door doorToChange = null;
         doorToChange = currentGame.findDoor(doorToChange, currentGame.currentRoom, splitParams[0]);
         if (doorToChange == null)
         {
             msg("\nI'm sorry I can't see any such door"); return;
         }
         if (doorToChange.locked)
         {
             msg("\nThis door is locked"); return;
         }
         doorToChange.closed = closed;
         msg("\nYou " + (closed ? "close" : "open") + " the door");
     }
 }
コード例 #7
0
        public void give(CommandParameters commandParameters)
        {
            GameObject objectToGive    = (GameObject)commandParameters.commandObjects[1];
            Character  firstCharacter  = (Character)commandParameters.commandObjects[0];
            Character  secondCharacter = (Character)commandParameters.commandObjects[2];

            commandParameters.gameObjects["char1"]   = firstCharacter;
            commandParameters.gameObjects["char2"]   = secondCharacter;
            commandParameters.gameObjects["object1"] = objectToGive;

            //D***o
            if (secondCharacter.HasPussy && secondCharacter.Sexuality == Sexuality.s**t && objectToGive.objectType == ObjectType.D***o)
            {
                msg("\n");

                msg("As you hand the vibrator to [char2.Firstname.uf], she grabs it, fondles it and then " +
                    "slams it deep inside her c**t moaning tremendously,she ignores you completely " +
                    "as she continues masturbating with the [object1.Description]. You wonder how in the " +
                    "world she can take that whole thing inside her! Suddenly she lets out a long " +
                    "yowling sound and shudders violently, after a few minutes, she comes down " +
                    "from her o****m, she says  'Thank you, I needed that!' ");
            }
            //End D***o
        }
コード例 #8
0
 public void exits(CommandParameters commandParameters)
 {
 }
コード例 #9
0
 public void squeeze(CommandParameters commandParameters)
 {
 }
コード例 #10
0
 public void remove(CommandParameters commandParameters)
 {
 }
コード例 #11
0
 public void unlock(CommandParameters commandParameters)
 {
     ChangeLockState(commandParameters, false);
 }
コード例 #12
0
 public void random_shemale(CommandParameters commandParameters)
 {
 }
コード例 #13
0
 public void rub(CommandParameters commandParameters)
 {
 }
コード例 #14
0
 public void i(CommandParameters commandParameters)
 {
     inventory(commandParameters);
 }
コード例 #15
0
 public void proposeto(CommandParameters commandParameters)
 {
 }
コード例 #16
0
 public void examine(CommandParameters commandParameters)
 {
 }
コード例 #17
0
 public void clothing(CommandParameters commandParameters)
 {
 }
コード例 #18
0
 public void kiss(CommandParameters commandParameters)
 {
 }
コード例 #19
0
 public void use(CommandParameters commandParameters)
 {
 }
コード例 #20
0
 public void get_on(CommandParameters commandParameters)
 {
 }
コード例 #21
0
 public void look_at(CommandParameters commandParameters)
 {
 }
コード例 #22
0
 public void call(CommandParameters commandParameters)
 {
 }
コード例 #23
0
 public void marry(CommandParameters commandParameters)
 {
 }
コード例 #24
0
 public virtual void Use(Commands.CommandParameters commandParameters)
 {
 }
コード例 #25
0
 public void listchars(CommandParameters commandParameters)
 {
 }
コード例 #26
0
 public void msg(CommandParameters commandParameters, msgParams messageParams)
 {
     messageParams.commandParameters = commandParameters;
     messageHandler.Invoke(messageParams);
 }
コード例 #27
0
 public void random_herm(CommandParameters commandParameters)
 {
 }
コード例 #28
0
 public void lockCMD(CommandParameters commandParameters)
 {
     ChangeLockState(commandParameters, true);
 }
コード例 #29
0
 public void put_away(CommandParameters commandParameters)
 {
 }
コード例 #30
0
 public void wear(CommandParameters commandParameters)
 {
 }