eq2go/internal/ground_spawn/constants.go

77 lines
1.4 KiB
Go

package ground_spawn
// Harvest type constants
const (
HarvestTypeNone = 0
HarvestType1Item = 1
HarvestType3Items = 2
HarvestType5Items = 3
HarvestTypeImbue = 4
HarvestTypeRare = 5
HarvestType10AndRare = 6
)
// Harvest skill constants
const (
SkillGathering = "Gathering"
SkillCollecting = "Collecting"
SkillMining = "Mining"
SkillFishing = "Fishing"
SkillTrapping = "Trapping"
SkillForesting = "Foresting"
)
// Harvest skill spell types
const (
SpellTypeGather = "gather"
SpellTypeMine = "mine"
SpellTypeTrap = "trap"
SpellTypeChop = "chop"
SpellTypeFish = "fish"
)
// Harvest result constants
const (
HarvestResultSuccess = iota
HarvestResultFailed
HarvestResultNoSkill
HarvestResultDepleted
HarvestResultNoItems
)
// Item rarity flags
const (
ItemRarityNormal = 0
ItemRarityRare = 1
ItemRarityImbue = 2
)
// Ground spawn state constants
const (
StateAvailable = iota
StateDepleted
StateRespawning
)
// Default spawn configuration
const (
DefaultDifficulty = 0
DefaultSpawnType = 2
DefaultState = 129
DefaultAttemptsPerHarvest = 1
DefaultNumberHarvests = 1
DefaultRandomizeHeading = true
)
// Harvest message channels (placeholder values)
const (
ChannelHarvesting = 15
ChannelColorRed = 13
)
// Statistical tracking
const (
StatPlayerItemsHarvested = 1
StatPlayerRaresHarvested = 2
)