CarlPoppa1 d2da4b1919 Add BodyLoc1 and BodyLoc2 as an array in item Type struct (#77)
* Added BodyLocs to type struct
To hold array of BodyLoc1 and BodyLoc2 from itemtypes.txt

* Updated itemtype template to import BodyLoc1 and BodyLoc2 as an array

* New generated itemtypes.go with BodyLocs array

* Use LocationType instead of string for BodyLocs

* Added missing ItemTypes declaration

---------

Co-authored-by: CarlPoppa <hilikus99@protonmail.com>
2025-02-28 22:01:13 +09:00
2023-03-11 11:37:34 +09:00

d2go


Tooling for Diablo II: Resurrected written in Go. It provides a library to read game memory and a public SDK to be imported, along with data structures and some other tools.

Libraries

  • data - D2R Game data structures
  • memory - D2R memory reader (it provides the data structures)
  • nip - NIP file parser and rule evaluator, used by the itemwatcher item filter.

Tools

  • cmd/itemwatcher - Small tool that plays a sound when an item passing the filtering process is dropped
  • cmd/txttocode - Static code generator, takes game .txt files and generates Go code to be used by the data package, it provides static data like item names, item types, skill details, etc.
Description
dung's d2go
Readme 1.9 MiB
Languages
Go 100%