aboutsummaryrefslogtreecommitdiff
path: root/internal/action/doc.go
blob: c1a898de850173027c0641c3d17a567eabc29090 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Package action defines the behavior type system, action state tracking,
// and drop table resolution for the game world.
//
// Behaviors are YAML-driven and come in four types: gather, talk, use, and toggle.
// This package provides configuration structs for each type, the Action struct
// that tracks per-player action state (type, target, tick countdown), and the
// Store for loading behaviors and resolving weighted drop tables.
//
// The SuccessChance function implements the OSRS-style skill check formula.
// Drop table resolution supports nested sub-tables via the ResolveDrop method.
package action