aboutsummaryrefslogtreecommitdiff
path: root/internal/game/tick.go
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/game/tick.go
parenteb37418b933d7bd996658209e867ea3f3e3806ec (diff)
downloadthehouseoficarus-b6fdde0aa6fcefd735e7c550aaa7fca879023f1c.tar.gz
feat: unicode option, fixed up options and tables
Diffstat (limited to 'internal/game/tick.go')
-rw-r--r--internal/game/tick.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/tick.go b/internal/game/tick.go
index 4d037ec..767109e 100644
--- a/internal/game/tick.go
+++ b/internal/game/tick.go
@@ -126,14 +126,14 @@ func (g *Game) WanderTick() {
if !ok {
continue
}
- if p.RoomID == m.fromRoom && p.OptionBool("mobleave") {
+ if p.RoomID == m.fromRoom && p.OptionBool("mob_leave") {
if m.level > 0 {
sess.WriteLine(fmt.Sprintf("\n%s (level %d) leaves.", m.name, m.level))
} else {
sess.WriteLine(fmt.Sprintf("\n%s moves away.", m.name))
}
}
- if p.RoomID == m.toRoom && p.OptionBool("mobenter") {
+ if p.RoomID == m.toRoom && p.OptionBool("mob_enter") {
if m.level > 0 {
sess.WriteLine(fmt.Sprintf("\n%s (level %d) enters.", m.name, m.level))
} else {