Esempio n. 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");
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 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");
        }
Esempio 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));
                    }
                }
            }
        }
Esempio n. 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]);
             }
         }
     }
 }
Esempio n. 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");
     }
 }
Esempio n. 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
        }
Esempio n. 8
0
 public void exits(CommandParameters commandParameters)
 {
 }
Esempio n. 9
0
 public void squeeze(CommandParameters commandParameters)
 {
 }
Esempio n. 10
0
 public void remove(CommandParameters commandParameters)
 {
 }
Esempio n. 11
0
 public void unlock(CommandParameters commandParameters)
 {
     ChangeLockState(commandParameters, false);
 }
Esempio n. 12
0
 public void random_shemale(CommandParameters commandParameters)
 {
 }
Esempio n. 13
0
 public void rub(CommandParameters commandParameters)
 {
 }
Esempio n. 14
0
 public void i(CommandParameters commandParameters)
 {
     inventory(commandParameters);
 }
Esempio n. 15
0
 public void proposeto(CommandParameters commandParameters)
 {
 }
Esempio n. 16
0
 public void examine(CommandParameters commandParameters)
 {
 }
Esempio n. 17
0
 public void clothing(CommandParameters commandParameters)
 {
 }
Esempio n. 18
0
 public void kiss(CommandParameters commandParameters)
 {
 }
Esempio n. 19
0
 public void use(CommandParameters commandParameters)
 {
 }
Esempio n. 20
0
 public void get_on(CommandParameters commandParameters)
 {
 }
Esempio n. 21
0
 public void look_at(CommandParameters commandParameters)
 {
 }
Esempio n. 22
0
 public void call(CommandParameters commandParameters)
 {
 }
Esempio n. 23
0
 public void marry(CommandParameters commandParameters)
 {
 }
Esempio n. 24
0
 public virtual void Use(Commands.CommandParameters commandParameters)
 {
 }
Esempio n. 25
0
 public void listchars(CommandParameters commandParameters)
 {
 }
Esempio n. 26
0
 public void msg(CommandParameters commandParameters, msgParams messageParams)
 {
     messageParams.commandParameters = commandParameters;
     messageHandler.Invoke(messageParams);
 }
Esempio n. 27
0
 public void random_herm(CommandParameters commandParameters)
 {
 }
Esempio n. 28
0
 public void lockCMD(CommandParameters commandParameters)
 {
     ChangeLockState(commandParameters, true);
 }
Esempio n. 29
0
 public void put_away(CommandParameters commandParameters)
 {
 }
Esempio n. 30
0
 public void wear(CommandParameters commandParameters)
 {
 }