Wraps the bars in a dark translucent Panel and splits them into a Primary group (Health, Energy — always shown) and a Collapsible group (the other five) toggled by a chevron button, wired generically in the binder via name/attribute/tag so the owner can re-group by drag-and-drop. Each bar gains an optional Value label (configurable fraction/percent/value/none) and a blank, hidden Icon ImageLabel (resolved from a per-bar attribute, the stat config, or Assets "StatIcons" — the engine still ships zero asset ids). Sets IgnoreGuiInset=false so the HUD clears the Roblox topbar. Adds icon/valueFormat fields through StatDefs/StatConfig + the config template, and a silent Assets.tryGet for the icon hot path. The fallback HUD matches. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SurvivorCore
A batteries-included, creator-extensible survival game framework for Roblox.
⚠️ Status: early scaffold (v0.1.0). The foundation layer and architecture are in place; survival systems are being extracted from a production game (The Counter Earth) into this engine. APIs will change. Not yet production-ready.
What it is
SurvivorCore gives you the mechanics of a survival game — stats (energy/hunger/thirst…), inventory, crafting, cooking, harvesting, hostile mobs & combat, achievements, a codex, and player persistence — without dictating your content. You bring your own items, world, and art; the engine wires up the behavior.
See it live
SurvivorCore powers The Counter Earth — a full survival game built on this engine, and its live showcase. The Counter Earth is in closed Alpha (not yet open to beta testers), but SurvivorCore contributors and engine devs may get early access — a good reason to get involved. 👀
Two ways to extend it
1. Programmatic — register content from code:
local SurvivorCore = require(ReplicatedStorage.SurvivorCore)
SurvivorCore.Items.register({ id = "reed", name = "Reed", stack = 20 })
SurvivorCore.Recipes.register({
id = "reed_basket", station = "hand",
ingredients = { { item = "reed", count = 5 } },
output = { item = "reed_basket", count = 1 },
})
SurvivorCore.start()
2. Creator-owned — attach behavior to your own objects:
Build any mesh, tag it Gatherable, and set attributes — no engine-side definition needed:
| Attribute | Meaning |
|---|---|
ItemId |
what it yields |
Yield |
amount per full harvest |
HP |
hits to deplete |
The same pattern extends to craftables, huntables, farmables, and more. For advanced, game-specific behavior (e.g. trees that physically fall and cut into pieces), hook into engine lifecycle events instead of forking the engine:
SurvivorCore.Hooks.on("gather:depleted", function(ctx)
-- your custom drop / VFX / physics here
end)
Getting started
- Developers — consume via Rojo (clone +
rojo serve) or, once published, as a Wally package. - Drop-in — grab
SurvivorCore.rbxmfrom a Release (auto-built from source viarojo build), drop it intoReplicatedStorage, and add a short bootstrap script thatrequires it and calls.start().
Project layout
src/
init.luau -- SurvivorCore root: .start() + the public API
foundation/ -- Config, Assets, EventBridge, Hooks, Registry (the core plumbing)
registries/ -- Items, Recipes, Stats, Achievements, Codex, Appearance, Mobs
components/ -- creator-facing tag/attribute components (e.g. Gatherable)
demo/ -- a runnable demo place that consumes the engine
docs/architecture.md -- how the layers fit together
Sponsor
SurvivorCore is free and open source. If it's useful to you — or you just want to help the engine grow — you can support development via GitHub Sponsors. 💛
License
MIT © 2026 Samuel Lison