Where do you find the files that calculate net_worth?

I’ve tried changing the value of objects in json files in the entities folder, but that just changed the sell value without changing the net_worth of my town.

It’s a bit complicated, but the short version is, in inventory_service.lua for most things. You can also look at score_service.lua.