mirror of
https://github.com/TemujinCalidius/SurvivorCore.git
synced 2026-08-14 00:58:01 +00:00
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>
30 lines
891 B
JSON
30 lines
891 B
JSON
{
|
|
"name": "SurvivorCore Demo",
|
|
"tree": {
|
|
"$className": "DataModel",
|
|
"ReplicatedStorage": {
|
|
"SurvivorCore": { "$path": "src" },
|
|
"SurvivalStatsConfig": { "$path": "assets/config/SurvivalStatsConfig.model.json" }
|
|
},
|
|
"ServerScriptService": {
|
|
"Demo": { "$path": "demo/server" }
|
|
},
|
|
"StarterGui": {
|
|
"$className": "StarterGui",
|
|
"SurvivalHud": { "$path": "assets/hud/SurvivalHud.model.json" },
|
|
"SurvivalMenu": { "$path": "assets/ui/SurvivalMenu.model.json" },
|
|
"SurvivalHotbar": { "$path": "assets/ui/SurvivalHotbar.model.json" }
|
|
},
|
|
"StarterPlayer": {
|
|
"$className": "StarterPlayer",
|
|
"StarterPlayerScripts": {
|
|
"$className": "StarterPlayerScripts",
|
|
"HudLoader": { "$path": "assets/client/HudLoader.client.luau" }
|
|
}
|
|
},
|
|
"Workspace": {
|
|
"$ignoreUnknownInstances": true
|
|
}
|
|
}
|
|
}
|