Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Win64, Conquest 6.1c Tweaks 1c.1.0 Can't fix the double spaced lines, sorry.

I was unable to harvest Dragon Bone even though it was listed a dungeon resource. The following error was in the log file:

**SCRIPT ERROR**: Invalid get index 'progress_formula' (on base: 'Dictionary').

   At: res://gui_modules/Mansion/Scripts/MansionJobModule.gd:272:update_resources() - Invalid get index 'progress_formula' (on base: 'Dictionary').

The problem is that Dragon Bone and Dragon leather do not have their work progress defined so they can't be harvested.

In assets/data/item.gd, all materials are defined. Those that can be harvested have the following 4 lines in their definition. 

  progress_per_item = 9,

  progress_formula = 'hunt_leather_hard',

  tool_type = 'hunt_knife',

  workstat = 'physics',

These are not present for Dragon Bone and Dragon Leather. The ones above are the ones I added for Dragon Leather. Adding these lines allows harvesting.

fixed in 1c.1.1 (i think, i did add progress formulas but didn't actually test it yet)