Code: Select all
for i=1, math.floor(caches_count/2) do
create_random_stash(true,"stash")
end
Code: Select all
local max_weight = math.random(80,130)
Also, in coc_treasure_manager.script, at the top it says
but there is no mention of the word 'cache' in the resulting .lua file.To debug the actual results, start a new game. Then while in the loadscreen menu ctrl+left-click on the new 'autosave'. You
will find the <filename>.lua in your savegame folder. Search the file for 'caches'
Thanks!