Exemple #1
0
    private static RoomObjectBlueprint ControlRoomMicrophoneBlueprint()
    {
        RoomObjectBlueprint blueprint = new RoomObjectBlueprint(RoomObjectName.ControlRoomMicrophone)
                                        .WithName("Microphone")
                                        .WithMenuDescription("Test one, two")
                                        .WithObjectInteractions(new ObjectInteraction[]
        {
            ObjectInteraction.Create(ObjectInteractionType.Perform, "Speak", ObjectInteractionCharacterRole.CharacterAtRoomObject)
            .AddInteractionStep(InteractionStep.Create().WithSequenceLine("Everyone is listening to the instructions"))
        })
                                        .WithCharacterRoutines(new CharacterRoutineType[]
        {
            CharacterRoutineType.Create(CharacterRoutineTypeName.Sing)
        });

        return(blueprint);
    }
Exemple #2
0
    private static RoomObjectBlueprint TelephoneBlueprint()
    {
        RoomObjectBlueprint blueprint = new RoomObjectBlueprint(RoomObjectName.Telephone)
                                        .WithName("Telephone")
                                        .WithMenuDescription("A classic black telephone")
                                        .WithObjectInteractions(new ObjectInteraction[]
        {
            ObjectInteraction.Create(ObjectInteractionType.Contact, "Call the police")
            .AddInteractionStep(InteractionStep.Create().WithSequenceLine("You asked the police to removed the loud, beared hippies from your studio")),
            ObjectInteraction.Create(ObjectInteractionType.Contact, "Order a pizza")
            .AddInteractionStep(InteractionStep.Create().WithSequenceLine("You ordered a pizza for the whole band")),
            ObjectInteraction.Create(ObjectInteractionType.Contact, "Organise a tour")
            .AddInteractionStep(InteractionStep.Create().WithSequenceLine("The band is going on tour again!"))
        })
                                        .WithCharacterRoutines(new CharacterRoutineType[]
        {
            CharacterRoutineType.Create(CharacterRoutineTypeName.MakePhoneCall)
        });

        return(blueprint);
    }