Added back in admin commands
This commit is contained in:
6 files changed
+166
-255
No files matched your search
+14
-1
@@ -20,22 +20,35 @@ impl Display for InventoryError {
|
||||
}
|
||||
}
|
||||
|
||||
impl std::error::Error for InventoryError {}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Hash, Eq, PartialEq)]
|
||||
#[serde(tag = "type", content = "data")]
|
||||
pub enum ItemData {
|
||||
Nft(String),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Hash, Eq, PartialEq, Copy)]
|
||||
#[derive(
|
||||
Debug, Clone, Serialize, Deserialize, Hash, Eq, PartialEq, Copy, poise::ChoiceParameter,
|
||||
)]
|
||||
pub enum ItemType {
|
||||
#[name = "Cancel Insurance"]
|
||||
CancelInsurance,
|
||||
#[name = "The Concept of Love"]
|
||||
TheConceptOfLove,
|
||||
#[name = "Good Fortune"]
|
||||
GoodFortune,
|
||||
#[name = "NFT"]
|
||||
Nft,
|
||||
#[name = "License to be Horny"]
|
||||
LicenseToBeHorny,
|
||||
#[name = "Kill Gun"]
|
||||
KillGun,
|
||||
#[name = "Cancel Ray"]
|
||||
CancelRay,
|
||||
#[name = "Helmet"]
|
||||
Helmet,
|
||||
#[name = "Tactical Nuke"]
|
||||
TacticalNuke,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user