Alpha 15 develop-2860

Stonehearth Alpha 15: Faster, Better, Stronger
It’s the first appearance of Alpha 15 on our Steam latest (unstable) branch! Please welcome develop-2860.

This release is all about better performance. We have made literally hundreds of under-the-hood improvements, both large and small, to give you a game that runs more smoothly, lags less, has fewer bugs, and is just all-around snappier than ever before. You’ll find improvements in many aspects of the game, especially: All these taken together provide a game that’s faster, better, and more fun to play. Remember, this is a Steam unstable branch release; that means that though performance is improved, some things may not perform exactly as expected. They’re called bugs. Please report them in our forums at discourse.stonehearth.net.
 * Overall hearthling and settlement performance
 * Building upgrades (with more improvements coming in future alphas)
 * Inventory management
 * Gameplay

Here’s what’s new and notable in this release:

Moar performance? Moar hearthlings!
Territory and settlement management is much improved in Alpha 15. From enhanced pathfinding to better crafting to smarter enemy encounter placement, this release will allow you to build a bigger and better village than ever before, and run it smoothly.
 * Increase max citizens to 50 in Gameplay settings menu (default setting remains at 20).
 * Better support for larger settlements.
 * Further progress on idle hearthlings.
 * Optimize navgrid/sensor performance.
 * Overhaul the encounter placement code so that it properly respects the player’s territory and avoids placing encounters in tunnels and water.
 * Speed up camp placement 3-4x.
 * New citizens avoid arriving in hostile areas.
 * Move finding animals to the new placement code.
 * Farmageddon! Numerous farming improvements including: ensure that farmers keep harvesting a farm as long as as they can find another crop nearby to harvest. This fixes some ping-ponging issues and odd harvesting behavior.
 * Make it so if you have lost hearthlings past the initial 7, the net worth requirement for the next day will be lower.
 * Fix bugs in hydrology code that could result in sucking up huge amounts of memory or CPU.
 * Speed up physics code.
 * Fix engine error when loading a game that was saved in xray mode.
 * Add option in settings to show hearthling paths.
 * Make sure enemies that are killed are removed from other populations’ global vision. Helps combat music not get stuck after killing all the enemies.

Building a better hearthling tomorrow.
Alpha 15 boasts numerous foundational improvements (a little building humor there) to design and construction. You know those multi-story buildings you tried to get your hearthlings to build? Now they will! Well, probably. This is, after all, only Part One of significant upgrades to building, to be continued in Alpha 16 and beyond. Still, in this release, you’ll be able to tackle more sophisticated structures that build more quickly.
 * Split flooring by wall tops, so that dependencies are much more spatially correct.
 * If a floor isn’t dependent on anything or supported by anything, look around or above for dependents.
 * Provide support ladders for pieces of scaffolding that lack standability in their adjacent regions.
 * Dig many foundations instead of one MASSIVE one; this improves performance significantly.
 * Split really really big floors; see above.
 * Simplify and generalize ladder height computation.
 * Make sure we update the roof profile when computing its layout (and clipping existing building structures).
 * Misc building micro-optimizations.
 * Scaffolding now respects hearthling height.
 * Better, more consistent scaffolding merging and re-use.
 * Scaffolding can wait for a structure to complete before being placed on it.
 * Fix not building scaffolding for overhanging roofs.
 * Rebuild the templates with new floor tech.
 * Fix some logging issues with building.

We’re gonna clean up this town.
Let’s face it: your hearthlings are hoarders. They tend to amass lots and lots of stuff. And all that food, and raw materials, and crafted items, and loot can put a crimp in having a village run smoothly. TL;DR: too much stuff interferes with performance. That’s addressed in Alpha 15. There’s now an inventory cap (based on how many hearthlings a village has) — so now you need to think more carefully about what items you really need, and not just grab whole lot of wood and stone. (Plus, we’ll be adding gameplay elements around inventory in future releases.) Remember, a tidy village is a happy village.
 * Have inventory capacity be based on the max number of citizens you’ve ever reached, tunable per population.
 * Add an inventory item count to the bottom of the inventory tab in town overview.
 * Add a red warning if town inventory is full. Do not add items to town inventory if it is full.
 * Show a bulletin when your town inventory is full.
 * Bug fix for killing crafters and demoting crafters. Ingredients should end up on the floor.
 * Add event in inventory for when entity container has changed to help diagnose missing inventory items.
 * Create a crafter storage object for each crafter’s backpack. This allows the inventory to know that even if the crafter inventory’s object goes out of world, it is still in a storage.
 * Add warning for when an item becomes no longer in the inventory.
 * Micro-optimization to make restocking faster.

Let’s play.
Even with all the attention on performance, we haven’t forgotten to tune the gameplay and content aspects of Stonehearth. You’ll find a ton of tweaks, bug fixes, and new stuff for your playing pleasure.
 * More carpenter-crafted signs for various classes.
 * Add 4 wide stone door and recipe.
 * Fix bug that caused units to get stuck in doors.
 * Add a food shop to Rayya’s Children that sells cooking ingredients and animal feed.
 * Add sheep jerky and herbs to food cart. because why not?
 * Make flour and cornmeal both be buyable.
 * Reduce combat leash range for wolf pack, so they don’t get too far apart and hard to find. Reduce varanus HP a bit.
 * Make varanus skin buyable so RC can make courage potions.
 * Make necromancer crypt create a loot chest after it is destroyed, so items will not fall from the sky and all land at the same location.
 * Make sure town alert buffs aren’t persistent.
 * Make sure goblins don’t ask for gold chests in shakedown.
 * Fix for people not always equipping the best thing if their job changes.
 * Put equipment back into your inventory after it is unequipped.
 * Fix for things getting stuck on ladders again.
 * Allow shop’s rarity to be specified in json files and filter out items whose rarity does not match anything in the shop rarity table.
 * Add ‘earth’ resource category to stockpile filters. Remove ‘clay’ material tag from clay bricks. Fixes potter using clay bricks to make clay bricks.
 * Fix mason and blacksmith not mining.
 * Fix for harvest crop adjacent not handling rotten crops correctly.
 * Visual updates for building templates.
 * Added unique SFX for all of the brazier torches.
 * New sfx for some enemies.
 * Fix up some color inconsistencies in hair.
 * Add support for manually unlockable crafter recipes.
 * Patrolling buff should not be persistent.
 * Fix the collision shapes for the picket fence gate and cobblestone fence gate.
 * Fix starving buff staying on hearthlings even when they are not hungry.
 * Add can_start checks to simple caravan and returning trader encounters so they only appear if player can do a fair trade (has enough/few enough items).