Browse Source

Stackable Stuffs (#84)

pbs
reason 5 years ago
committed by Gogs
parent
commit
e803c23ec3
  1. 149
      src/entity/item/tool.rs

149
src/entity/item/tool.rs

@ -178,7 +178,6 @@ pub enum ToolType {
TeamPoints10000,
}
impl ToolType {
pub fn is_stackable(&self) -> bool {
match self {
@ -195,7 +194,6 @@ impl ToolType {
ToolType::Antiparalysis => true,
ToolType::Telepipe => true,
ToolType::TrapVision => true,
ToolType::ScapeDoll => false,
ToolType::Monogrinder => true,
ToolType::Digrinder => true,
ToolType::Trigrinder => true,
@ -206,156 +204,11 @@ impl ToolType {
ToolType::TpMaterial => true,
ToolType::DefMaterial => true,
ToolType::LuckMaterial => true,
ToolType::CellofMag502 => true,
ToolType::CellofMag213 => true,
ToolType::PartsofRobochao => true,
ToolType::HeartofOpaOpa => true,
ToolType::HeartofPian => true,
ToolType::HeartofChao => true,
ToolType::SorcerersRightArm => true,
ToolType::SbeatsArms => true,
ToolType::ParmsArms => true,
ToolType::DelsabersRightArm => true,
ToolType::BringersRightArm => true,
ToolType::DelsabersLeftArm => true,
ToolType::SredsArms => true,
ToolType::DragonsClaw => true,
ToolType::HildebearsHead => true,
ToolType::HildebluesHead => true,
ToolType::PartsofBaranz => true,
ToolType::BelrasRightArm => true,
ToolType::GiGuesbody => true,
ToolType::SinowBerillsArms => true,
ToolType::GrassAssassinsArms => true,
ToolType::BoomasRightArm => true,
ToolType::GoboomasRightArm => true,
ToolType::GigoboomasRightArm => true,
ToolType::GalGryphonsWing => true,
ToolType::RappysWing => true,
ToolType::CladdingofEpsilon => true,
ToolType::DeRolLeShell => true,
ToolType::BerillPhoton => true,
ToolType::Parasiticgeneflow => true,
ToolType::MagicStoneiritista => true,
ToolType::Blueblackstone => true,
ToolType::Syncesta => true,
ToolType::MagicWater => true,
ToolType::ParasiticcellTypeD => true,
ToolType::MagicrockheartKey => true,
ToolType::Magicrockmoola => true,
ToolType::StarAmplifier => true,
ToolType::BookofHitogata => true,
ToolType::HeartofChuChu => true,
ToolType::PartsofEggBlaster => true,
ToolType::HeartofAngel => true,
ToolType::HeartofDevil => true,
ToolType::KitofHamburger => true,
ToolType::PanthersSpirit => true,
ToolType::KitofMark3 => true,
ToolType::KitofMasterSystem => true,
ToolType::KitofGenesis => true,
ToolType::KitofSegaSaturn => true,
ToolType::KitofDreamcast => true,
ToolType::AmplifierofResta => true,
ToolType::AmplifierofAnti => true,
ToolType::AmplifierofShifta => true,
ToolType::AmplifierofDeband => true,
ToolType::AmplifierofFoie => true,
ToolType::AmplifierofGifoie => true,
ToolType::AmplifierofRafoie => true,
ToolType::AmplifierofBarta => true,
ToolType::AmplifierofGibarta => true,
ToolType::AmplifierofRabarta => true,
ToolType::AmplifierofZonde => true,
ToolType::AmplifierofGizonde => true,
ToolType::AmplifierofRazonde => true,
ToolType::AmplifierofRed => true,
ToolType::AmplifierofBlue => true,
ToolType::AmplifierofYellow => true,
ToolType::HeartofKapuKapu => true,
ToolType::PhotonBooster => true,
ToolType::Addslot => true,
ToolType::PhotonDrop => true,
ToolType::PhotonSphere => true,
ToolType::PhotonCrystal => true,
ToolType::SecretTicket => true,
ToolType::PhotonTicket => true,
ToolType::BookofKatana1 => true,
ToolType::BookofKatana2 => true,
ToolType::BookofKatana3 => true,
ToolType::WeaponsBronzeBadge => true,
ToolType::WeaponsSilverBadge => true,
ToolType::WeaponsGoldBadge => true,
ToolType::WeaponsCrystalBadge => true,
ToolType::WeaponsSteelBadge => true,
ToolType::WeaponsAluminumBadge => true,
ToolType::WeaponsLeatherBadge => true,
ToolType::WeaponsBoneBadge => true,
ToolType::Letterofappreciation => true,
ToolType::ItemTicket => true,
ToolType::ValentinesChocolate => true,
ToolType::NewYearsCard => true,
ToolType::ChristmasCard => true,
ToolType::BirthdayCard => true,
ToolType::ProofofSonicTeam => true,
ToolType::SpecialEventTicket => true,
ToolType::FlowerBouquet => true,
ToolType::Cake => true,
ToolType::Accessories => true,
ToolType::MrnakasBusinessCard => true,
ToolType::Present => true,
ToolType::Chocolate => true,
ToolType::Candy => true,
ToolType::Cake2 => true,
ToolType::WeaponsSilverBadge2 => true,
ToolType::WeaponsGoldBadge2 => true,
ToolType::WeaponsCrystalBadge2 => true,
ToolType::WeaponsSteelBadge2 => true,
ToolType::WeaponsAluminumBadge2 => true,
ToolType::WeaponsLeatherBadge2 => true,
ToolType::WeaponsBoneBadge2 => true,
ToolType::Bouquet => true,
ToolType::Decoction => true,
ToolType::ChristmasPresent => true,
ToolType::EasterEgg => true,
ToolType::Jackolantern => true,
ToolType::DiskVol1weddingMarch => true,
ToolType::DiskVol2dayLight => true,
ToolType::DiskVol3burningRangers => true,
ToolType::DiskVol4openYourHeart => true,
ToolType::DiskVol5liveLearn => true,
ToolType::DiskVol6nights => true,
ToolType::DiskVol7endingThemepianover => true,
ToolType::DiskVol8hearttoHeart => true,
ToolType::DiskVol9strangeBlue => true,
ToolType::DiskVol10reunionSystem => true,
ToolType::DiskVol11pinnacles => true,
ToolType::DiskVol12fightinsidetheSpaceship => true,
ToolType::HuntersReport => true,
ToolType::HuntersReport2 => true,
ToolType::HuntersReport3 => true,
ToolType::HuntersReport4 => true,
ToolType::HuntersReport5 => true,
ToolType::Tablet => true,
ToolType::Unknown2 => true,
ToolType::DragonScale => true,
ToolType::HeavenStrikerCoat => true,
ToolType::PioneerParts => true,
ToolType::AmitiesMemo => true,
ToolType::HeartofMorolian => true,
ToolType::RappysBeak => true,
ToolType::Yahoosengine => true,
ToolType::DPhotonCore => true,
ToolType::LibertaKit => true,
ToolType::CellofMag0503 => true,
ToolType::CellofMag0504 => true,
ToolType::CellofMag0505 => true,
ToolType::CellofMag0506 => true,
ToolType::CellofMag0507 => true,
ToolType::TeamPoints500 => true,
ToolType::TeamPoints1000 => true,
ToolType::TeamPoints5000 => true,
ToolType::TeamPoints10000 => true,
_ => false,
}
}

Loading…
Cancel
Save