pkeppeler

designing-mechanics

Deep Charter's creative-liberty rules for inventing dig mechanics, hazards and their counterplay, and pod upgrades. Load when development reveals a hazard, gap or friction that a mechanic could turn into gameplay (e.g. lava flooding a bore), when writing or reviewing an issue or brief for a gameplay feature, or when designing an upgrade track, consumable or chassis leaning.

pkeppeler 0 Updated 14h ago
GitHub

Install

npx skillscat add pkeppeler/deepcharter/designing-mechanics

Install via the SkillsCat registry.

SKILL.md

Designing mechanics

The user grants creative liberty over dig mechanics, hazards, pod upgrades and consumables. When development uncovers something (a hazard that kills unfairly, a dull stretch, an unused resource), turn it into a mechanic that makes play more interesting. Don't just patch it out or ask. The user wants the game to grow this way and would rather react to a good proposal than be asked an open question.

Where liberty stops

  • Changing a settled decision in docs/SPEC.md, or a pillar, still goes to the user. Propose the change and say what it replaces. Then stop and wait for the answer before building on it, because the SPEC is the user's contract for the game.
  • Anything else additive is yours: a new upgrade track, a consumable, a hazard's counterplay, a chassis leaning that fits the SPEC table, or a tuning curve. Record it as described under Recording; you don't need to ask.

Copy what is already solved

When a system has an established precedent in vanilla or a major mod (vanilla boats for vehicles on water, tank controls for the pod's ground steering (ADR 0095, #1442), EMI or JEI for recipe viewing, GTNH or BetterQuesting for quests), copy its behaviour and controls, read the source to do it, and deviate only where our mechanics require it. Say each deviation and its reason in the PR and the design doc. Don't re-derive solved UX: players already know it, and the user has twice had to ask for it back (#1281 and the questbook).

What makes a mechanic good here

  • Motherload's loop. Danger rises with depth. Money buys counterplay, and each purchase changes how you dig. A good mechanic gives a shop decision a reason to exist.
  • The lore's vibe. Mystery, thalassophobia (dread of the deep, dark and unknown below), darkness. Dread should come from what you can almost see: a crack spreading, heat in the wall ahead, a sound below. Avoid random instant death.
  • Readable danger. The player can always perceive a hazard before it hurts them, provided they bought the right sensor or are paying attention. A death should feel earned.
  • Not getting stuck is the player's job. The game guarantees no way out of a stranding. A solo pilot who runs dry at the bottom of a shaft with no fuel item, no reserve tank and no money (#963) may lose the pod, and that is the fuel clock working. Do not add a rescue, free or paid, or a self-rescue floor that makes a stranding safe (user decision of 2026-11-26, ADR 0104). Make the danger readable before it bites, and sell the counterplay: reserve tanks, tow cables, crewmates. The rescue tug (#1627, ADR 0129) is the user's own call and no exception: it tows only a wreck, never a stranded pod that still works. This covers the player's own mistakes in the field. A gate the game itself puts up, such as limp mode holding a pod at the colony, still offers a way through (the free flue scrape).
  • Show the cause. Anything that slows, hurts or blocks the player shows why, the first time and while it lasts: a one-time line (and a tooltip on the item behind it) when it first bites, and a status icon while it holds. A player who cannot tell why they are slow thinks the game is broken. Ore and fuel weight show an Ore/Fuel status, an ore tooltip and a first-ore line (#853).
  • A ladder, not a switch. Counterplay grows in three stages:
    1. by hand: slow, teaches the danger;
    2. a pod upgrade that automates it: costs cargo, money or speed;
    3. mastery: a later chassis or hull that makes the old counterplay unnecessary. The old tool keeps a niche, such as a cheaper spare pod.
  • Prefer vanilla keys and clicks. Playtests keep replacing custom keys with vanilla ones or a click (#1537, #1540). A new key needs an entry in gradle/keybind-allowlist.txt with the reason no vanilla key or click fits; checkKeybindGate fails the build without it.
  • Sound is ours. A vanilla explosion, vanilla music or a vanilla cave ambience breaks the tone (#1293, #1296). Give a mechanic a DeepSound; checkVanillaSoundGate fails a Java reference or a JSON sound id on gradle/banned-vanilla-sounds.txt unless the Java line says // vanilla-ok: <reason> or gradle/vanilla-sound-allowlist.txt lists the id with a reason.
  • Trade-offs. Every upgrade costs something the player also wants: cargo slots, drill speed, fuel, money, or a component slot.
  • Say when a default gets harder. A tuning change that makes the default build harder than main says so in Decisions, with the unpacked and early-game columns, even when it restores an earlier design.
  • A pacing table labels each row measured or modelled. Measured is asserted by a test; modelled is computed from assumed shares, and a modelled row names its assumptions.
  • A hiding hazard must cost. A hazard that hides information is tuned so a bot that uses that information measurably loses by it (several extra deaths per 100 on the default build). A table that shows no cost means the knob is too weak.
  • Measure pacing in the player's units. A tunable that sets pacing (fuel, drill speed, hull, anything that decides how long a trip lasts) ships with a GameTest that drives the real pod and measures it in blocks, seconds and trips, and asserts the target. Never copy it unmeasured from the original's numbers: its fuel rates left a first tank 13 blocks and 31 s of drilling (#963). PodFuelTripTest is the example.
  • A follow must say where it ends. A grip or status that follows a person across seats, levels or logins states in its design doc what each of those does, and has a test for each.
  • Co-op value. Prefer mechanics whose results persist and help the whole charter, such as lined shafts, beacons, mapped hazards and supply caches.
  • Uses what exists. Waste rock, ores the economy undervalues, and existing systems (scanner, lights, radiator, cargo, towing, wrecks) are better hooks than new parallel systems.

Recording

  1. Add the mechanic to docs/design/mechanics.md, the design log, in the PR that builds it or a docs PR before. Give it a short section: the problem it answers, the ladder, the trade-offs, the tuning knobs, and open questions. Create the file if it doesn't exist.
  2. Open an issue per buildable step in the milestone where the hazard first matters. Put the hand stage early and the automated stage at the layer that needs it.
  3. In the PR, list each creative call under Decisions with an (A) marker, as for any judgment call, so the user can veto it at the milestone demo.
  4. Things that need the user (SPEC changes, money) go under "Decisions for you" in the milestone demo issue.

Example: lava and shaft lining

Lava floods a bore through layer rock. The user's seed idea, expanded:

  1. By hand. The pilot places lining blocks around the slab from the seat. That forces a stop, but it is cheap. The lining is a slag brick the ore processor makes from waste rock, so drill spoil gets a use.
  2. Liner upgrade, tiered. It lines a ring every few slabs as the pod drills. It costs cargo (lining stock), some drill speed and money. Higher tiers line faster, use a cheaper fused-slag lining, and hold longer against lava pressure.
  3. Heat-shield hull track. Each tier cuts lava hull damage. At the top, with the heat-leaning Crawler chassis, the pod shrugs off brief lava, and lining becomes optional.
  4. Readable and dreadful. A thermal sensor shows lava in the wall ahead on the scanner. Deep down, lining integrity decays under pressure, and a hairline-crack warning gives seconds to re-line before lava tongues in.
  5. Persistent. Lined shafts stay in the world as the charter's safe highways. Abandoned lined shafts from earlier charters are something to find.