Clanfolk

MinMax Games Ltd. · Simulation

Clanfolk patch notes · Aug 10, 2022

Experiment

Update 6: Performance BOOST!

What's new in Update 6: Performance BOOST!: 47 changes to Clanfolk, released Aug 10, 2022.

Balance · 2

  • All foods are given an equal +2 priority offset so hauling is consistent but prioritized over normal items.

    food hauling priority
  • Clanfolk only go after spoiling food with higher desirability if it is in a stockpile, ending berry parades.

    spoiling food eating desirability

System · 27

  • Optimized roof support updater for blueprints, saving CPU when many roofs are active.

    roof support updater
  • A new internal build task sorting system prioritizes and culls build tasks better, fixing hitches with many build tasks.

    build task sorting
  • Window lighting was optimized.

    window lighting
  • The Attribute Manager gained a mass item finding system.

    attribute manager mass item finding
  • Clanfolk can now comfortably support 40 humans and 40 Livestock after performance work.

    unit population capacity
  • Haulable destination stockpiles are checked over time instead of on demand, reducing hitching.

    haulable destination stockpile check
  • Clear Tile and Harvest Tile tasks are segregated by related work skill to lessen the impact of large task masses.

    clear tile and harvest tile task segregation
  • A cached string system lowers memory usage in the Jobs Menu and reduces hitching.

    jobs menu string memory
  • The Closest Entity finder categorizes items so very large item counts are less of a CPU problem.

    closest entity finder item categorization
  • The haulable system was upgraded to handle large numbers of haulables late game.

    haulable system
  • CPU gains were applied so the task system updates faster at higher time scales, giving more consistent high-speed behavior.

    task system update speed at high time scale
  • The Tasks Menu Updater was upgraded to take 5x less CPU.

    tasks menu updater cpu cost
  • The Attribute Updater uses less memory and skips inactive attributes.

    attribute updater memory and activity
  • Feed object tasks only see valid target objects before expensive checks begin.

    feed object task check
  • A sanity checker was added to catch and repair error cases with haulable lists.

    haulable list sanity checking
  • Memory management with tilemaps was improved.

    tilemap memory management
  • Non Strict Priority checking was made more efficient.

    task checking performance
  • Tool finding code for large numbers of construction jobs was cached, giving large CPU savings.

    tool finding for construction job
  • A new high priority Livestock task manager ensures livestock get enough updates when eating with many livestock.

    livestock task manager
  • PackupManager tracks only the pack up object instead of all objects.

    packupmanager tracking
  • An update multiplier scales task manager updates by unit count versus a reference of 20, so 40 units gets double updates.

    task manager update multiplier
  • Entity distance searches around walls were optimized.

    entity distance searches around wall
  • Upgraded to a newer TextMesh Pro and disabled Text Scaling of all things to save CPU.

    text rendering
  • Better handling for paths taking a long time to return reduces re-pathing and improves task persistence.

    long path return handling
  • New Trapped Detection triggers when a unit is in a room under 50 tiles with no way out, preventing recurring expensive task calculations.

    trapped detection
  • A bunch of spam that bloats log files without useful info was removed.

    log file verbosity
  • Task checking for new tasks while other tasks are in progress now happens less often, saving CPU.

    new task checking frequency

UI · 2

  • A Trapped Alert was added.

    trapped alert
  • The French language was updated.

    french language

Fix · 16

  • Babies trapped state is no longer checked against doors since they are carried through doors and do not carry keys.

    babies trapped state vs door
  • The task update manager is time sliced to remove a one second hitch sometimes visible under heavy CPU load.

    one second task update hitch
  • Starvation of livestock at troughs is fixed by optimizations that speed up Livestock brain updates.; Starving animals at troughs is fixed.

    starving animals at trough
  • Build task cleanup in the optimized system no longer causes packup orders to be ignored.

    build task cleanup and packup order
  • Build tasks needing tile clearing now appear in the task list.

    skill priorities of tile-clearing build task
  • Seniors now receive the private room bonus.

    private room bonus for senior
  • Oddly drawn windows and vents caused by v0.249 are fixed.

    oddly drawn windows and vent
  • Haul now calculates its relative priority properly in non Strict Skill Priorities instead of everything being priority 5.

    haul relative priority in non strict skill priority
  • Broken auto farming introduced in V0.253 is fixed.

    broken auto farming
  • Broken baby carry caused by a v0.247 optimization is fixed, so babies no longer float.

    baby carry
  • Packing up an object on floors or roofs being built no longer permanently disables those build jobs.

    floor and roof build jobs disabled by packup
  • Bunny Dump at Butcher Block works when the Butcher Block is reserved and there is no corpse stockpile.

    bunny dump at butcher block
  • Task priorities on tasks on top of tiles needing clearing are no longer ignored in favor of the clearing task's skill priority.

    task priorities on tiles needing clearing
  • Non built crafting objects are no longer valid for auto supply checks, which could make auto supply fail.

    auto supply checks for unbuilt crafting object
  • A possible fix prevents a null entry being added to the haulable list after an item's destruction when timed just right.

    null haulable list entry
  • A problem introduced by v0.247 optimizations that prevented cooking is fixed.

    cooking