// LonaCraft base and raid config: your own changes. The mod never writes this file. // Read when the game starts (restart after editing). Config/Bases_defaults.json (written by the // game, do not edit it) lists every key with its default: copy only the keys you change into // the same section below. Lines starting with // are comments. A mistake skips that entry with a // line in the console (never a message box); a broken file is not used at all. // // "pieces": {"W" palisade wall, "S" stone wall, "D" wooden door, "SD" a door set in stone walls} // "hp" full HP of the piece (1 or more) // "armour" taken off every raider's hit, a hit always does at least 1 // "repair": "item" (item name used per repair), "hp" (HP one repair gives back), // "frames" (time a repair takes, 60 frames = 1 second), // "blocked_after_hit_frames" (no repair this long after the piece was hit) // "raids": // "enabled" false switches raids off // "danger_per_value", "danger_cap" bonus to the game's danger roll per nap on a base: // min(cap, base value x danger_per_value); value = walls // + 2 x doors + 3 x furniture // "night_only" true: a raid rolled while napping at night keeps the night // "grace_frames", "dog_extra_frames" warning time before they move (dog companion: more) // "give_up_frames" siege time without a breach before they leave // "retreat_frames" time they get to walk off before they vanish // "swing_frames", "swing_rand" a raider hits every swing_frames + 0..swing_rand frames // "spawn_min_distance" tiles between the base and where raiders appear // "door_bias" share of raiders that appear on the side of the door // "extra_raider_per_value", "extra_raiders_max", "max_raiders" bigger bases, more raiders // "min_breach_atk" raiders weaker than this do not attack walls // "refuse_nap" true: no nap while a raid is on // "hostiles" true: any hostile that cannot reach Lona through the walls attacks // them (the game's own night group too); false: only raiders // "breach" {"Race": factor}: damage factor on walls, 0 or missing = cannot // "scenarios" {"name": {"regions": [...], "groups": {"Group": weight}, // "grace_frames": n, "door_bias": 0..1}}; only the fields you change // "away": raids on a base while Lona is elsewhere (README "Away raids") // "enabled" false switches them off // "chance", "value_bonus_per", "value_bonus_cap" % a night: chance + min(cap, value / per) // "scenario_mult" {"scenario": multiplier} on that chance (road, house, sewer 1.5) // "grace_days", "cooldown_days" safe days after a base is founded / after an away raid // "catchup_days" at most this many days rolled after a long sleep // "swings", "per_extra_breacher", "breacher_cap", "spread", "difficulty_scale" blows a // night: swings x min(cap, 1 + per_extra x (breakers - 1)) x (1 +- spread) // x (1 + WorldDifficulty x difficulty_scale) // "loot_fraction", "carry_per_looter" share of a chest's worth taken, carry per raider // "smash", "smash_station", "smash_cap" chance a reached piece is smashed (station), most a raid // "reports_kept" reports kept per base // "looters" races that steal; the others only smash // "mercs": the guild's squad (README "Mercenaries") // "enabled", "coin" (item name), "price_per_day", "day_choices" (list of day counts) // "squad_power" strength against an away raid (band: atk x health / 100 summed) // "deter" multiplier on the away-raid chance where they are posted // "down_days" days a fallen or beaten member is out // "rest": how Lona sleeps (README "Rest") // "enabled" false switches the rest tiers, the chest meal and the bath off // "ground_sta_mult", "ground_sta_cap_pct", "ground_health_mult" a nap on the bare ground: // stamina gain x mult, never above cap % of max; health gain x mult // "ground_mood", "ground_dirt", "ground_sick_chance", "ground_danger" ground: mood taken, // extra dirt, % chance of feeling sick, danger added before the roll // "bed_mood", "bed_roll_mult" a bed inside walls: mood given, danger factor for that roll // "meal_sat" satiety points of cooked dishes that make one meal from a chest // "food_on_bedroll", "bath_on_bedroll" true: the chest meal / the bath on a Bedroll too // "mystery_dishes", "human_dishes" true: those dishes count as a meal too // "maid": the maid from Boss Mama (README "Maid") // "enabled", "hire_fee" (coins at hire), "coin" (item name), "pay" (coins a day, taken from a // chest inside the walls), "grace_days" (unpaid days before she leaves), // "catchup_days" (days worked out after a long sleep) // "dishes_per_day", "pantry_cap" dishes she cooks a morning, and no more while the chests // inside the walls hold that many cooked dishes // "cook_skill" stands in for Lona's survival in the recipes' skill checks // "need_fire" true: no cooking without a Stove or Cooking Fire inside the walls // "wander", "flee_radius" tiles she strays from her post; a hostile this close: she hides // "away_kill" chance she dies when an away raid reaches her room // "difficulty": how hard the base systems are (README "Difficulty"). Not tied to the game's own // HARD / HELL / DOOM mode: pick it here (the game's HELL and DOOM add danger of their own). // "level" "hard" (the numbers above, as they are), "hell" or "doom" // "hard", "hell", "doom" one table each: a knob ending in _add is added to the number it // scales, one ending in _mult multiplies it (see Bases_defaults.json // for every knob and README "Difficulty" for what each one scales) // "base_danger" {"lower": {...}, "higher": {...}}: a base's own Danger step (its // world-map tile menu), on top of the level // // Examples (copy without the //): // "pieces": {"W": {"hp": 800}}, // "raids": {"give_up_frames": 7200, "breach": {"Undead": 0.5}} // "away": {"chance": 5, "smash_cap": 1}, // "mercs": {"price_per_day": 2}, // "rest": {"ground_sick_chance": 0}, // "maid": {"dishes_per_day": 3}, // "difficulty": {"level": "hell", "hell": {"roll_add": 2}} { "pieces": { }, "repair": { }, "raids": { }, "away": { }, "mercs": { }, "rest": { }, "maid": { }, "difficulty": { "level": "hard" } }