aboutsummaryrefslogtreecommitdiff
path: root/internal/player/player.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-21 22:19:17 -0400
committerhistoria <[not public]>2026-06-21 22:19:17 -0400
commita3ae1e6aad696f584d138d9363c05dedff136a65 (patch)
tree81e615f7227bc9d1ec79ceefc7311ecde917b074 /internal/player/player.go
parent84072ffe6365ad57c4976e9272762aa6db41de7e (diff)
downloadthehouseoficarus-a3ae1e6aad696f584d138d9363c05dedff136a65.tar.gz
feat: safespot system implemented
Diffstat (limited to 'internal/player/player.go')
-rw-r--r--internal/player/player.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/player/player.go b/internal/player/player.go
index 7953691..ac2c8ce 100644
--- a/internal/player/player.go
+++ b/internal/player/player.go
@@ -120,9 +120,9 @@ var OptionDefs = []OptionDef{
{"depletion", OptBool, false, nil, "Show depletion and despawn timers"},
{"despawn", OptBool, false, nil, "Show ground item despawn timers"},
{"color", OptString, "xterm256", []string{"none", "ansi", "xterm256"}, "Color output mode"},
- {"mapwidth", OptInt, 30, nil, "Map width for the map command"},
- {"mapheight", OptInt, 20, nil, "Map height for the map command"},
- {"mappadding", OptString, "none", []string{"none", "x", "y", "xy"}, "Map output padding mode"},
+ {"map_width", OptInt, 30, nil, "Map width for the map command"},
+ {"map_height", OptInt, 20, nil, "Map height for the map command"},
+ {"map_padding", OptString, "none", []string{"none", "x", "y", "xy"}, "Map output padding mode"},
{"automap", OptBool, false, nil, "Show map automatically after moving"},
{"queue_silently", OptBool, true, nil, "Suppress messages for queued tick actions"},
{"room_desc_width", OptInt, 70, nil, "Maximum width for room descriptions"},
@@ -137,6 +137,8 @@ var OptionDefs = []OptionDef{
{"smelt_all", OptBool, false, nil, "Auto-start smelting when only one product is possible"},
{"mix_all", OptBool, false, nil, "Auto-start mixing when only one product is possible"},
{"construct_all", OptBool, false, nil, "Auto-start constructing when only one product is possible"},
+ {"craft_all", OptBool, false, nil, "Auto-start crafting when only one product is possible"},
+ {"safespot_alert", OptString, "{196 bold}** Your safespot has been compromised! **{/}", nil, "Message shown when forced out of a safespot (set to \"none\" to disable)"},
}
var optionByName map[string]*OptionDef