Berry Bushes being picked, but stays pickable

Summary

Basically title, I can get infinite berries

Steps to reproduce:

I launched the game, base started with a few hearthlings on a cliff. Immediately built ladders and promoted a carpenter. I then started building a building as soon as the carpenter was promoted, sometime during the first building’s building process, the berry bushes were harvested, an error popped up, and the berry bushes became infinite

Notes:

release-868 (x64)[M]
radiant/modules/effects/effect_tracks.lua:41: bad argument #1 to ‘pairs’ (table expected, got nil)
stack traceback:
[C]: in function ‘pairs’
radiant/modules/effects/effect_tracks.lua:41: in function ‘__init’
radiant/modules/commons.lua:23: in function ‘EffectTracks’
radiant/modules/effects/effect_manager.lua:159: in function ‘_add_effect’
radiant/modules/effects/effect_manager.lua:138: in function ‘start_exact_effect’
radiant/modules/effects/effect_manager.lua:125: in function ‘start_effect’
radiant/modules/effects.lua:13: in function ‘run_effect’
…_resource_node/renewable_resource_node_component.lua:158: in function ‘spawn_resource’
…h/ai/actions/harvest_renewable_resource_adjacent.lua:44: in function <…h/ai/actions/harvest_renewable_resource_adjacent.lua:28>
[C]: ?
[C]: ?

[C]: in function ‘run’
stonehearth/components/ai/ai_component.lua:537: in function <stonehearth/components/ai/ai_component.lua:521>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:521: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:278: in function <stonehearth/services/server/threads/thread.lua:275>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:275: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

Version Number and Mods in use:

Content Build 2907771

Stonehearth 0.24.0 (release 868) x64 build

https://steamcommunity.com/sharedfiles/filedetails/?id=1384256249

System Information:
Windows 10
Fullscreen

Hello. r868.
Error occurs when I opened builder UI.
hotkey_save.zip (6.6 MB)

release-868 (x64)[M]
radiant/modules/effects/effect_tracks.lua:41: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: in function 'pairs'
	radiant/modules/effects/effect_tracks.lua:41: in function '__init'
	radiant/modules/commons.lua:23: in function 'EffectTracks'
	radiant/modules/effects/effect_manager.lua:159: in function '_add_effect'
	radiant/modules/effects/effect_manager.lua:138: in function 'start_exact_effect'
	radiant/modules/effects/effect_manager.lua:125: in function 'start_effect'
	radiant/modules/effects.lua:13: in function 'run_effect'
	..._resource_node/renewable_resource_node_component.lua:158: in function 'spawn_resource'
	...h/ai/actions/harvest_renewable_resource_adjacent.lua:44: in function <...h/ai/actions/harvest_renewable_resource_adjacent.lua:28>
	[C]: ?
	[C]: ?
	...
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:537: in function <stonehearth/components/ai/ai_component.lua:521>
	[C]: in function 'xpcall'
	radiant/modules/commons.lua:73: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:521: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:278: in function <stonehearth/services/server/threads/thread.lua:275>
	[C]: in function 'xpcall'
	radiant/modules/commons.lua:73: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:275: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

2nd

	release-868 (x64)[M]
stack traceback:
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/services/server/tasks/task_action.lua:198: in function <stonehearth/services/server/tasks/task_action.lua:195>
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	...nehearth/services/server/tasks/task_group_action.lua:137: in function <...nehearth/services/server/tasks/task_group_action.lua:125>
	[C]: ?
	[C]: ?
	...
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:537: in function <stonehearth/components/ai/ai_component.lua:521>
	[C]: in function 'xpcall'
	radiant/modules/commons.lua:73: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:521: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:278: in function <stonehearth/services/server/threads/thread.lua:275>
	[C]: in function 'xpcall'
	radiant/modules/commons.lua:73: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:275: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

This will be fixed in a hotfix by Monday.

1 Like

oo good to know :slight_smile: i got the same issue on a new game that just happened randomally at the start :slight_smile: