2020-06-21 16:45:22 -04:00
|
|
|
package d2enum
|
|
|
|
|
|
|
|
// from levels.txt, field `Teleport`
|
|
|
|
// https://d2mods.info/forum/kb/viewarticle?a=301
|
|
|
|
|
2020-07-09 23:12:28 -04:00
|
|
|
// TeleportFlag Controls if teleport is allowed in that level.
|
2020-06-21 16:45:22 -04:00
|
|
|
// 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
|
|
|
|
|
2020-07-09 23:12:28 -04:00
|
|
|
// Teleport flag types
|
2020-06-21 16:45:22 -04:00
|
|
|
const (
|
|
|
|
TeleportDisabled TeleportFlag = iota
|
|
|
|
TeleportEnabled
|
|
|
|
TeleportEnabledLimited
|
|
|
|
)
|