mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-06 18:27:20 -05:00
2461142fbd
* Minor changes to reduce interdependencies on modules.
15 lines
292 B
Go
15 lines
292 B
Go
package d2datadict
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
|
|
)
|
|
|
|
var MiscItems map[string]*ItemCommonRecord
|
|
|
|
func LoadMiscItems(file []byte) {
|
|
MiscItems = *LoadCommonItems(file, d2enum.InventoryItemTypeItem)
|
|
log.Printf("Loaded %d misc items", len(MiscItems))
|
|
}
|