From a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 14 Jun 2026 22:38:23 -0400 Subject: feat: fractional ticks and server game_speed implemented. potentially insanely janky. --- internal/player/player.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/player') diff --git a/internal/player/player.go b/internal/player/player.go index 332656c..15521a3 100644 --- a/internal/player/player.go +++ b/internal/player/player.go @@ -107,7 +107,7 @@ type OptionDef struct { var OptionDefs = []OptionDef{ {"description", OptBool, true, nil, "Long room descriptions when moving"}, {"tinymap", OptBool, true, nil, "Mini-map display"}, - {"left-tinymap", OptBool, false, nil, "Mini-map on left side of descriptions"}, + {"left_tinymap", OptBool, false, nil, "Mini-map on left side of descriptions"}, {"xpdrops", OptBool, true, nil, "XP drop messages"}, {"exits", OptBool, true, nil, "Long exit display in look"}, {"mobenter", OptBool, true, nil, "Messages when mobs enter the room"}, @@ -121,6 +121,8 @@ var OptionDefs = []OptionDef{ {"mapheight", OptInt, 20, nil, "Map height for the map command"}, {"mappadding", OptString, "none", []string{"none", "x", "y", "xy"}, "Map output padding mode"}, {"automap", OptBool, false, nil, "Show map automatically after moving"}, + {"queue_actions_silently", OptBool, true, nil, "Suppress 'You prepare to...' messages for queued actions"}, + {"max_room_description_width", OptInt, 70, nil, "Maximum width for room descriptions"}, } var optionByName map[string]*OptionDef @@ -151,6 +153,7 @@ type Player struct { Flags map[string]any `yaml:"flags"` RegenerateTick int Action *action.Action `yaml:"-"` + ActionState any `yaml:"-"` } func (p *Player) OptionBool(name string) bool { -- cgit v1.2.3