Configuration overrides

Data and code mods can override a curated set of gameplay values in manifest.json. Shell appearance values are scoped to a shell. No script is needed for either kind of override.

Use the Mod Creator Config tab for gameplay and the Shells tab's Colours controls for appearance. Only values different from the creator's base defaults are saved. The same JSON can be written by hand; the runtime applies the same allowed-key, type and range checks.

Manifest structure

Both properties below are optional objects in manifest.json. Each contains configuration section names, then setting keys and values. Omitted settings inherit the game's base configuration. A configuration-only data mod needs only a manifest with a non-empty override object; it does not need a pet, shell, sticker or script.

{
  "title": "Gentle Care",
  "author": "YourName",
  "version": "1.0",
  "config_overrides": {
    "gameplay": {
      "animation_fps": 3.0,
      "satiation_loss_per_hour": 90.0,
      "pet_gift_chance": 0.25
    }
  },
  "shell_overrides": {
    "mymod.shell.mint": {
      "lcd": { "background": "#B8C9A0" },
      "colors": { "ink": "#273D2B" },
      "captions": { "top_background": "#FFFFFF80", "top_border_width": 1 }
    }
  }
}

The appearance example assumes the package also defines mymod.shell.mint in shells.json. Keep that ID stable. A code mod can include these objects alongside its script metadata; executable mods must be approved before their overrides apply.

Value types and validation

  • Number: a finite JSON number within the inclusive range shown below. Numeric strings, booleans and null are rejected.
  • Integer: a whole JSON number in range; fractional values are rejected.
  • Probability: a number from 0 to 1. The editor displays percentages; JSON stores fractions, so 0.25 means 25%.
  • Colour: a hex string in #RGB, #RGBA, #RRGGBB or #RRGGBBAA form. Alpha is last. The creator normalizes colours to eight-digit RGBA strings.

The creator rejects invalid overrides during validation/export. At runtime, unknown or restricted keys, the wrong scope, invalid types and out-of-range values are ignored with diagnostics; valid settings can still apply. Only the keys listed here are overridable. This is not unrestricted access to config.cfg.

The combined lifecycle must have a positive seconds-per-age-point value and total lifespan greater than egg + child + teen duration. Minimum visit wait must not exceed maximum visit wait. If conflicting mods produce an invalid combined lifecycle or visit interval, the runtime restores the affected overridden settings in that group to base values instead of applying that invalid combination.

Shell-specific appearance

Put LCD, colour, text-frame and caption-frame values in shell_overrides["shell.id"], never in config_overrides. Gameplay values cannot be placed in shell scope. The runtime activates appearance overrides only for the selected shell, and only from the mod that owns that shell when an owner is known. Changing shells resolves appearance again. Returning to a shell without appearance overrides restores the base appearance.

Shell colours affect rendered LCD elements. They do not alter the shell PNG, image_scale, offsets or LCD geometry. Use Colours: Default or Reset shell colours to remove the selected shell's overrides in the creator.

Runtime scope

The game copies its base configuration and resolves overrides from enabled, valid mods. Code mods must also have execution approval. The resulting configuration supplies lifecycle and gameplay values and the presentation settings used by the game. Disabling a source removes its contribution when configuration is refreshed; changing priorities also refreshes the effective configuration. Overrides do not rewrite the base configuration file.

These declarative overrides are separate from a script mod's own config.cfg read through the config API. A script's private configuration does not change global gameplay unless the script uses the relevant API.

Conflicts and priority

Configuration resolution is per setting, rather than replacing an entire category or manifest. In Menu > Mods, open the configuration-conflicts entry to inspect competing values and the winner. Use the − and + controls to adjust a source's configuration priority.

  1. Selected-shell appearance is resolved in the shell layer; whole-mod gameplay is resolved in the mod layer. Their permitted keys are separate.
  2. Within a layer, higher configuration priority wins. The default is 0; priorities are clamped to 0–999.
  3. A tie is broken by ascending lexical source ID. This is the runtime source identifier, not necessarily the manifest's declared mod ID. It is independent of the content-file load-order rules.

Identical values are not reported as conflicts. Source priorities belong to the player's user://mod_config.cfg, outside the mod package, and apply to all configuration values supplied by that source. Authors cannot force a priority through the manifest.

Supported settings

Keys below use section.key notation. In JSON, nest each key under its section as in the example above. Defaults are the schema defaults; the creator displays the actual base configuration value for the installation it is editing. Units describe the value stored in JSON, except probabilities, which are fractions.

LCD & Appearance

Shell scope only.

KeyType / rangeDefaultMeaning
lcd.backgroundHex colour"#949A7D"Solid colour behind the LCD content. It does not change the shell artwork or ink colour.
colors.inkHex colour"#3B3D37"Text, pets and icons drawn on the LCD.
colors.disabled_textHex colour"#6B7950"Unavailable or greyed-out controls.
colors.hover_backgroundHex colour"#7f8a7880"Translucent fill behind clickable items.
colors.hover_outlineHex colour"#7f8a78"Outline around clickable items when hovered.
colors.stage_up_backgroundHex colour"#e6e9d880"Highlight used for celebrations and gentle nudges.
colors.name_backgroundHex colour"#35382f"Background of the pet-name field.
colors.name_borderHex colour"#686e5c"Border around the pet-name field.
colors.name_textHex colour"#949a7d"Pet-name text inside the name field.
text.backgroundHex colour"#00000000"Fill behind text boxes.
text.borderHex colour"#00000000"Border around text boxes.
text.border_widthInteger: 0–32 px0Text-box border thickness in pixels.
captions.top_backgroundHex colour"#00000000"Fill behind the top message line.
captions.bottom_backgroundHex colour"#00000000"Fill behind the bottom message line.
captions.top_borderHex colour"#00000000"Border around the top message line.
captions.bottom_borderHex colour"#00000000"Border around the bottom message line.
captions.top_border_widthInteger: 0–32 px0Top caption border thickness in pixels.
captions.bottom_border_widthInteger: 0–32 px0Bottom caption border thickness in pixels.

Pet Animations

Whole-mod scope: config_overrides.

KeyType / rangeDefaultMeaning
gameplay.animation_fpsNumber: 0–60 fps2.0Two-frame pet animation changes per second. 0 holds the first frame.
gameplay.idle_move_distanceNumber: 0–512 px12.0Maximum sideways movement while idle, in LCD pixels.
gameplay.idle_move_cycle_secondsNumber: 1–3600 s20.0Seconds per complete rest-and-move cycle.
gameplay.stage_up_grow_secondsNumber: 0–120 s2.0Seconds the hatch or evolution sprite is shown before settling.

Lifecycle

Whole-mod scope: config_overrides.

KeyType / rangeDefaultMeaning
lifecycle.seconds_per_age_pointNumber: 0.01–10000000 s120.0Real seconds needed for one age point.
lifecycle.egg_age_pointsNumber: 0–1000000 pts0.5Age points spent as an egg.
lifecycle.child_age_pointsNumber: 0–1000000 pts20.0Age points spent as a child.
lifecycle.teen_age_pointsNumber: 0–1000000 pts25.0Age points spent as a teen.
lifecycle.total_age_pointsNumber: 0.01–1000000 pts80.0Total age points until graduation. Must exceed egg + child + teen.

Care & Difficulty

Whole-mod scope: config_overrides.

KeyType / rangeDefaultMeaning
gameplay.start_hungerNumber: 0–100 pts65.0Satiation a new pet starts with.
gameplay.start_happinessNumber: 0–100 pts65.0Happiness a new pet starts with.
gameplay.start_sleepNumber: 0–100 pts65.0Sleep a new pet starts with.
gameplay.satiation_loss_per_hourNumber: 0–100000 pts/h135.0Satiation points lost per simulated hour.
gameplay.happiness_loss_per_hourNumber: 0–100000 pts/h70.0Happiness points lost per simulated hour.
gameplay.sleep_gain_per_hourNumber: 0–1000000 pts/h1000.0Sleep points gained per simulated hour while asleep.
gameplay.sleep_loss_per_hourNumber: 0–100000 pts/h25.0Sleep points lost per simulated hour while awake.
gameplay.poo_interval_secondsNumber: 1–10000000 s900.0Seconds between poos while playing.
gameplay.poo_health_loss_per_hourNumber: 0–100000 pts/h20.0Health lost per simulated hour for each fresh poo.
gameplay.health_regen_per_hourNumber: 0–100000 pts/h1.0Health regained per simulated hour when clean and well.
gameplay.pat_happinessNumber: 0–100 pts8.0Happiness gained from a pat.

Food & Feeding

Whole-mod scope: config_overrides.

KeyType / rangeDefaultMeaning
gameplay.food_rice_satiationNumber: 0–100 pts25.0Satiation restored by rice.
gameplay.food_chocolate_satiationNumber: 0–100 pts15.0Satiation restored by chocolate.
gameplay.food_chocolate_happinessNumber: 0–100 pts15.0Happiness restored by chocolate.
gameplay.food_chocolate_health_lossNumber: 0–100 pts10.0Health lost when eating chocolate.
gameplay.food_vegetables_satiationNumber: 0–100 pts10.0Satiation restored by vegetables.
gameplay.food_vegetables_health_gainNumber: 0–100 pts5.0Health restored by vegetables.
gameplay.overfeeding_thresholdNumber: 0–100 pts88.0Feeding above this satiation counts as overfeeding.

Minigames

Whole-mod scope: config_overrides.

KeyType / rangeDefaultMeaning
gameplay.game_win_happinessNumber: 0–100 pts25.0Happiness gained by winning a minigame.
gameplay.game_loss_happinessNumber: 0–100 pts2.0Happiness gained after losing a minigame.
gameplay.minigame_sweep_secondsNumber: 0.01–60 s1.0Duration of the easy Catch sweep.
gameplay.minigame_sweep_medium_secondsNumber: 0.01–60 s0.8Duration of the medium Catch sweep.
gameplay.minigame_sweep_fast_secondsNumber: 0.01–60 s0.6Duration of the fast Catch sweep.
gameplay.minigame_rhythm_tolerance_secondsNumber: 0–10 s0.16Extra timing tolerance per rhythm tap.
gameplay.minigame_rhythm_tolerance_ratioNumber: 0–10 x0.3Proportional timing tolerance per rhythm gap.
gameplay.minigame_balance_secondsNumber: 0.1–600 s8.0Seconds the Balance minigame lasts.
gameplay.minigame_balance_instabilityNumber: 0–100 x1.4How strongly the Balance ball pulls away from centre.
gameplay.minigame_balance_gust_strengthNumber: 0–100 x0.55Strength of random gusts in Balance.

Gifts & Visitors

Whole-mod scope: config_overrides.

KeyType / rangeDefaultMeaning
gameplay.gift_cooldown_secondsNumber: 1–10000000 s300.0Seconds between pet-gift attempts.
gameplay.pet_gift_chanceProbability: 0–10.16666666666666666Chance that an eligible pet-gift attempt produces a gift.
gameplay.visitor_gift_chanceProbability: 0–10.5Chance that an arriving visitor brings a gift.
gameplay.minigame_gift_chanceProbability: 0–10.5Chance that a completed requested minigame grants a gift.
gameplay.visit_chanceProbability: 0–10.75Chance that an eligible visit attempt brings a visitor.
gameplay.visit_duration_secondsNumber: 1–10000000 s120.0Seconds a visitor stays on screen.
gameplay.visit_interval_min_secondsNumber: 0–1000000000 s1200.0Shortest wait between automatic visit attempts.
gameplay.visit_interval_max_secondsNumber: 0–1000000000 s2000.0Longest wait between automatic visit attempts. Must be at least the minimum.