survival-crafting
БесплатноБез исполняемых скриптовНе проверенDesigns survival-crafting loops in any engine: gathering, recipes and tech trees, carry weight, spoilage, hunger and temperature, and base building. Use for a…
от gamedev-skills★ 12 656 звёзд на GitHubОб этом скилле
Survival crafting
Owns the gather, craft, build and survive loop and the pressure systems around it: needs, scarcity, logistics and escalating threats. Each tier of tools must open the next tier of resources; when that ladder breaks, the game turns into chores.
When to use
- The player gathers resources, crafts tools and structures, manages needs and builds a base against rising threats: survival sandbox, crafting game, colony or base builder.
- Tuning needs, recipes, carry limits, spoilage, building rules or raid pacing.
When not to use: weapon and armour stat systems, rarity and affixes (rpg); world and
biome generation (procedural-gen); save file format and migration (save-systems).
Workflow
- Choose the needs model with the user (it sets the tone):
- Attrition: an empty bar causes damage. Minecraft: 20 hunger points; at 0 the player loses 1 HP every 4 s, stopping at 10 HP on Easy and 1 HP on Normal, and it can kill on Hard.
- Buff: food raises maximums instead. Valheim: up to 3 different foods at once, each adding max health and stamina for about 10-50 minutes; nobody starves. Better for co-op and building-focused games.
- Set the clock. Pick day length (Minecraft: 20 minutes, 10 of them full day) and size needs to it: a full hunger bar lasts about 1-2 days of normal activity, thirst drains about 1.5-2x faster than hunger, warnings appear at 25-30%, and activity (sprint, cold, carrying weight) speeds the drain.
- Draw the progression ladder as a graph: resource tier → tool → new node type → station → next resource tier. Each step needs one new trip outward from the base.
- Define recipes as data with a station and tech requirement (Pattern 1), and choose how they are discovered: show a recipe once the player has picked up one of its ingredients, so the menu teaches the next goal without a wiki.
- Set logistics limits: slots with stack sizes (Minecraft stacks most items to 64), or weight (Valheim starts at 300). Storage and crafting from nearby chests relieve them at base.
- Pace threats by progress (bosses killed, tech tier, base size), not by wall-clock time alone, and telegraph big raids at least a day ahead.
- Check it. Write and run these as tests and report the results:
- every craftable item is reachable from the starting resources through the recipe and tech graph, and no recipe needs its own output (or a later tier) to be made;
- crafting with a full inventory either fits the output or changes nothing;
- simulated needs: minutes from full to warning and to empty at idle and at sprint, printed against the day length;
- spoilage moves food through each freshness tier at the expected time;
- save, change one chunk and a container, reload: the change and the contents survive.
Spoilage
Track freshness per stack (0..1, merged as a count-weighted average) and apply tiers.
Don't Starve's tiers are a tested reference: fresh (50-100%) gives full value; stale
(20-50%) gives 2/3 of the hunger, 1/3 of the health and no sanity; spoiled (under 20%) gives
1/2 the hunger, no health and costs 10 sanity, then the item rots. Cooking halves the spoilage
so far. Cold storage slows the clock. Show the tier on the icon.
Pattern 1: atomic crafting
# Pseudocode. Validate everything, then consume and add as one step.
recipe = {"id": "stone_axe", "inputs": {"wood": 3, "stone": 2}, "output": ("stone_axe", 1),
"station": "workbench", "tech": "basic_tools"}
def craft(recipe, inv, tech, station):
if recipe["tech"] and recipe["tech"] not in tech: return "locked"
if recipe["station"] and recipe["station"] != station: return "needs " + recipe["station"]
if any(inv.count(i) < n for i, n in recipe["inputs"].items()): return "missing materials"
if not inv.fits_after_removing(recipe["inputs"], *recipe["output"]):
return "no room" # count slots the inputs free up
for item, n in recipe["inputs"].items():
inv.remove(item, n)
inv.add(*recipe["output"])
return "ok"
Gotchas
- Inputs consumed, nothing crafted → output added after removal into a full bag, or an exception between the two steps. Check space including freed slots first (Pattern 1); if "drop on the ground" is the rule, do it inside the same step.
- Needs feel like chores → bars that drain fast with small refills. Fewer, larger meals, meal variety that rewards effort, or the buff model.
- Instant deaths from needs → binary failure. Warn, then attrition with time to recover.
- Map stripped, players quit → no regrowth. Respawn nodes on a timer or when the player is far away, and keep rare nodes scarce near base so exploration stays the answer.
- Inventory always full → weight or slots with no base-side relief. Add storage, crafting from nearby containers and a deposit-all action.
- Mid-game stalls → a ti
Установить survival-crafting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл survival-crafting?
Designs survival-crafting loops in any engine: gathering, recipes and tech trees, carry weight, spoilage, hunger and temperature, and base building. Use for a Minecraft-, Valheim- or Don't Starve-like, or crafting that eats materials or needs that feel like chores. Not for RPG equipment stats (`rpg`), terrain generation (`procedural-gen`) or save files (`save-systems`).
Как установить скилл survival-crafting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл survival-crafting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic