Patches/Patch 0.1.0r14

# Official patch notes

Here are patch notes for Alpha release 14, which we’ve just uploaded to Steam. The “14″ refers to our own internal build number. Obviously this is not the 14th release of the Alpha. ;)

* Greatly optimized path finding, especially when building many structures.
* Fixed a bug which would sometimes cause the game to crash when building walls.
* Increased the length of a day by 50%
* Added a task manager in the bottom-right corner to track CPU usage.
* Removed the debug keys be default. Set “enable\_debug\_keys” to true in your user\_settings.json file to turn them back on.

# Confirmed

**Greatly optimized path finding, especially when building many structures.**

* Different Files in Stonehearth/mods/radiant/modules/pathfinder
	+ [change] pathfinder\_wrapper.luac
* Different Files in Stonehearth/mods/radiant/modules
	+ [change] pathfinder.luac
* Different Files in Stonehearth/mods/stonehearth/ai/actions
	+ [change] admire\_fire\_action.luac
	+ [change] eat\_food\_action.luac
	+ [change] fill\_outbox\_action.luac
	+ [change] goto\_entity\_action.luac
	+ [change] sleep\_action.luac
	+ [change] find\_food\_action.luac
	+ [change] goto\_location\_action.luac
	+ [change] carry\_item\_on\_path\_to.luac
* Different Files in Stonehearth/mods/stonehearth/components/ai
	+ [change] ai\_component.luac

**Fixed a bug which would sometimes cause the game to crash when building walls.**

* Different Files in Stonehearth/horde/shaders
	+ [change] blueprint\_gridlines.shader

**Increased the length of a day by 50%**

* Different Files in Stonehearth/mods/stonehearth/services/calendar
	+ [change] calendar\_constants.json
		- *changes ticks\_per\_second from 6 to 9*

**Added a task manager in the bottom-right corner to track CPU usage.**

* Files only in 0.1.0.r14 at Stonehearth/mods/stonehearth/ui/game
	+ [add] task\_manager
* Different Files in Stonehearth/mods/stonehearth/ui/game
	+ [change] game.js
		- *Adds 'StonehearthTaskManagerView' to views.complete*

**Removed the debug keys be default. Set “enable\_debug\_keys” to true in your user\_settings.json file to turn them back on.**

* Different Files in Stonehearth
	+ [change] Stonehearth.exe

# Undocumented Changes

**Some items might not be live in game.**

**Some items could be related to official patch notes but unable to confirm**

**Captures all the changes in the stonehearth mod**

* Different Files in Stonehearth/mods/stonehearth
	+ [change] manifest.json

**Gives Rabbit idle\_look\_around effect and action of follow\_leash**

* Different Files in Stonehearth/mods/stonehearth/entities/critters/rabbit
	+ [change] rabbit.json

**Changes firepit region\_collision\_shape**

* Different Files in Stonehearth/mods/stonehearth/entities/gizmos/firepit
	+ [change] firepit.json

**Changes the music played after sunset from summer\_day to summer\_night**

* Different Files in Stonehearth/mods/stonehearth/ui/game/clock\_widget
	+ [change] clock\_widget.js

**Worker Tasks and Schedules**

* Different Files in Stonehearth/mods/stonehearth/services/worker\_scheduler
	+ [change] worker\_task.luac
		- *checking for situations where number of workers exceeds allowable maximum workers*
	+ [change] worker\_scheduler.luac
		- *Removed assertion tasks in 'start\_worker\_task' and 'stop\_worker\_task'*

**General changes**

* Different Files in Stonehearth/mods/stonehearth/ai/actions
	+ [change] worker\_light\_fire\_action.luac
		- *added debugging entries*
	+ [change] idle\_action.luac
		- *added checking for boredom effects on entities*
	+ [change] gather\_and\_craft\_action.luac
		- *error check for if a valid item or item*
	+ [change] wander\_action.luac
		- *added 'on\_poll', 'stop', and 'reset' functions*
* Different Files in Stonehearth/mods/stonehearth/components/workshop
	+ [change] craft\_order.luac
		- *added check to ensure the item is valid when searching for ingredients for crafting*
* Different Files in Stonehearth/mods/stonehearth/services/personality
	+ [change] personality\_service.luac
		- *Removed variable num\_personalities\_used*
		- *Removed static generation of a personality use table; now generates on the fly using random generation*
* Different Files in Stonehearth/mods/stonehearth/services/world\_generation
	+ [change] landscaper.luac
		- *Modified "create\_boulder" function to make the chip\_size dynamic instead of statically 2*
* Different Files in Stonehearth/mods/stonehearth/components/firepit
	+ [change] firepit\_component.luac
		- *Added debug logging*

**Unknown changes and effects**

* Different Files in Stonehearth
	+ [change] crash\_reporter.exe
* Files only in 0.1.0r10 at Stonehearth
	+ [delete] animations
	+ [delete] stonehearth.ini
	+ [delete] horde3d\_log.html
* Files only in 0.1.0r10 at Stonehearth/horde/materials
	+ [delete] cubemitterBatch.material.xml
* Different Files in Stonehearth/mods/stonehearth/ui/game/event\_log
	+ [change] event\_log.less
* Different Files in Stonehearth/mods/stonehearth/ui/shell/title
	+ [change] title.js
* Different Files in Stonehearth/mods/stonehearth/call\_handlers
	+ [change] workshop\_call\_handler.luac

# Raw Change Log

Section utilized when initial poster doesn't have time to try and process all the changes.

# References

1. ↑ http://stonehearth.net/2014/01/02/stonehearth-revision-12-now-available-on-steam/