mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-06 18:27:20 -05:00
6eb85d673a
* main, d2common: load Magic/Rare/Unique Affix * d2common: item affixes only removed Rare/Unique Prefix/Suffix as those are related to monsters, not items. * removed debug print from item_affix.go * changed item affix type names for clarity, removed debug print from data_dictionary * d2common: item affix datadict and records Item Affixes are defined in `/data/global/excel/Magic{Prefix,Suffix}.txt` Rare and Unique Pre/Suffixes seem to be for monsters, not items. d2common: item affixes only removed Rare/Unique Prefix/Suffix as those are related to monsters, not items. removed debug print from item_affix.go changed item affix type names for clarity, removed debug print from data_dictionary * reverting to pre-allocating memory for parsing txt lines * removing the rest of the rare/unique definitions * removing the rest of the rare/unique definitions * mend * adding datadict loader for levels.txt * adding comments from PK forums in the added d2enum files
19 lines
416 B
Go
19 lines
416 B
Go
package d2enum
|
|
|
|
// from levels.txt, field `Teleport`
|
|
// https://d2mods.info/forum/kb/viewarticle?a=301
|
|
|
|
// Controls if teleport is allowed in that level.
|
|
// 0 = Teleport not allowed
|
|
// 1 = Teleport allowed
|
|
// 2 = Teleport allowed, but not able to use teleport throu walls/objects
|
|
// (maybe for objects)
|
|
|
|
type TeleportFlag int
|
|
|
|
const (
|
|
TeleportDisabled TeleportFlag = iota
|
|
TeleportEnabled
|
|
TeleportEnabledLimited
|
|
)
|