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
0to1. The editor displays percentages; JSON stores fractions, so0.25means 25%. - Colour: a hex string in
#RGB,#RGBA,#RRGGBBor#RRGGBBAAform. 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.
- Selected-shell appearance is resolved in the shell layer; whole-mod gameplay is resolved in the mod layer. Their permitted keys are separate.
- Within a layer, higher configuration priority wins. The default is
0; priorities are clamped to0–999. - 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.
| Key | Type / range | Default | Meaning |
|---|---|---|---|
lcd.background | Hex colour | "#949A7D" | Solid colour behind the LCD content. It does not change the shell artwork or ink colour. |
colors.ink | Hex colour | "#3B3D37" | Text, pets and icons drawn on the LCD. |
colors.disabled_text | Hex colour | "#6B7950" | Unavailable or greyed-out controls. |
colors.hover_background | Hex colour | "#7f8a7880" | Translucent fill behind clickable items. |
colors.hover_outline | Hex colour | "#7f8a78" | Outline around clickable items when hovered. |
colors.stage_up_background | Hex colour | "#e6e9d880" | Highlight used for celebrations and gentle nudges. |
colors.name_background | Hex colour | "#35382f" | Background of the pet-name field. |
colors.name_border | Hex colour | "#686e5c" | Border around the pet-name field. |
colors.name_text | Hex colour | "#949a7d" | Pet-name text inside the name field. |
text.background | Hex colour | "#00000000" | Fill behind text boxes. |
text.border | Hex colour | "#00000000" | Border around text boxes. |
text.border_width | Integer: 0–32 px | 0 | Text-box border thickness in pixels. |
captions.top_background | Hex colour | "#00000000" | Fill behind the top message line. |
captions.bottom_background | Hex colour | "#00000000" | Fill behind the bottom message line. |
captions.top_border | Hex colour | "#00000000" | Border around the top message line. |
captions.bottom_border | Hex colour | "#00000000" | Border around the bottom message line. |
captions.top_border_width | Integer: 0–32 px | 0 | Top caption border thickness in pixels. |
captions.bottom_border_width | Integer: 0–32 px | 0 | Bottom caption border thickness in pixels. |
Pet Animations
Whole-mod scope: config_overrides.
| Key | Type / range | Default | Meaning |
|---|---|---|---|
gameplay.animation_fps | Number: 0–60 fps | 2.0 | Two-frame pet animation changes per second. 0 holds the first frame. |
gameplay.idle_move_distance | Number: 0–512 px | 12.0 | Maximum sideways movement while idle, in LCD pixels. |
gameplay.idle_move_cycle_seconds | Number: 1–3600 s | 20.0 | Seconds per complete rest-and-move cycle. |
gameplay.stage_up_grow_seconds | Number: 0–120 s | 2.0 | Seconds the hatch or evolution sprite is shown before settling. |
Lifecycle
Whole-mod scope: config_overrides.
| Key | Type / range | Default | Meaning |
|---|---|---|---|
lifecycle.seconds_per_age_point | Number: 0.01–10000000 s | 120.0 | Real seconds needed for one age point. |
lifecycle.egg_age_points | Number: 0–1000000 pts | 0.5 | Age points spent as an egg. |
lifecycle.child_age_points | Number: 0–1000000 pts | 20.0 | Age points spent as a child. |
lifecycle.teen_age_points | Number: 0–1000000 pts | 25.0 | Age points spent as a teen. |
lifecycle.total_age_points | Number: 0.01–1000000 pts | 80.0 | Total age points until graduation. Must exceed egg + child + teen. |
Care & Difficulty
Whole-mod scope: config_overrides.
| Key | Type / range | Default | Meaning |
|---|---|---|---|
gameplay.start_hunger | Number: 0–100 pts | 65.0 | Satiation a new pet starts with. |
gameplay.start_happiness | Number: 0–100 pts | 65.0 | Happiness a new pet starts with. |
gameplay.start_sleep | Number: 0–100 pts | 65.0 | Sleep a new pet starts with. |
gameplay.satiation_loss_per_hour | Number: 0–100000 pts/h | 135.0 | Satiation points lost per simulated hour. |
gameplay.happiness_loss_per_hour | Number: 0–100000 pts/h | 70.0 | Happiness points lost per simulated hour. |
gameplay.sleep_gain_per_hour | Number: 0–1000000 pts/h | 1000.0 | Sleep points gained per simulated hour while asleep. |
gameplay.sleep_loss_per_hour | Number: 0–100000 pts/h | 25.0 | Sleep points lost per simulated hour while awake. |
gameplay.poo_interval_seconds | Number: 1–10000000 s | 900.0 | Seconds between poos while playing. |
gameplay.poo_health_loss_per_hour | Number: 0–100000 pts/h | 20.0 | Health lost per simulated hour for each fresh poo. |
gameplay.health_regen_per_hour | Number: 0–100000 pts/h | 1.0 | Health regained per simulated hour when clean and well. |
gameplay.pat_happiness | Number: 0–100 pts | 8.0 | Happiness gained from a pat. |
Food & Feeding
Whole-mod scope: config_overrides.
| Key | Type / range | Default | Meaning |
|---|---|---|---|
gameplay.food_rice_satiation | Number: 0–100 pts | 25.0 | Satiation restored by rice. |
gameplay.food_chocolate_satiation | Number: 0–100 pts | 15.0 | Satiation restored by chocolate. |
gameplay.food_chocolate_happiness | Number: 0–100 pts | 15.0 | Happiness restored by chocolate. |
gameplay.food_chocolate_health_loss | Number: 0–100 pts | 10.0 | Health lost when eating chocolate. |
gameplay.food_vegetables_satiation | Number: 0–100 pts | 10.0 | Satiation restored by vegetables. |
gameplay.food_vegetables_health_gain | Number: 0–100 pts | 5.0 | Health restored by vegetables. |
gameplay.overfeeding_threshold | Number: 0–100 pts | 88.0 | Feeding above this satiation counts as overfeeding. |
Minigames
Whole-mod scope: config_overrides.
| Key | Type / range | Default | Meaning |
|---|---|---|---|
gameplay.game_win_happiness | Number: 0–100 pts | 25.0 | Happiness gained by winning a minigame. |
gameplay.game_loss_happiness | Number: 0–100 pts | 2.0 | Happiness gained after losing a minigame. |
gameplay.minigame_sweep_seconds | Number: 0.01–60 s | 1.0 | Duration of the easy Catch sweep. |
gameplay.minigame_sweep_medium_seconds | Number: 0.01–60 s | 0.8 | Duration of the medium Catch sweep. |
gameplay.minigame_sweep_fast_seconds | Number: 0.01–60 s | 0.6 | Duration of the fast Catch sweep. |
gameplay.minigame_rhythm_tolerance_seconds | Number: 0–10 s | 0.16 | Extra timing tolerance per rhythm tap. |
gameplay.minigame_rhythm_tolerance_ratio | Number: 0–10 x | 0.3 | Proportional timing tolerance per rhythm gap. |
gameplay.minigame_balance_seconds | Number: 0.1–600 s | 8.0 | Seconds the Balance minigame lasts. |
gameplay.minigame_balance_instability | Number: 0–100 x | 1.4 | How strongly the Balance ball pulls away from centre. |
gameplay.minigame_balance_gust_strength | Number: 0–100 x | 0.55 | Strength of random gusts in Balance. |
Gifts & Visitors
Whole-mod scope: config_overrides.
| Key | Type / range | Default | Meaning |
|---|---|---|---|
gameplay.gift_cooldown_seconds | Number: 1–10000000 s | 300.0 | Seconds between pet-gift attempts. |
gameplay.pet_gift_chance | Probability: 0–1 | 0.16666666666666666 | Chance that an eligible pet-gift attempt produces a gift. |
gameplay.visitor_gift_chance | Probability: 0–1 | 0.5 | Chance that an arriving visitor brings a gift. |
gameplay.minigame_gift_chance | Probability: 0–1 | 0.5 | Chance that a completed requested minigame grants a gift. |
gameplay.visit_chance | Probability: 0–1 | 0.75 | Chance that an eligible visit attempt brings a visitor. |
gameplay.visit_duration_seconds | Number: 1–10000000 s | 120.0 | Seconds a visitor stays on screen. |
gameplay.visit_interval_min_seconds | Number: 0–1000000000 s | 1200.0 | Shortest wait between automatic visit attempts. |
gameplay.visit_interval_max_seconds | Number: 0–1000000000 s | 2000.0 | Longest wait between automatic visit attempts. Must be at least the minimum. |
