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())); }
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())); }
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()); } }
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); }
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())); }
protected override string GetVariable() { return(flags.ToString()); }