tiger-lib 1.13.0

Library used by the tools ck3-tiger, vic3-tiger, and imperator-tiger. This library holds the bulk of the code for them. It can be built either for ck3-tiger with the feature ck3, or for vic3-tiger with the feature vic3, or for imperator-tiger with the feature imperator, but not both at the same time.
Documentation
//! A helper type used for effects and triggers, which tracks what kind of tooltipping to expect.
//! This affects which errors are logged about them. Some things only matter if an item is being
//! tooltipped.

#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
pub enum Tooltipped {
    No,
    Yes,
    /// for triggers
    FailuresOnly,
    /// for effects
    Past,
    #[cfg(feature = "hoi4")]
    /// for triggers that pretend to be inside a `custom_override_tooltip`
    Inner,
}

impl Tooltipped {
    pub fn is_tooltipped(self) -> bool {
        !matches!(self, Tooltipped::No)
    }
}