aboutsummaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-15 02:57:35 -0400
committerhistoria <[not public]>2026-06-15 02:58:50 -0400
commit4cc1ddcd185509080b4b3e15d1646567edd51c9d (patch)
tree2a564846ad4fd159a2d7e55451bfa9569fe8c0b8 /AGENTS.md
parent445c4612cc5cf2c226f85894b6ad1e2419a374e2 (diff)
downloadthehouseoficarus-4cc1ddcd185509080b4b3e15d1646567edd51c9d.tar.gz
removed game speed for being broken and an antifeature anyway. added color support.
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 8401f4c..e92e7af 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -19,7 +19,6 @@ Config options:
```yaml
game:
tick_length: 600 # ms per game tick (default 600, min 50)
- game_speed: 1.0 # multiplier for all tick timers (default 1.0)
```
Dependencies: `gopkg.in/yaml.v3`, `github.com/gorilla/websocket`.
@@ -70,7 +69,7 @@ internal/engine/ Tick scheduler — 600ms interval, subscriber pattern +
**Tick-driven.** The world runs on a 600ms tick. Combat, gathering, regen, wandering, respawns, shared depletion, woodcutting timers all advance per tick. See `cmd/mud/main.go` for the subscription loop.
-**Fractional ticks.** All YAML timer fields (tool_speed, speed, base_wait, deplete_timer, etc.) accept `float64` values. `engine.FractionalTicks(base, speed)` probabilistically rounds to an integer — a tool_speed of 4.5 means each action cycle has a 50% chance of 4 ticks and 50% of 5 ticks. The `game_speed` config option scales all timers uniformly via `g.computeTicks()`.
+**Fractional ticks.** All YAML timer fields (tool_speed, speed, base_wait, deplete_timer, etc.) accept `float64` values. `engine.ToTicks(base)` probabilistically rounds to an integer — a tool_speed of 4.5 means each action cycle has a 50% chance of 4 ticks and 50% of 5 ticks.
## Two State Systems