Skip to content

Spec: host hooks and loadout - #2

Merged
OctoAlgo merged 1 commit into
mainfrom
claude/youthful-allen-lou30t
Nov 1, 2026
Merged

OctoAlgo merged 1 commit into
mainfrom
claude/youthful-allen-lou30t

Conversation

@OctoAlgo

@OctoAlgo OctoAlgo commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Docs only.

  • SPEC.md section 14 (new), Host hooks (optional): <p>_teleport, <p>_add_impulse, <p>_hurt (returns 1 / 0 / -1; adds invulnerable_ticks to the state; <P>_EVENT_HURT = 5), <p>_mount / <p>_unmount, <p>_get_action (a lib-owned action enum with a common core, lib values from 256), and <p>_set_aim_offset. They live in <p>_hooks.h with their own table, cost nothing unused, and their state is in the snapshot.
  • SPEC.md section 12, Loadout (optional): <p>_loadout_list, <p>_equip, <p>_equipped. Durations, cooldowns, balance and UI are the host's job.
  • COMPLIANCE.md: Loadout and Host hooks rows for libfc (unknown) and libray3 (C API 21-26: 21-22 merged, 23-26 pending in #34-#37).
  • CLAUDE.md Next: template reference implementation of hooks and loadout; sp2 table.

Generated by Claude Code

Teleport, add impulse, hurt (with invulnerable ticks and a HURT event),
mount/unmount, a lib-owned action enum with a common core, and aim
offsets per target, as an optional hooks table. Loadout: list and equip
what the game offers. COMPLIANCE rows for libfc and libray3; CLAUDE.md
Next updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011dFkrWqBVAw1kojJ7PN58H
@OctoAlgo
OctoAlgo merged commit 061ca96 into main Nov 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants