Added back in admin commands

This commit is contained in:
joeyahines committed 2025-03-15 20:39:50 -06:00
1 parent 6ac5129114
commit 05591d49e3
6 files changed
+166 -255

No files matched your search

+14 -1
View File
@@ -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,
}