Stonehearth: Console Commands (Cheat Codes)

In Stonehearth, you pioneer a dwelling world full of heat, heroism, and thriller. Assist a small group of settlers construct a house for themselves in a forgotten land. You’ll want to ascertain a meals provide, construct shelter, defend your folks, monitor their moods, and discover a method to develop and broaden, going through challenges at each step.

The guts of the sport is metropolis constructing and administration. If you’re simply beginning out, you’ll must juggle duties like acquiring a sustainable meals provide, constructing shelter, and defending your fledgling settlement from raiders and different threats.

Stonehearth Console Instructions

Press Ctrl + C and choose the merchandise and enter command, or simply sort a command.

get_cost – Get the price of the chosen constructing, or arg 0. Utilization: get_cost object://sport/12345

query_pf – Runs the question pathfinder command. No arguments.

collect_cpu_profile – Collects a profile of the LUA code for the required length, in ms. Default is 30s. Utilization: collect_cpu_profile 150000

toggle_profile_long_ticks – Allows/disables per-game-tick profiling of the LUA code (recorded at any time when lua analysis takes greater than a sport tick.)

set_time – Units the sport time to the time handed in. Utilization: set_time 1:25PM

world_seed – Returns the world seed of the present world. Utilization: world_seed

reset – Resets the entity’s location to a correct one on the bottom. Utilization: reset

get_game_mode – Shows the sport mode of the present sport. Often both peaceable or regular

set_blink – Make your hearthlings transfer a little bit bit quicker….

dump_inaccessible_items – Dumps all of the gadgets in a city’s stock that aren’t on this planet or in storage. This stuff might be dumped across the city banner.

teleport – Teleports the chosen entity, or the handed in entity id. Will convey up a UI to pick out a location Utilization: teleport 12345

spawn_effect – Spawns an impact on the chosen entity, with the choice to loop the impact indefinitely. Can add a delay between spawn loops (in ms). Utilization: spawn_effect /stonehearth/knowledge/results/level_up true 1000

set_amenity – Adjustments participant amenity/relationship with the chosen entity’s faction (pleasant, impartial, or hostile). Utilization: set_amenity hostile

destroy_scaffolding – Destroys the scaffolding for the chosen constructing, or arg 0. Utilization: destroy_scaffolding object://sport/12345

add_gold – Provides gold to the present participant’s stock. A unfavourable worth will subtract gold. Utilization: add_gold 1000

add_exp – Provides expertise factors to the presently chosen entity’s job. If no exp quantity is given, will stage as much as the subsequent stage. Utilization: add_exp 1000

set_attr – Units the attribute on the chosen entity to the required worth. Utilization: set_attr well being 10

set – Units the attribute on the chosen entity to the required worth. Utilization: set well being 10

set_game_speed – Units the sport velocity to the default sport velocity multiplied by the required quantity. Utilization: set_game_speed 5

reset_location – Resets the entity’s location to a correct one on the bottom. May move in a brand new location. Utilization: reset_location {elective x y z}

change_score – Adjustments the required rating on the chosen entity by the required quantity. Utilization: change_score vitamin -10

reset_scores – Resets all of the scores on the chosen entity to their beginning values. Utilization: reset_scores

add_buff – Add the required buff uri to the presently chosen entity. Utilization: add_buff stonehearth:buffs:ravenous

add_thought – Add the required thought key (format is mod_name:ideas:class:..) to the presently chosen entity. Utilization: add_thought stonehearth:ideas:starvation:hungry

remove_thought – Take away the required thought key (format is mod_name:thought_type:class:title) from the presently chosen entity. Utilization: remove_thought stonehearth:ideas:starvation:hungry

set_happiness – Units the present happiness of the presently chosen entity.

remove_buff – Take away the required buff uri from the presently chosen entity. Utilization: remove_buff stonehearth:buffs:ravenous

promote_to – Immediately promote the chosen hearthling to the required job. Utilization: promote_to footman

add_citizen – Add a brand new hearthling to your city. Utilization: add_citizen opt_promote_to

dump_backpack – Immediately drops on to the bottom all gadgets within the chosen hearthling’s backpack. Utilization: dump_backpack

show_untranslated – Use to show untranslated strings with *** round them. Utilization: show_untranslated true/false

hot_reload – Clears the json cache in order that modified json recordsdata on the consumer will reload once more. Utilization: hot_reload

add_journal – Pressure add a journal entry for the chosen hearthling. Utilization: add_journal goals

reproduce – Choose a pasture and power that pasture to breed an animal. Utilization: reproduce

develop – Tells the chosen entity to develop. Both farm crops or animals Ex: Make a lamb develop right into a sheep. Utilization: develop

renew – Tells the chosen entity to resume its useful resource. Ex: Make sheep develop wool once more or depleeted silkweed develop. Utilization: renew

show_item_ids – Makes it so merchandise palettes will present an inventory of all of the merchandise ids in its record of things. Utilization: show_item_ids

decay – Make a meals decay instantly. Utilization: decay

get_entity_info – Return data about an entity, even when the entity has been destroyed. Go in id of the entity. Utilization: get_entity_info 82215

get_score – Get the city’s rating for specified rating sort. Utilization: get_score military_strength

make_hungry – Makes the chosen entity hungry if the entity has the energy attribute. The entity will attempt to eat if it has a calorie observer. Utilization: make_hungry

make_full – Makes the chosen entity full if the entity has the energy attribute. If no entity chosen, units attribute to each citizen in your city. Utilization: make_full

make_sleepy – Makes the chosen entity exhaustedly sleepy if the entity has the sleepiness attribute. The entity will attempt to sleep if it has a sleepiness observer. Utilization: make_sleepy

hotload_manifest – sizzling load a manifest

load_entity_tracker – Tells the debugtools entity tracker to load up all of the entities. you’ll be able to then examine them within the object browser after typing ‘debugtools’

make_hostile – Makes the participant hostile with the chosen entity’s faction

make_neutral – Makes the participant hostile with the chosen entity’s faction

make_friendly – Makes the participant hostile with the chosen entity’s faction

destroy_immediately – Destroy an entity instantly. Won’t run different code that usually runs when somebody is killed, like drop loot, and so on. Arg 0 is id of the entity. If no argument is supplied, destroys the presently chosen entity. Utilization: destroy_immediately 12345

destroy_npc_stockpiles – Destroys stockpiles of the npc participant (Arg 0). If no argument is supplied, destroys stockpiles of all npcs. Utilization: destroy_npc_stockpiles goblins

launch – releases the pet in a bait lure

get_global_vision – Returns record of all objects in international imaginative and prescient of the caller’s inhabitants

get_current_interaction – Will get present interplay of chosen entity

ai_reconsider – Calls rethink on the chosen entity

fill_storage – Fills the chosen storage with the required uri. If no uri specified, defaults to oak logs. Utilization: fill_storage stonehearth:assets:wooden:oak_log

now – Returns radiant.gamestate.now()

spawn_encounter – Spawns the encounter specified. WARNING: Just for testing functions, could trigger lasting points if sport is saved after utilizing cmd. Arguments must be: marketing campaign, encounter, arc. Utilization: spawn_encounter ambient_threats create_necromancer_crypt set off

increase_city_tier – Will increase the town tier of the settlement by 1

fixup_components – If there are any elements lacking on this entity, we’ll try so as to add them

select_storage – Choose’s the storage that comprises the entity, if it has one.

unlock – Manually unlocks the given crop or recipe for the given job. Instance utilization: unlock pumpkin stonehearth:jobs:farmer

toggle_select_building_subpart – Manually unlocks the given crop or recipe for the given job. Instance utilization: unlock pumpkin stonehearth:jobs:farmer

print_ai_stack – prints the ai’s present coroutine stack hint

dump_cache_stats – Shows spatial cache stats.

dump_memory_stats – Dumps a desk of all tracked consumer and server reminiscence

dump_trace_stats – Dumps a desk of all tracked consumer and server reminiscence

destroy_all – Destroy all entities with the identical uri as the chosen entity. Be aware: Should load up the Entity Tracker first.

Leave a Reply

Your email address will not be published. Required fields are marked *