aboutsummaryrefslogtreecommitdiff
path: root/internal/player
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-15 00:03:55 -0400
committerhistoria <[not public]>2026-06-15 00:03:55 -0400
commitb6fdde0aa6fcefd735e7c550aaa7fca879023f1c (patch)
tree924be72a906522d60512213cdbaba1f55e694bd3 /internal/player
parenteb37418b933d7bd996658209e867ea3f3e3806ec (diff)
downloadthehouseoficarus-b6fdde0aa6fcefd735e7c550aaa7fca879023f1c.tar.gz
feat: unicode option, fixed up options and tables
Diffstat (limited to 'internal/player')
-rw-r--r--internal/player/player.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/player/player.go b/internal/player/player.go
index 15521a3..95cf948 100644
--- a/internal/player/player.go
+++ b/internal/player/player.go
@@ -106,13 +106,12 @@ 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"},
- {"xpdrops", OptBool, true, nil, "XP drop messages"},
+ {"tiny_map", OptString, "right", []string{"off", "right", "left"}, "Mini-map display (off/right/left)"},
+ {"xp_drops", 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"},
- {"mobleave", OptBool, true, nil, "Messages when mobs leave the room"},
- {"mobspawn", OptBool, true, nil, "Messages when mobs spawn in the area"},
+ {"mob_enter", OptBool, true, nil, "Messages when mobs enter the room"},
+ {"mob_leave", OptBool, true, nil, "Messages when mobs leave the room"},
+ {"mob_spawn", OptBool, true, nil, "Messages when mobs spawn in the area"},
{"reserve", OptBool, true, nil, "Show full reserved item details"},
{"depletion", OptBool, false, nil, "Show depletion and despawn timers"},
{"despawn", OptBool, false, nil, "Show ground item despawn timers"},
@@ -121,8 +120,9 @@ 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"},
+ {"queue_silently", OptBool, true, nil, "Suppress messages for queued tick actions"},
+ {"room_desc_width", OptInt, 70, nil, "Maximum width for room descriptions"},
+ {"unicode", OptBool, true, nil, "Unicode box-drawing characters"},
}
var optionByName map[string]*OptionDef