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"); } }
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); } }
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"); }
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)); } } } }
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]); } } } }
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"); } }
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 }
public void exits(CommandParameters commandParameters) { }
public void squeeze(CommandParameters commandParameters) { }
public void remove(CommandParameters commandParameters) { }
public void unlock(CommandParameters commandParameters) { ChangeLockState(commandParameters, false); }
public void random_shemale(CommandParameters commandParameters) { }
public void rub(CommandParameters commandParameters) { }
public void i(CommandParameters commandParameters) { inventory(commandParameters); }
public void proposeto(CommandParameters commandParameters) { }
public void examine(CommandParameters commandParameters) { }
public void clothing(CommandParameters commandParameters) { }
public void kiss(CommandParameters commandParameters) { }
public void use(CommandParameters commandParameters) { }
public void get_on(CommandParameters commandParameters) { }
public void look_at(CommandParameters commandParameters) { }
public void call(CommandParameters commandParameters) { }
public void marry(CommandParameters commandParameters) { }
public virtual void Use(Commands.CommandParameters commandParameters) { }
public void listchars(CommandParameters commandParameters) { }
public void msg(CommandParameters commandParameters, msgParams messageParams) { messageParams.commandParameters = commandParameters; messageHandler.Invoke(messageParams); }
public void random_herm(CommandParameters commandParameters) { }
public void lockCMD(CommandParameters commandParameters) { ChangeLockState(commandParameters, true); }
public void put_away(CommandParameters commandParameters) { }
public void wear(CommandParameters commandParameters) { }