Stonehearth Console Commands (Cheat Codes)

Stonehearth is a popular city building game specially designed for Windows and Mac PC. It was released in 2018 for players all over the globe.  The game takes place in a procedurally generated world where you will need to manage the people of your colony. Find some resources for them and food to eat. You also have to give shelter for them to live and protect them from the attacks of deadly creatures. Assign different jobs to the people of the colony according to their abilities like building, crafting and construction. Your main goal is to provide all the basic necessities to the people and give them the best city to live in. 

CommandsDescription
add_buffYou can use this command to add your specified buff uri to the entity that has been currently selected. Used as : add_buff stonehearth:buffs:starving
add_expRedeem this console command in Stonehearth to add experience points to job of the presently-selected entity.
add_goldYou can use this command to add gold to the inventory of the current player. If you enter a negative value, the gold will subtract.
change_scoreRedeem this console command to change a specified score on the selected entity by a specific amount.
collect_cpu_profileYou can use this command to collect LUA code profile for the particular duration. This duration is in ms, and its default is 30s.
destroy_allRedeem this console in Stonehearth results in the destruction of all the entities that have the same url as the selected entity. To use this command, you first need to open the Entity Tracker.
destroy_scaffoldingYou can use this command to destroy the scaffolding of a selected building, or arg 0. Used as : destroy_scaffolding object://game/12345
dump_cache_statsRedeem this console command to display spatial cache stats.
dump_inaccessible_itemsYou can use this command to dump all towm inventory items that aren’t in storage. It will also dump items that are not in the world. The items will be dumped around the town banner.
dump_memory_statsRedeem this console command in Stonehearth to dump of a table with all tracked server and client memory.
dump_trace_statsYou can use this command to dump of a table with all tracked server and client memory.
get_costRedeem this console command to get the cost of the building you selected.
get_entity_infoYou can use this command to acquire all information about an entity even if it has been destroyed. Used as : get_entity_info 82215
get_game_modeRedeem this console to display the game mode of the current game. The mode can be either peaceful or normal.
growYou can use this command to tell your selected entity to grow. For example, you can use this command to make a lamb grow into a sheep.
make_fullRedeem this console command will make your selected entity full if it has the calorie attribute.
make_hungryYou can use this command to make your selected entity hungry if it has the calorie attribute. Used as : make_hungry
print_ai_stackRedeem this console is to print the current coroutine stack trace of the ai.
query_pfYou can use this command to run the query pathfinder command without any arguments in Stonehearth.
renewRedeem this console command will make the selected entity renew its source.
reproduceYou can use this command in Stonehearth after selecting a pasture forces that pasture to reproduce an animal.
resetRedeem this console command will reset the location of the entity to a proper one on the ground.
reset_locationYou can use this command to reset the location of an entity. Used as reset_location {optional x y z}.
reset_scoresRedeem this console command will reset the scores of the selected entity to their starting values. Used as : reset_scores
select_storageYou can use this command to select the storage that contains the selected entity, if it has one.
setRedeem this console command to set the attribute of a selected entity to a specific value. For example, set health 10
set_amenityYou can use this command to change the player’s relationship or amenity with the faction of the selected entity.
set_attrRedeem this console command to set the attribute for the selected entity to a specific value.
set_blinkYou can use this command to enable your hearthlings to move a little quicker.
set_game_speedRedeem this console command to set the speed of the game to your specified amount multiplied with the default game speed.
set_timeYou can use this command to set the game time to the time passed in.
spawn_effectRedeem this console command to spawn of an effect on the selected entity. You will also have the option to loop the effect for an indefinite period of time.
teleportYou can use this command to teleport the entity you have selected or passed in the entity id.
toggle_profile_long_ticksRedeem this console in Stonehearth to enable or disable the per-game-tick profiling of the LUA code.
world_seedYou can use this command to return the current world’s world seed.
world_seedRedeem this console command will return the world seed of the current world.

How to enable the cheat codes in Stonehearth?

If you want to use the cheats in Stonehearth, then you have to follow the steps below:

  1. In order to enter the cheat codes, press Ctrl and C button on your keyboard first. 
  2. Then you will be able to use the cheats.
Leave a Reply

Your email address will not be published.