Add drop struct (#22)
This commit is contained in:
@@ -63,6 +63,13 @@ type Item struct {
|
|||||||
Identified bool
|
Identified bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Drop struct {
|
||||||
|
Item Item
|
||||||
|
Rule string
|
||||||
|
RuleFile string
|
||||||
|
DropLocation string
|
||||||
|
}
|
||||||
|
|
||||||
func (i Item) Desc() item.Description {
|
func (i Item) Desc() item.Description {
|
||||||
return item.Desc[i.ID]
|
return item.Desc[i.ID]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user