[][src]Enum phasmo_rs::phasmo::Ghost

pub enum Ghost {
    Spirit,
    Wraith,
    Phantom,
    Poltergeist,
    Banshee,
    Jinn,
    Mare,
    Revenant,
    Shade,
    Demon,
    Yurei,
    Oni,
}

Variants

Spirit

👻

🕵️ 📻👣📖

💪 (none)

😩 🚬 Smudge Sticks stop it's attacks for a long time


Wraith

💀👻

🕵️ 👣🥶📻

💪 🪁 can fly
💪 🪁 leaves no footsteps
📝 🧂 except it leaves a step mark on salt
💪 🧱 may move through walls
💪 🪑 may change the Ghost Room more frequently

😩 🧂 stops attacking when in contact with salt
📝 🧂 but it becomes more agitated


Phantom

🥛👻

🕵️ 📡🥶✨

💪 👀 looking at him drops your sanity
💪 🧱 can go interact with anyone, even behind walls
📝 (ie. random people at random places may detect Emf)

😩 📸 dissapears if it's Shadow Form picture's taken
📝 (📸 when hunting, camera's flash won't stop it)
📝 🐌 it's not so fast


Poltergeist

👻 (ノ◕ヮ◕)ノ︵ ┻━┻

🕵️ 👣✨📻

💪 (🤹 can throw/levitate many objects at once)
📝 noise from many moved objects can be a consequence

😩 (🧹 becomes almost innefective in an empty room)


Banshee

🌬️

🕵️ 📡👣🥶

💪 🎯 1 person is targeted at a time
💪 🎯 can start the hunt anytime

😩 ✝️ is feared (and it's less agressive nearby one)


Jinn

🧞

🕵️ 📡✨📻

💪 ⏩ moves fast if victim is far away
📝 ⚔️ and it's terriorial - attacks when threatened

😩 🔌 when off, Jinn cannot use it's "ability"
📝 (🔌 counts only as the general power source)


Mare

🖤👻

🕵️ 🥶✨📻

💪 🕶️ attacks more in the dark
📝 🔌 often turns lights / power source off

😩 🕯️ attacks less in the light


Revenant

🧟👻

🕵️ 📡👣📖

💪 ⏩ fastests ghost when hunting
💪 ⚔️ attacks regardless of sanity during hunt

😩 🐌 slow otherwise, or when people are hiding


Shade

😳👻

🕵️ 📡✨📖

💪 (⚔️ hunts more often on low sanity)
📝 prefers to target loners
📝 "being alone" means "being alone in a room"

😩 👪 won't hunt grouped people
📝 will hardly interact with grouped people


Demon

👿

🕵️ 🥶📖📻

💪 ⚔️ very hostile, attacks often

😩 (🎲 Ouija doesn't lower sanity)
📝 ✝️ is recommended to lower hunts


Yurei

🎎👻

🕵️ 🥶✨📖

💪 😨 fastest sanity drainer

😩 🚬 Smudge Sticks can affect it's room
📝 prevents it from wandering for a long time


Oni

👹

🕵️ 📡📖📻

💪 🏃 active when nearby it's prey
📝 also moves objects fast

😩 (none)
📝 it's very active, and may show himself early
📝 likes to wander close to it's room
📝 🙈 hiding in closet may be effective


Implementations

impl Ghost[src]

pub fn description(&self) -> &'static str[src]

pub fn evidences(self) -> impl Iterator<Item = Evidence>[src]

pub fn caution_features(self) -> impl Iterator<Item = CautionFeature>[src]

pub fn useful_features(self) -> impl Iterator<Item = UsefulFeature>[src]

pub fn is_valid(
    self,
    required_evidences: &[Evidence],
    forbid_evidences: &[Evidence]
) -> bool
[src]

pub fn filter_by_required_evidences(
    ghosts: impl Iterator<Item = Self>,
    required_evidences: &[Evidence]
) -> Vec<Ghost>
[src]

pub fn filter_by_forbid_evidences(
    ghosts: impl Iterator<Item = Self>,
    forbid_evidences: &[Evidence]
) -> Vec<Ghost>
[src]

pub fn filter_by_caution_features(
    ghosts: impl Iterator<Item = Self>
) -> HashSet<CautionFeature>
[src]

pub fn filter_by_useful_features(
    ghosts: impl Iterator<Item = Self>
) -> HashSet<UsefulFeature>
[src]

Trait Implementations

impl Clone for Ghost[src]

impl Copy for Ghost[src]

impl Debug for Ghost[src]

impl Display for Ghost[src]

impl Eq for Ghost[src]

impl FilterBy<Evidence> for Ghost[src]

impl FilterBy<Feature> for Ghost[src]

impl Hash for Ghost[src]

impl PartialEq<Ghost> for Ghost[src]

impl StructuralEq for Ghost[src]

impl StructuralPartialEq for Ghost[src]

Auto Trait Implementations

impl RefUnwindSafe for Ghost

impl Send for Ghost

impl Sync for Ghost

impl Unpin for Ghost

impl UnwindSafe for Ghost

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AnyEq for T where
    T: PartialEq<T> + Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.