blob: a163bd70db4138187625be329a4f51a0f5fd12e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Package player defines character data, skills, equipment, inventory,
// and account management for the game.
//
// The Player struct is the full character sheet: 23 skills with RSC-style
// XP progression, 28-slot inventory, 11-slot equipment, combat level
// calculation, and death mechanics.
//
// Accounts store authentication (salted sha256 passwords), character lists,
// and command aliases. Validation functions enforce name and password rules.
// The AccountStore manages persistence to YAML files under data/players/.
//
// Player options (15 settings) support bool, string, and int types with
// defined defaults and valid values.
package player
|