Esempio n. 1
0
        // total: 11
        private List <Choice> RoomActions()
        {
            List <Choice> actions = new List <Choice>();

            //bed
            actions.Add(new Choice("profess love", () => {
                CheckRepeat("loveBed");
                time         = time.AddMinutes(60);
                lastActionID = "loveBed";
            }));
            //closet
            //black screen - options to hide(repeat) or leave
            actions.Add(new Choice("change clothes", () => {
                CheckRepeat("clothes");
                time         = time.AddMinutes(10);
                lastActionID = "clothes";
            }));
            actions.Add(new Choice("hide", () => {
                time = time.AddMinutes(30);
                Panel.SetActive(true);
                Dialogue a = new Dialogue("<inside the Closet>", new int[] { 13, 14 });
                DialogueMenu(a);
                lastActionID = "hide";
            }));
            //hide-followup
            actions.Add(new Choice("come out of the closet", () => {
                Panel.SetActive(false);
                killFactor  -= 1;
                lastActionID = "LGBT";
            }));
            actions.Add(new Choice("stay", () => {
                CheckRepeat("hide");
                time       = time.AddMinutes(30);
                Dialogue a = new Dialogue("<inside the Closet>", new int[] { 13, 14 });
                DialogueMenu(a);
                lastActionID = "hide";
            }));
            //pc
            actions.Add(new Choice("work", () => {
                CheckRepeat("work");
                Dialogue a = new Dialogue("work for...", new int[] { 17, 18, 19, 20 });
                DialogueMenu(a);
                lastActionID = "work";
            }));
            actions.Add(new Choice("call friend", () => {
                CheckRepeat("call");
                DialogueMenu(t.getCallFriendDialogue());
                lastActionID = "call";
            }));
            //work-followup
            actions.Add(new Choice("30 Min", () => {
                time        = time.AddMinutes(30);
                workFactor += 0.5;
            }));
            actions.Add(new Choice("1 Hour", () => {
                time        = time.AddMinutes(60);
                workFactor += 1;
            }));
            actions.Add(new Choice("2 Hours", () => {
                time        = time.AddMinutes(30 * 4);
                workFactor += 2;
            }));
            actions.Add(new Choice("4 Hours", () => {
                time        = time.AddMinutes(30 * 8);
                workFactor += 4;
            }));
            return(actions);
        }