Closed ConorYatesKoch closed 6 years ago
I'm interested in changing the value of the rewards of certain actions. Where would be best to look in the code for this?
For pickups the reward is set by adjusting the count in the spawnVars. See:
https://github.com/deepmind/lab/blob/832c50ee2a80b8b1e4a15fd60d1f8c1b7774c8ea/game_scripts/levels/tests/extra_entities_test.lua#L60
Other reward events can be overridden via the api:rewardOverride(kwargs) callback. See:
api:rewardOverride(kwargs)
https://github.com/deepmind/lab/blob/master/docs/developers/reference/lua_api.md#rewardoverridekwargs---int-or-nil
Thank you!
I'm interested in changing the value of the rewards of certain actions. Where would be best to look in the code for this?