Commit Graph
76 Commits
Author SHA1 Message Date
Samuel Lison 991d1b0d80 Merge pull request #57 from TemujinCalidius/main
sync: v0.6.0 video docs → dev
2026-07-03 18:39:35 +10:00
Samuel Lison 83e7c293eb Merge pull request #56 from TemujinCalidius/docs/v0.6.0-video
docs: v0.6.0 demo video + site video grid refresh
2026-07-03 18:38:44 +10:00
Samuel LisonandClaude Opus 4.8 ce676fa4d5 docs: add v0.6.0 quests/achievements demo video + refresh site video grid
Wire the demo video (makertube uSGJ2MHEFjSSKxMiJBJ6Y5) into quests.md,
achievements.md, content-authoring.md and admin-plugin.md, and feature it in
the landing page's video grid (replacing the oldest embed; that video stays
linked from docs/inventory.md).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 18:37:58 +10:00
Samuel Lison 9937f8d641 Merge pull request #55 from TemujinCalidius/main
sync: v0.6.0 release → dev
2026-07-03 15:31:30 +10:00
Samuel Lison 6623e1c0bd Merge pull request #53 from TemujinCalidius/dev
release: v0.6.0 → main
v0.6.0
2026-07-03 15:29:47 +10:00
Samuel Lison f71685e8fd Merge pull request #52 from TemujinCalidius/release/v0.6.0
chore(release): v0.6.0
2026-07-03 15:28:58 +10:00
Samuel LisonandClaude Opus 4.8 a8f1114f81 fix(release): promote the section heading, not the header prose
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 15:28:12 +10:00
Samuel LisonandClaude Opus 4.8 4a4b54a723 chore(release): v0.6.0
Promote CHANGELOG Unreleased → 0.6.0 and bump wally.toml. (SurvivorCore.VERSION
is already 0.6.0 in src/init.luau.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 15:27:54 +10:00
Samuel Lison 8445d66dab Merge pull request #51 from TemujinCalidius/feat/quests-achievements
feat: quests + achievements — goals & progression (#10)
2026-07-03 15:27:28 +10:00
Samuel LisonandClaude Opus 4.8 9caa888369 feat: quests + achievements — the goals & progression release (#10)
Quests (#10): a Quests registry + server runtime — objectives (gather/craft/
kill/use × count, blank target = any) and rewards, autoStart + requires chains
(completing a prerequisite auto-starts dependents), optional turn-in at a
tagged QuestGiver (component + prompt). Rewards are never lost: a full
inventory parks the quest as ready and the grant retries on inventory change.
Quests menu tab (L) with per-objective progress bars; QuestLog JSON attribute
replicates state; quest:started/progress/completed/blocked via Hooks + bus.

Achievements: an always-on runtime for the existing registry, ported
architecturally from TCE. A shared Progression layer translates bus events
into auto-derived counters (gathers_reed, crafts_total, kills_husk, …) so a
def is just { key, name, counter, threshold } — flat in code and no-code.
Unlock-once + toast + Achievements tab (J) with progress bars.

Toasts: themed top-right notification queue (Notify remote + Toasts.show).

No-code: admin plugin gains Quests (single-objective + "+ Quest giver" drop)
and Achievements (counter/threshold) editors; the engine loads both from
SurvivorCoreContent. Demo: a 3-quest chain + 4 achievements + a giver post.

Fixed: registerPanel now ADOPTS a template-scaffolded tab (hides the
placeholder, builds into the authored frame) instead of silently no-opping —
this replaces the Quests/Achievements "coming soon" placeholders.

EventBridge parity: gather:*, craft:* and item:use now also cross the bus.
Changed: rojo 7.6.1 → 7.7.0 (rokit pin; CI follows; gate verified).

Docs: quests.md + achievements.md (new), content-authoring/admin-plugin/
extending/README updated, CHANGELOG Unreleased, site feature card.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 15:26:19 +10:00
Samuel Lison 0892bf948e Merge pull request #50 from TemujinCalidius/main
sync: landing page polish → dev
2026-07-01 09:35:03 +10:00
Samuel Lison d8996930f4 Merge pull request #49 from TemujinCalidius/fix/landing-polish
docs(site): UI screenshot, Get Started overflow fix, Sponsor link
2026-07-01 09:33:35 +10:00
Samuel LisonandClaude Opus 4.8 9ae708ceeb docs(site): add UI showcase screenshot, fix Get Started overflow, add Sponsor link
- "See it in action": wire in the in-game UI screenshot (HUD + tabbed menu +
  hotbar), AI-relit with an atmospheric dusk backdrop so it suits the dark page.
- Fix the Get Started "Boot it" panel overflowing the viewport — the grid items
  now `min-width: 0` so the code block scrolls internally instead of pushing wide.
- Add a GitHub Sponsors link (nav button + footer).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 09:32:52 +10:00
Samuel Lison aadf659a76 Merge pull request #48 from TemujinCalidius/main
sync: landing page + README → dev
2026-07-01 09:21:37 +10:00
Samuel Lison a9bbedd9cd Merge pull request #47 from TemujinCalidius/feat/landing-page
docs: SurvivorCore landing page + README refresh
2026-07-01 09:19:34 +10:00
Samuel LisonandClaude Opus 4.8 e674772a45 docs: add SurvivorCore landing page + refresh README
A static landing page (site/) deployed to GitHub Pages via Actions:
- AI-generated brand: the survival-shield logo (favicon → 1024 + .ico) and an
  atmospheric campfire hero, on the docs/design-language palette.
- Sections: hero, value props, feature grid (stats, inventory/crafting, gathering,
  combat, mobs & AI, no-code admin), an "in action" showcase with the demo videos,
  and a get-started/install panel. Dark translucent theme, responsive, self-contained.
- README refreshed to v0.5.0 with the full feature set, badges, and the site link.

The "See it in action" screenshot (site/assets/img/ui-showcase.png) drops in next.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 09:18:20 +10:00
Samuel Lison 16608201bf Merge pull request #45 from TemujinCalidius/dev
release: v0.5.0 → main
v0.5.0
2026-06-25 20:22:52 +10:00
Samuel Lison 7c89683e4e Merge pull request #44 from TemujinCalidius/release/v0.5.0
chore(release): v0.5.0
2026-06-25 20:21:54 +10:00
Samuel LisonandClaude Opus 4.8 4d910a3b89 chore(release): v0.5.0
Promote CHANGELOG Unreleased → 0.5.0 and bump wally.toml. (SurvivorCore.VERSION
is already 0.5.0 in src/init.luau.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 20:21:08 +10:00
Samuel Lison 9a09d997a9 Merge pull request #43 from TemujinCalidius/feat/mob-combat
feat: mob & AI engine + combat (melee + ranged)
2026-06-25 20:20:02 +10:00
Samuel LisonandClaude Opus 4.8 2c68bcc6b0 feat: mob & AI engine + combat (melee + ranged) (#17, #12, #14)
Mob & AI engine (#17): a `Mob` component + a `Mobs` FSM runtime
(idle/wander/chase/attack/flee/leash/death), faction-driven profiles
(hostile/passive/neutral), Humanoid-based mobs so combat/health/death share one
path, per-mob-type reactions, and a `Mobs` Config section.

Combat (#12, #14): server-authoritative melee + ranged reusing the v0.4.0 swing
pipeline; the `combat:hit`/`combat:kill` kill-event schema designed once. Bows use
a TCE-style aim (hold RMB to aim with an over-the-shoulder camera + crosshair and
charge ring, hold LMB to draw, release to fire); the server simulates the gravity
arc and sends the path so the client flies a cosmetic arrow along the real curve.
Arrows are their own configurable ammo item (weight/damage/curve/range/speed).

No-code: admin plugin gains Mob, Weapon and Arrow editors (+ "Add to World" /
"Tool model" drops); the engine loads Weapons/Arrows/Mobs from SurvivorCoreContent.

Fix: scope the orphan hotbar-pin sweep to the removed/consumed item, so consuming
one item never clears an unrelated hotbar-pinned weapon.

Docs: combat.md + mobs.md (with demo video); CHANGELOG Unreleased entry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 20:18:51 +10:00
Samuel Lison 92dbf956da Merge pull request #42 from TemujinCalidius/main
chore: sync docs (v0.4.0 videos) main → dev
2026-06-24 16:13:40 +10:00
Samuel Lison 3e97b4f502 Merge pull request #41 from TemujinCalidius/docs/v0.4.0-videos
docs: link v0.4.0 demo videos
2026-06-24 16:13:03 +10:00
Samuel LisonandClaude Opus 4.8 8606564b83 docs: link v0.4.0 demo videos (gathering/crafting + no-code content)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 16:12:21 +10:00
Samuel Lison ddaacb96bf Merge pull request #38 from TemujinCalidius/dev
release: v0.4.0 → main
v0.4.0
2026-06-24 15:46:58 +10:00
Samuel Lison aa84746520 Merge pull request #37 from TemujinCalidius/release/v0.4.0
chore(release): v0.4.0
2026-06-24 15:46:24 +10:00
Samuel LisonandClaude Opus 4.8 76cdd17b97 chore(release): v0.4.0 — promote CHANGELOG (gather/craft + no-code content), bump version
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 15:45:48 +10:00
Samuel Lison afad44c204 Merge pull request #36 from TemujinCalidius/feat/gather-craft
feat: tool-swing harvesting, hand crafting & no-code content (#1, #4, #11)
2026-06-24 15:44:38 +10:00
Samuel LisonandClaude Opus 4.8 d679850f90 feat: tool-swing harvesting, hand crafting & no-code content (#1, #4, #11)
Closes the gather → craft loop and lays the no-code content layer.

- Tool-swing harvesting (#1): equip a hotbar tool (a real Tool via the new
  ToolEquip bridge), click a node, server-validated hit (range / line-of-sight
  / equipped tool / cooldown) granting a per-hit random yield, blocking the hit
  when the inventory is full. Bare-hand hold-E kept. The engine's first
  client-input → RemoteEvent → server-validation pipeline (combat reuses it).
  A floating HP bar shows a node's remaining hits.
- Hand crafting (#4): server-authoritative consume → produce with a
  complexity-scaled craft channel + a progress bar above the crafter; a
  Crafting tab lists hand recipes and gates each on what you carry.
- No-code content (#11, Builder first slice): a Resources registry + a
  content-from-instances loader (Registry.loadFromFolder reads a
  SurvivorCoreContent folder at start), Gatherable binds to a named Resource,
  and a per-resource-type reaction API (reed sways, tree fells + leaves a
  stump). The admin plugin becomes one widget with Stats + Content tabs to
  create/edit items + gatherables, including "Add to World".

New hooks: gather:blocked, craft:start / craft:end / craft:blocked. Docs +
CHANGELOG. Engine stays content-free; the demo supplies the sample content.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 15:43:34 +10:00
Samuel Lison c9bf78300e Merge pull request #34 from TemujinCalidius/dev
release: v0.3.0 → main
v0.3.0
2026-06-23 18:05:29 +10:00
Samuel Lison 2b705487e5 Merge pull request #33 from TemujinCalidius/release/v0.3.0
chore(release): v0.3.0
2026-06-23 18:04:36 +10:00
Samuel LisonandClaude Opus 4.8 f6f4fa8ebf chore(release): v0.3.0 — promote CHANGELOG (inventory/hotbar/menu UI), bump version
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 18:03:59 +10:00
Samuel Lison f70bb5b4da Merge pull request #31 from TemujinCalidius/feat/inventory-hotbar-ui
feat(ui): inventory, hotbar & tabbed menu UI (#7, #9, #3)
2026-06-23 17:57:20 +10:00
Samuel LisonandClaude Opus 4.8 1b5ef088b3 fix(hud): keep a single HUD, preferring the authored one over the fallback
Both the authored template and the built-in fallback name their ScreenGui
"SurvivalHud", and the fallback fires on a 1s timer if no bars have bound
yet. The dedupe ran only once at startup, so a fallback that raced the
template (more likely now startClient does more before the template copies
in) left two HUDs on screen — a restart usually shuffled the timing enough
to hide it, until it didn't.

Tag the fallback, make the dedupe continuous (re-runs whenever another HUD
appears) and always prefer the authored HUD, and don't build the fallback
when a HUD ScreenGui already exists. Also link the inventory/hotbar demo
video in docs/inventory.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 17:23:17 +10:00
Samuel LisonandClaude Opus 4.8 5ab855fa1b feat(ui): inventory, hotbar & tabbed menu UI (#7, #9, #3)
Server-authoritative slots+weight inventory, a 9-slot hotbar (keys 1-9),
equipment slots, and a restyleable tabbed menu (functional Inventory +
Character Sheet; Codex/Achievements/Quests scaffolded), built the engine's
way: authored ScreenGui templates + attribute-discovering binders, with a
zero-setup fallback.

- Drag-and-drop is driven by a per-frame cursor poll (immune to the grid
  ScrollingFrame that swallows InputChanged) with GUI-inset-corrected drop
  hit-testing so releases land on the actual slot.
- Menu key defaults to Tab; the engine frees it by disabling the CoreGui
  player roster (ReclaimCoreKeys) and moves the chat to bottom-left so it
  clears the top-left HUD (Chat config). Toggle ignores focused TextBoxes.
- Consumables apply onConsume via the stat-effects layer + fire item:use;
  gather yields flow into the inventory; pickups auto-pin to the hotbar.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 17:06:54 +10:00
Samuel Lison 3132c8d214 Merge pull request #30 from TemujinCalidius/main
chore: forward-merge main → dev (SECURITY.md + CONTRIBUTING)
2026-06-22 10:28:10 +10:00
Samuel Lison 60f8e436a4 Merge pull request #28 from TemujinCalidius/dev
Release v0.2.1
v0.2.1
2026-06-22 10:26:49 +10:00
Samuel Lison 6547611c78 Merge pull request #27 from TemujinCalidius/release/v0.2.1
chore(release): v0.2.1
2026-06-22 10:26:09 +10:00
Samuel LisonandClaude Opus 4.8 9a10523965 chore(release): v0.2.1 — promote CHANGELOG (#20 fix), bump version
Promote the Unreleased #20 fix to 0.2.1 and bump SurvivorCore.VERSION + wally.toml.
Promotes WITHOUT re-adding an empty `## Unreleased` section, so the released
changelog on `main` doesn't carry a confusing dangling heading (a fresh
`## Unreleased` reappears when the next change adds an entry).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 10:25:46 +10:00
Samuel Lison cff8ae61fa Merge pull request #26 from TemujinCalidius/fix/hud-attribute-binding
fix(hud): custom stat `attribute` overrides now work (#20)
2026-06-22 10:06:09 +10:00
Samuel LisonandClaude Opus 4.8 2cb39109e9 fix(hud): read stats by their backing attribute, not the stat name (#20)
A stat's value lives on the player under its `attribute` (which defaults to the
name but a game can override via Config.override("SurvivalStats", {Stat={attribute=...}})).
The client read the stat NAME instead, so any custom attribute override silently
froze the bar. Fixed in all three spots that hardcoded the name:

- src/client/Hud.luau — the bar binder now resolves def.attribute and reads +
  listens on it (was GetAttribute(statName) / GetAttributeChangedSignal(statName)).
- src/systems/SurvivalConsequences.luau — the Health<->Humanoid sync writes the
  resolved Health attribute (was hardcoded "Health").
- src/client/MovementFeedback.luau — the energy vignette/breathing reads the
  resolved Energy attribute (was hardcoded "Energy").

Default behaviour (attribute = name) is unchanged. Verified in Studio: with
Health.attribute="HP" / Energy.attribute="EP", resolve() yields HP/EP and the
fixed code reads/writes there; un-overridden stats still default to the name.
Gate green.

Closes #20

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 10:05:31 +10:00
Samuel Lison 2161420033 Merge pull request #24 from TemujinCalidius/dev
Release v0.2.0 — survival stats + HUD
v0.2.0
2026-06-20 20:11:58 +10:00
Samuel Lison d37e8f2620 Merge pull request #23 from TemujinCalidius/release/v0.2.0
chore(release): v0.2.0
2026-06-20 20:11:11 +10:00
Samuel LisonandClaude Opus 4.8 586afc6b50 chore(release): v0.2.0 — promote CHANGELOG, bump version
Promote the Unreleased survival-stats + HUD milestone to 0.2.0 (start a fresh
Unreleased section) and bump SurvivorCore.VERSION + wally.toml to 0.2.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 20:10:17 +10:00
Samuel Lison a1b6f25481 Merge pull request #22 from TemujinCalidius/feat/survival-stats
Survival stats + HUD: engine, sprint/energy, consequences, admin plugin
2026-06-20 20:03:10 +10:00
Samuel LisonandClaude Opus 4.8 95d5d0b819 feat(survival): bleeding out = instant death; attach demo video to docs
- Blood reaching 0 now kills INSTANTLY (humanoid.Health = 0), not a per-second
  drain. Removed the BledOut drain rate from the Consequences config.
- Add the HUD/stats/plugin demo video to the survival-stats + admin-plugin docs.

Gate green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 19:57:11 +10:00
Samuel LisonandClaude Opus 4.8 3d8fd24cd9 feat(survival): realistic default rates; poison hurts only at 100%; hide Roblox health GUI
Tuning + fixes from playtest feedback:
- Poison drains health ONLY at 100% (was scaled from any level) — no more health
  ticking down from leftover/partial poison.
- Hide Roblox's built-in top-right health GUI (CoreGuiType.Health); the engine ships
  its own Health bar. (Retries a few frames since CoreGui can refuse it at session start.)
- Realistic default drift (all in config): Hunger/Thirst ~8h to max, Fatigue ~24h.
  Starving/dehydrated each take ~8h to kill (stack → ~4h when both). Default bleed/poison
  SOURCE rates ~1h (Consequences.Affliction) for real gameplay.
- Poison-at-max health drain 1.0/s and bled-out 3.0/s kept as sensible defaults (tunable).

Demo test station uses EXAGGERATED bleed/poison rates (visible in seconds) and gains
STARVE/DEHYDRATE cubes (jump the need to max) so the slow real-world consequences are
testable without waiting hours.

Gate green (stylua/selene/luau-lsp/build).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 19:42:40 +10:00
Samuel LisonandClaude Opus 4.8 5cafb1bf6d refactor(survival): track + disconnect SurvivalConsequences character connections
Mirrors Movement's per-character connection hygiene (store HealthChanged/Died and
disconnect on re-setup + player leave). Defensive/consistency only — Roblox already
auto-disconnects on character destroy, so no behaviour change. Follow-up from the
consequence-system adversarial review (which confirmed no real bugs).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 19:31:58 +10:00
Samuel LisonandClaude Opus 4.8 aaac7a12af feat(survival): consequences — stats drain health, bleed-out/starvation kill
Make the survival stats matter, end to end (server-authoritative, tunable via the
new "Consequences" Config section):

- Starving (Hunger maxed) and dehydrated (Thirst maxed) drain health.
- Poison drains health scaled by its level (full rate at 100%).
- Blood at 0 → bleed out → death (fast health drain).
- Drains STACK and reduce the character's real Humanoid health, so death + Roblox
  respawn happen for free.
- Energy stops regenerating while starving, dehydrated, or fully fatigued — overriding
  the post-sprint regen, so a depleted player stays depleted until they fix the cause.

Supporting engine work:
- SurvivalConsequences system: the drain tick + keeps the "Health" stat attribute in
  lockstep with the Humanoid (HUD Health bar now reflects real damage) + resets all
  stats and clears modifiers on every (re)spawn — a fresh body, no death-loop.
- SurvivalStats: getDefinition() (read a stat's max) + resetPlayer().
- Movement: energy-regen gate reads Hunger/Thirst/Fatigue.
- Demo test station drops its hand-rolled health mirror (the engine does it now).

Verified: gate green (stylua/selene/luau-lsp/build); drain math checked (stacked = 6.5/s,
poison scales, regen gates). Tuning + behaviour ported from TheCounterEarth's StatsConfig.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 19:23:06 +10:00
Samuel LisonandClaude Opus 4.8 2714821697 feat(demo): survival test station (damage/feed/drink/poison/bleed + cures)
A row of ProximityPrompt parts in the demo to exercise the survival systems by
hand: DAMAGE (real Humanoid damage → death/respawn), FEED/DRINK (Hunger/Thirst
down), POISON/ANTIDOTE and BLEED/BANDAGE (start/stop rate modifiers) — each a live
call into the SurvivorCore stat-effects API, so it doubles as usage documentation.

Also mirrors the character Humanoid health into the "Health" stat attribute so the
HUD Health bar tracks damage + resets on respawn (demo scaffolding; the engine-level
Health<->Humanoid sync is tracked in the respawn/loot issue).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 18:59:51 +10:00