예제 #1
0
 protected override string GetVariable()
 {
     return(String.Format("Ice? {0}, ?? {1}, Blue? {2}, Toggle? {3}, {4}",
                          frozen ? "yes" : "no",
                          unknown ? "yes" : "no",
                          blueSwitch ? "yes" : "no",
                          toggle ? "yes" : "no",
                          flag.ToString()));
 }
예제 #2
0
        protected override string GetVariable()
        {
            string dialogText;

            dialogText = ActorDialog.Get(0x011B, dialog);
            return(String.Format("Type: {0}, Text: {1}, {2}",
                                 (naviIcon) ? "C-up" : "Pop-up",
                                 (dialogText.Length < TEXT_CAP) ? dialogText : dialogText.Substring(0, TEXT_CAP),
                                 flag.ToString()));
        }
예제 #3
0
        protected override string GetVariable()
        {
            switch (type)
            {
            case 0x00:     //0x03C0
                return(flags.ToString());

            case 0x04:     //0x1000
                return(String.Format("Light: {0}, {1}", torchCount, flags.ToString()));

            case 0x08:     //0x2000
                return(flags.ToString());

            case 0x09:
                return(flags.ToString());

            default:
                return(base.GetVariable());
            }
        }
예제 #4
0
        protected override string GetVariable()
        {
            string result;
            int    timer;

            timer = (timerSecs > 600)? 600: timerSecs;

            if (isTimer)
            {
                result = String.Format("Room Clear Time: {0}:{1} ",
                                       (timer / 60).ToString("D2"),
                                       (timer % 60).ToString("D2"));
            }
            else
            {
                result = "Clear to Switch Flag converter ";
            }
            result += flag.ToString();
            return(result);
        }
예제 #5
0
        protected override string GetVariable()
        {
            string typeString;
            string textDialog;

            switch (type)
            {
            case 0: typeString = "Checkable"; break;

            case 1: typeString = "Instant"; break;

            case 2: typeString = "Disappears on Switch"; break;

            default: typeString = "Z-target, no text"; break;
            }

            textDialog = ActorDialog.Get(0x0185, dialog);
            return(string.Format("{0}, dialog {1}, {2}",
                                 typeString,
                                 (textDialog.Length < 40)? textDialog: textDialog.Substring(0, 40),
                                 flag.ToString()));
        }
예제 #6
0
 protected override string GetVariable()
 {
     return(flags.ToString());
 }