2020-09-19 14:33:40 -04:00
|
|
|
package d2records
|
|
|
|
|
2020-12-18 01:40:54 -05:00
|
|
|
// Gems stores all of the GemRecords
|
|
|
|
type Gems map[string]*GemRecord
|
2020-09-19 14:33:40 -04:00
|
|
|
|
2020-12-18 01:40:54 -05:00
|
|
|
// GemRecord is a representation of a single row of gems.txt
|
2020-09-19 14:33:40 -04:00
|
|
|
// it describes the properties of socketable items
|
2020-12-18 01:40:54 -05:00
|
|
|
type GemRecord struct {
|
2020-09-19 14:33:40 -04:00
|
|
|
Name string
|
|
|
|
Letter string
|
|
|
|
Transform int
|
|
|
|
Code string
|
|
|
|
Nummods int
|
|
|
|
WeaponMod1Code string
|
|
|
|
WeaponMod1Param int
|
|
|
|
WeaponMod1Min int
|
|
|
|
WeaponMod1Max int
|
|
|
|
WeaponMod2Code string
|
|
|
|
WeaponMod2Param int
|
|
|
|
WeaponMod2Min int
|
|
|
|
WeaponMod2Max int
|
|
|
|
WeaponMod3Code string
|
|
|
|
WeaponMod3Param int
|
|
|
|
WeaponMod3Min int
|
|
|
|
WeaponMod3Max int
|
|
|
|
HelmMod1Code string
|
|
|
|
HelmMod1Param int
|
|
|
|
HelmMod1Min int
|
|
|
|
HelmMod1Max int
|
|
|
|
HelmMod2Code string
|
|
|
|
HelmMod2Param int
|
|
|
|
HelmMod2Min int
|
|
|
|
HelmMod2Max int
|
|
|
|
HelmMod3Code string
|
|
|
|
HelmMod3Param int
|
|
|
|
HelmMod3Min int
|
|
|
|
HelmMod3Max int
|
|
|
|
ShieldMod1Code string
|
|
|
|
ShieldMod1Param int
|
|
|
|
ShieldMod1Min int
|
|
|
|
ShieldMod1Max int
|
|
|
|
ShieldMod2Code string
|
|
|
|
ShieldMod2Param int
|
|
|
|
ShieldMod2Min int
|
|
|
|
ShieldMod2Max int
|
|
|
|
ShieldMod3Code string
|
|
|
|
ShieldMod3Param int
|
|
|
|
ShieldMod3Min int
|
|
|
|
ShieldMod3Max int
|
|
|
|
}
|