Enum initiative_core::reference::MagicItem

source ·
pub enum MagicItem {
Show 341 variants AdamantineArmor, Ammunition1, Ammunition2, Ammunition3, AmuletOfHealth, AmuletOfProofAgainstDetectionAndLocation, AmuletOfThePlanes, AnimatedShield, ApparatusOfTheCrab, Armor1, Armor2, Armor3, ArmorOfInvulnerability, ArmorOfResistance, ArmorOfVulnerability, ArrowCatchingShield, ArrowOfSlaying, BagOfBeans, BagOfDevouring, BagOfHolding, BagOfTricksGray, BagOfTricksRust, BagOfTricksTan, BeadOfForce, BeltOfDwarvenkind, BeltOfGiantStrengthHill, BeltOfGiantStrengthStone, BeltOfGiantStrengthFrost, BeltOfGiantStrengthFire, BeltOfGiantStrengthCloud, BeltOfGiantStrengthStorm, BerserkerAxe, BootsOfElvenkind, BootsOfLevitation, BootsOfSpeed, BootsOfStridingAndSpringing, BootsOfTheWinterlands, BowlOfCommandingWaterElementals, BracersOfArchery, BracersOfDefense, BrazierOfCommandingFireElementals, BroochOfShielding, BroomOfFlying, CandleOfInvocation, CapeOfTheMountebank, CarpetOfFlying3x5, CarpetOfFlying4x6, CarpetOfFlying5x7, CarpetOfFlying6x9, CenserOfControllingAirElementals, ChimeOfOpening, CircletOfBlasting, CloakOfArachnida, CloakOfDisplacement, CloakOfElvenkind, CloakOfProtection, CloakOfTheBat, CloakOfTheMantaRay, CrystalBallOfMindReading, CrystalBallOfTelepathy, CrystalBallOfTrueSeeing, CubeOfForce, CubicGate, DaggerOfVenom, DancingSword, DecanterOfEndlessWater, DeckOfIllusions, DeckOfManyThings, Defender, DemonArmor, DimensionalShackles, DragonScaleMailBlack, DragonScaleMailBlue, DragonScaleMailBrass, DragonScaleMailBronze, DragonScaleMailCopper, DragonScaleMailGold, DragonScaleMailGreen, DragonScaleMailRed, DragonScaleMailSilver, DragonScaleMailWhite, DragonSlayer, DustOfDisappearance, DustOfDryness, DustOfSneezingAndChoking, DwarvenPlate, DwarvenThrower, EfficientQuiver, EfreetiBottle, ElementalGemAir, ElementalGemEarth, ElementalGemFire, ElementalGemWater, ElvenChain, EversmokingBottle, EyesOfCharming, EyesOfMinuteSeeing, EyesOfTheEagle, FeatherTokenAnchor, FeatherTokenBird, FeatherTokenFan, FeatherTokenSwanBoat, FeatherTokenTree, FeatherTokenWhip, FigurineOfWondrousPowerBronzeGriffon, FigurineOfWondrousPowerEbonyFly, FigurineOfWondrousPowerGoldenLions, FigurineOfWondrousPowerIvoryGoats, FigurineOfWondrousPowerMarbleElephant, FigurineOfWondrousPowerObsidianSteed, FigurineOfWondrousPowerOnyxDog, FigurineOfWondrousPowerSerpentineOwl, FigurineOfWondrousPowerSilverRaven, FlameTongue, FoldingBoat, FrostBrand, GauntletsOfOgrePower, GemOfBrightness, GemOfSeeing, GiantSlayer, GlamouredStuddedLeatherArmor, GlovesOfMissileSnaring, GlovesOfSwimmingAndClimbing, GogglesOfNight, HammerOfThunderbolts, HandyHaversack, HatOfDisguise, HeadbandOfIntellect, HelmOfBrilliance, HelmOfComprehendingLanguages, HelmOfTelepathy, HelmOfTeleportation, HolyAvenger, HornOfBlasting, HornOfValhallaSilver, HornOfValhallaBrass, HornOfValhallaBronze, HornOfValhallaIron, HorseshoesOfAZephyr, HorseshoesOfSpeed, ImmovableRod, InstantFortress, IounStoneOfAbsorption, IounStoneOfAgility, IounStoneOfAwareness, IounStoneOfFortitude, IounStoneOfGreaterAbsorption, IounStoneOfInsight, IounStoneOfIntellect, IounStoneOfLeadership, IounStoneOfMastery, IounStoneOfProtection, IounStoneOfRegeneration, IounStoneOfReserve, IounStoneOfStrength, IounStoneOfSustenance, IronBandsOfBinding, IronFlask, JavelinOfLightning, LanternOfRevealing, LuckBlade, MaceOfDisruption, MaceOfSmiting, MaceOfTerror, MantleOfSpellResistance, ManualOfBodilyHealth, ManualOfGainfulExercise, ManualOfGolemsClay, ManualOfGolemsFlesh, ManualOfGolemsIron, ManualOfGolemsStone, ManualOfQuicknessOfAction, MarvelousPigments, MedallionOfThoughts, MirrorOfLifeTrapping, MithralArmor, NecklaceOfAdaptation, NecklaceOfFireballs, NecklaceOfPrayerBeads, NineLivesStealer, Oathbow, OilOfEtherealness, OilOfSharpness, OilOfSlipperiness, PearlOfPower, PeriaptOfHealth, PeriaptOfProofAgainstPoison, PeriaptOfWoundClosure, PhilterOfLove, PipesOfHaunting, PipesOfTheSewers, PlateArmorOfEtherealness, PortableHole, PotionOfAnimalFriendship, PotionOfClairvoyance, PotionOfClimbing, PotionOfDiminution, PotionOfFlying, PotionOfGaseousForm, PotionOfGiantStrengthHill, PotionOfGiantStrengthFrost, PotionOfGiantStrengthStone, PotionOfGiantStrengthFire, PotionOfGiantStrengthCloud, PotionOfGiantStrengthStorm, PotionOfGrowth, PotionOfHealingCommon, PotionOfHealingGreater, PotionOfHealingSuperior, PotionOfHealingSupreme, PotionOfHeroism, PotionOfInvisibility, PotionOfMindReading, PotionOfPoison, PotionOfResistanceAcid, PotionOfResistanceCold, PotionOfResistanceFire, PotionOfResistanceForce, PotionOfResistanceLightning, PotionOfResistanceNecrotic, PotionOfResistancePoison, PotionOfResistancePsychic, PotionOfResistanceRadiant, PotionOfResistanceThunder, PotionOfSpeed, PotionOfWaterBreathing, RestorativeOintment, RingOfAnimalInfluence, RingOfDjinniSummoning, RingOfElementalCommandAir, RingOfElementalCommandEarth, RingOfElementalCommandFire, RingOfElementalCommandWater, RingOfEvasion, RingOfFeatherFalling, RingOfFreeAction, RingOfInvisibility, RingOfJumping, RingOfMindShielding, RingOfProtection, RingOfRegeneration, RingOfResistanceAcid, RingOfResistanceCold, RingOfResistanceFire, RingOfResistanceForce, RingOfResistanceLightning, RingOfResistanceNecrotic, RingOfResistancePoison, RingOfResistancePsychic, RingOfResistanceRadiant, RingOfResistanceThunder, RingOfShootingStars, RingOfSpellStoring, RingOfSpellTurning, RingOfSwimming, RingOfTelekinesis, RingOfTheRam, RingOfThreeWishes, RingOfWarmth, RingOfWaterWalking, RingOfXRayVision, RobeOfEyes, RobeOfScintillatingColors, RobeOfStars, RobeOfTheArchmagi, RobeOfUsefulItems, RodOfAbsorption, RodOfAlertness, RodOfLordlyMight, RodOfRulership, RodOfSecurity, RopeOfClimbing, RopeOfEntanglement, ScarabOfProtection, ScimitarOfSpeed, ShieldOfMissileAttraction, SlippersOfSpiderClimbing, SovereignGlue, SpellScrollCantrip, SpellScroll1st, SpellScroll2nd, SpellScroll3rd, SpellScroll4th, SpellScroll5th, SpellScroll6th, SpellScroll7th, SpellScroll8th, SpellScroll9th, SpellguardShield, SphereOfAnnihilation, StaffOfCharming, StaffOfFire, StaffOfFrost, StaffOfHealing, StaffOfPower, StaffOfStriking, StaffOfSwarmingInsects, StaffOfTheMagi, StaffOfThePython, StaffOfTheWoodlands, StaffOfThunderAndLightning, StaffOfWithering, StoneOfControllingEarthElementals, StoneOfGoodLuckLuckstone, SunBlade, SwordOfLifeStealing, SwordOfSharpness, SwordOfWounding, TalismanOfPureGood, TalismanOfTheSphere, TalismanOfUltimateEvil, TomeOfClearThought, TomeOfLeadershipAndInfluence, TomeOfUnderstanding, TridentOfFishCommand, UniversalSolvent, ViciousWeapon, VorpalSword, WandOfBinding, WandOfEnemyDetection, WandOfFear, WandOfFireballs, WandOfLightningBolts, WandOfMagicDetection, WandOfMagicMissiles, WandOfParalysis, WandOfPolymorph, WandOfSecrets, WandOfTheWarMage1, WandOfTheWarMage2, WandOfTheWarMage3, WandOfWeb, WandOfWonder, Weapon1, Weapon2, Weapon3, WellOfManyWorlds, WindFan, WingedBoots, WingsOfFlying, OrbOfDragonkind,
}

Variants§

§

AdamantineArmor

§

Ammunition1

§

Ammunition2

§

Ammunition3

§

AmuletOfHealth

§

AmuletOfProofAgainstDetectionAndLocation

§

AmuletOfThePlanes

§

AnimatedShield

§

ApparatusOfTheCrab

§

Armor1

§

Armor2

§

Armor3

§

ArmorOfInvulnerability

§

ArmorOfResistance

§

ArmorOfVulnerability

§

ArrowCatchingShield

§

ArrowOfSlaying

§

BagOfBeans

§

BagOfDevouring

§

BagOfHolding

§

BagOfTricksGray

§

BagOfTricksRust

§

BagOfTricksTan

§

BeadOfForce

§

BeltOfDwarvenkind

§

BeltOfGiantStrengthHill

§

BeltOfGiantStrengthStone

§

BeltOfGiantStrengthFrost

§

BeltOfGiantStrengthFire

§

BeltOfGiantStrengthCloud

§

BeltOfGiantStrengthStorm

§

BerserkerAxe

§

BootsOfElvenkind

§

BootsOfLevitation

§

BootsOfSpeed

§

BootsOfStridingAndSpringing

§

BootsOfTheWinterlands

§

BowlOfCommandingWaterElementals

§

BracersOfArchery

§

BracersOfDefense

§

BrazierOfCommandingFireElementals

§

BroochOfShielding

§

BroomOfFlying

§

CandleOfInvocation

§

CapeOfTheMountebank

§

CarpetOfFlying3x5

§

CarpetOfFlying4x6

§

CarpetOfFlying5x7

§

CarpetOfFlying6x9

§

CenserOfControllingAirElementals

§

ChimeOfOpening

§

CircletOfBlasting

§

CloakOfArachnida

§

CloakOfDisplacement

§

CloakOfElvenkind

§

CloakOfProtection

§

CloakOfTheBat

§

CloakOfTheMantaRay

§

CrystalBallOfMindReading

§

CrystalBallOfTelepathy

§

CrystalBallOfTrueSeeing

§

CubeOfForce

§

CubicGate

§

DaggerOfVenom

§

DancingSword

§

DecanterOfEndlessWater

§

DeckOfIllusions

§

DeckOfManyThings

§

Defender

§

DemonArmor

§

DimensionalShackles

§

DragonScaleMailBlack

§

DragonScaleMailBlue

§

DragonScaleMailBrass

§

DragonScaleMailBronze

§

DragonScaleMailCopper

§

DragonScaleMailGold

§

DragonScaleMailGreen

§

DragonScaleMailRed

§

DragonScaleMailSilver

§

DragonScaleMailWhite

§

DragonSlayer

§

DustOfDisappearance

§

DustOfDryness

§

DustOfSneezingAndChoking

§

DwarvenPlate

§

DwarvenThrower

§

EfficientQuiver

§

EfreetiBottle

§

ElementalGemAir

§

ElementalGemEarth

§

ElementalGemFire

§

ElementalGemWater

§

ElvenChain

§

EversmokingBottle

§

EyesOfCharming

§

EyesOfMinuteSeeing

§

EyesOfTheEagle

§

FeatherTokenAnchor

§

FeatherTokenBird

§

FeatherTokenFan

§

FeatherTokenSwanBoat

§

FeatherTokenTree

§

FeatherTokenWhip

§

FigurineOfWondrousPowerBronzeGriffon

§

FigurineOfWondrousPowerEbonyFly

§

FigurineOfWondrousPowerGoldenLions

§

FigurineOfWondrousPowerIvoryGoats

§

FigurineOfWondrousPowerMarbleElephant

§

FigurineOfWondrousPowerObsidianSteed

§

FigurineOfWondrousPowerOnyxDog

§

FigurineOfWondrousPowerSerpentineOwl

§

FigurineOfWondrousPowerSilverRaven

§

FlameTongue

§

FoldingBoat

§

FrostBrand

§

GauntletsOfOgrePower

§

GemOfBrightness

§

GemOfSeeing

§

GiantSlayer

§

GlamouredStuddedLeatherArmor

§

GlovesOfMissileSnaring

§

GlovesOfSwimmingAndClimbing

§

GogglesOfNight

§

HammerOfThunderbolts

§

HandyHaversack

§

HatOfDisguise

§

HeadbandOfIntellect

§

HelmOfBrilliance

§

HelmOfComprehendingLanguages

§

HelmOfTelepathy

§

HelmOfTeleportation

§

HolyAvenger

§

HornOfBlasting

§

HornOfValhallaSilver

§

HornOfValhallaBrass

§

HornOfValhallaBronze

§

HornOfValhallaIron

§

HorseshoesOfAZephyr

§

HorseshoesOfSpeed

§

ImmovableRod

§

InstantFortress

§

IounStoneOfAbsorption

§

IounStoneOfAgility

§

IounStoneOfAwareness

§

IounStoneOfFortitude

§

IounStoneOfGreaterAbsorption

§

IounStoneOfInsight

§

IounStoneOfIntellect

§

IounStoneOfLeadership

§

IounStoneOfMastery

§

IounStoneOfProtection

§

IounStoneOfRegeneration

§

IounStoneOfReserve

§

IounStoneOfStrength

§

IounStoneOfSustenance

§

IronBandsOfBinding

§

IronFlask

§

JavelinOfLightning

§

LanternOfRevealing

§

LuckBlade

§

MaceOfDisruption

§

MaceOfSmiting

§

MaceOfTerror

§

MantleOfSpellResistance

§

ManualOfBodilyHealth

§

ManualOfGainfulExercise

§

ManualOfGolemsClay

§

ManualOfGolemsFlesh

§

ManualOfGolemsIron

§

ManualOfGolemsStone

§

ManualOfQuicknessOfAction

§

MarvelousPigments

§

MedallionOfThoughts

§

MirrorOfLifeTrapping

§

MithralArmor

§

NecklaceOfAdaptation

§

NecklaceOfFireballs

§

NecklaceOfPrayerBeads

§

NineLivesStealer

§

Oathbow

§

OilOfEtherealness

§

OilOfSharpness

§

OilOfSlipperiness

§

PearlOfPower

§

PeriaptOfHealth

§

PeriaptOfProofAgainstPoison

§

PeriaptOfWoundClosure

§

PhilterOfLove

§

PipesOfHaunting

§

PipesOfTheSewers

§

PlateArmorOfEtherealness

§

PortableHole

§

PotionOfAnimalFriendship

§

PotionOfClairvoyance

§

PotionOfClimbing

§

PotionOfDiminution

§

PotionOfFlying

§

PotionOfGaseousForm

§

PotionOfGiantStrengthHill

§

PotionOfGiantStrengthFrost

§

PotionOfGiantStrengthStone

§

PotionOfGiantStrengthFire

§

PotionOfGiantStrengthCloud

§

PotionOfGiantStrengthStorm

§

PotionOfGrowth

§

PotionOfHealingCommon

§

PotionOfHealingGreater

§

PotionOfHealingSuperior

§

PotionOfHealingSupreme

§

PotionOfHeroism

§

PotionOfInvisibility

§

PotionOfMindReading

§

PotionOfPoison

§

PotionOfResistanceAcid

§

PotionOfResistanceCold

§

PotionOfResistanceFire

§

PotionOfResistanceForce

§

PotionOfResistanceLightning

§

PotionOfResistanceNecrotic

§

PotionOfResistancePoison

§

PotionOfResistancePsychic

§

PotionOfResistanceRadiant

§

PotionOfResistanceThunder

§

PotionOfSpeed

§

PotionOfWaterBreathing

§

RestorativeOintment

§

RingOfAnimalInfluence

§

RingOfDjinniSummoning

§

RingOfElementalCommandAir

§

RingOfElementalCommandEarth

§

RingOfElementalCommandFire

§

RingOfElementalCommandWater

§

RingOfEvasion

§

RingOfFeatherFalling

§

RingOfFreeAction

§

RingOfInvisibility

§

RingOfJumping

§

RingOfMindShielding

§

RingOfProtection

§

RingOfRegeneration

§

RingOfResistanceAcid

§

RingOfResistanceCold

§

RingOfResistanceFire

§

RingOfResistanceForce

§

RingOfResistanceLightning

§

RingOfResistanceNecrotic

§

RingOfResistancePoison

§

RingOfResistancePsychic

§

RingOfResistanceRadiant

§

RingOfResistanceThunder

§

RingOfShootingStars

§

RingOfSpellStoring

§

RingOfSpellTurning

§

RingOfSwimming

§

RingOfTelekinesis

§

RingOfTheRam

§

RingOfThreeWishes

§

RingOfWarmth

§

RingOfWaterWalking

§

RingOfXRayVision

§

RobeOfEyes

§

RobeOfScintillatingColors

§

RobeOfStars

§

RobeOfTheArchmagi

§

RobeOfUsefulItems

§

RodOfAbsorption

§

RodOfAlertness

§

RodOfLordlyMight

§

RodOfRulership

§

RodOfSecurity

§

RopeOfClimbing

§

RopeOfEntanglement

§

ScarabOfProtection

§

ScimitarOfSpeed

§

ShieldOfMissileAttraction

§

SlippersOfSpiderClimbing

§

SovereignGlue

§

SpellScrollCantrip

§

SpellScroll1st

§

SpellScroll2nd

§

SpellScroll3rd

§

SpellScroll4th

§

SpellScroll5th

§

SpellScroll6th

§

SpellScroll7th

§

SpellScroll8th

§

SpellScroll9th

§

SpellguardShield

§

SphereOfAnnihilation

§

StaffOfCharming

§

StaffOfFire

§

StaffOfFrost

§

StaffOfHealing

§

StaffOfPower

§

StaffOfStriking

§

StaffOfSwarmingInsects

§

StaffOfTheMagi

§

StaffOfThePython

§

StaffOfTheWoodlands

§

StaffOfThunderAndLightning

§

StaffOfWithering

§

StoneOfControllingEarthElementals

§

StoneOfGoodLuckLuckstone

§

SunBlade

§

SwordOfLifeStealing

§

SwordOfSharpness

§

SwordOfWounding

§

TalismanOfPureGood

§

TalismanOfTheSphere

§

TalismanOfUltimateEvil

§

TomeOfClearThought

§

TomeOfLeadershipAndInfluence

§

TomeOfUnderstanding

§

TridentOfFishCommand

§

UniversalSolvent

§

ViciousWeapon

§

VorpalSword

§

WandOfBinding

§

WandOfEnemyDetection

§

WandOfFear

§

WandOfFireballs

§

WandOfLightningBolts

§

WandOfMagicDetection

§

WandOfMagicMissiles

§

WandOfParalysis

§

WandOfPolymorph

§

WandOfSecrets

§

WandOfTheWarMage1

§

WandOfTheWarMage2

§

WandOfTheWarMage3

§

WandOfWeb

§

WandOfWonder

§

Weapon1

§

Weapon2

§

Weapon3

§

WellOfManyWorlds

§

WindFan

§

WingedBoots

§

WingsOfFlying

§

OrbOfDragonkind

Implementations§

source§

impl MagicItem

source

pub fn get_words() -> impl Iterator<Item = &'static str>

source

pub fn get_name(&self) -> &'static str

source

pub fn get_output(&self) -> &'static str

source

pub fn parse_cs(input: &str) -> Result<Self, ()>

Trait Implementations§

source§

impl Clone for MagicItem

source§

fn clone(&self) -> MagicItem

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MagicItem

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MagicItem

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromStr for MagicItem

§

type Err = ()

The associated error which can be returned from parsing.
source§

fn from_str(input: &str) -> Result<MagicItem, ()>

Parses a string s to return a value of this type. Read more
source§

impl PartialEq for MagicItem

source§

fn eq(&self, other: &MagicItem) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for MagicItem

source§

impl StructuralPartialEq for MagicItem

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V