public static void ProgressWithHints(ZoneType _zone = ZoneType.Void, bool justUnlocked = false) { int duration = justUnlocked ? 300 : 240; if (SeedController.HintsDisabled || InterOp.get_game_state() != GameState.Game) { if (!justUnlocked) { AHK.SendPlainText(new PlainText(SeedController.Progress, duration), justUnlocked); } return; } var zone = _zone == ZoneType.Void ? CurrentZone : _zone; var msg = getZoneHintMessage(zone, justUnlocked); if (justUnlocked) { msg = $"Bought hint: {msg}"; } else { msg = $"{SeedController.Progress}\n{msg}{GetKeySkillHints()}"; } AHK.SendPlainText(new PlainText(msg, duration), justUnlocked); }
public static void OnLupoState(UberId id) { if (SeedController.HintsDisabled) { return; } if (LupoZoneIds.ContainsKey(id)) { ProgressWithHints(LupoZoneIds[id], true); } else if (id.ID == 41666) { AHK.SendPlainText(new PlainText($"Bought Hint: {GetKeySkillHintTwo()}", 300)); } }
public static void OnGrantCheckable(CheckableHint ch) { CheckableHints[ch].State().Write(new UberValue(true)); AHK.SendPlainText(new PlainText($"Bought Hint: {ch.Hint}", 300)); }