|
@ -1,5 +1,5 @@ |
|
|
use serde::{Serialize, Deserialize};
|
|
|
use serde::{Serialize, Deserialize};
|
|
|
use crate::entity::item::ItemEntityId;
|
|
|
|
|
|
|
|
|
use crate::entity::item::tool::ToolType;
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
pub enum ItemParseError {
|
|
|
pub enum ItemParseError {
|
|
@ -255,10 +255,10 @@ impl MagType { |
|
|
#[derive(Debug, Clone, PartialEq)]
|
|
|
#[derive(Debug, Clone, PartialEq)]
|
|
|
pub enum MagModifier {
|
|
|
pub enum MagModifier {
|
|
|
FeedMag{
|
|
|
FeedMag{
|
|
|
food: ItemEntityId,
|
|
|
|
|
|
|
|
|
food: ToolType,
|
|
|
},
|
|
|
},
|
|
|
BankMag,
|
|
|
|
|
|
MagCell(ItemEntityId),
|
|
|
|
|
|
|
|
|
BankMag, // when putting a mag in the bank it truncates the values which has applications when raising degenerate mags
|
|
|
|
|
|
MagCell(ToolType),
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)]
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)]
|
|
|