# Can't find bonus\_effect

**URL:** <https://discourse.cataclysmdda.org/t/cant-find-bonus-effect/11491>\
**Category:** The Toolbox\
**Created:** [February 29, 2016, 4:32pm UTC](https://discourse.cataclysmdda.org/t/cant-find-bonus-effect/11491 "2016-02-29T16:32:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zombie11121](https://avatars.discourse-cdn.com/v4/letter/z/4af34b/32.png) [@zombie11121](https://discourse.cataclysmdda.org/u/zombie11121)\
**Post date:** [February 29, 2016, 4:32pm UTC](https://discourse.cataclysmdda.org/t/cant-find-bonus-effect/11491/1 "2016-02-29T16:32:59Z")

</div>

I have this bit of code for a mod that is supposed to change the base stats of the character

`function update_player_skills(bonus_effect,bonus_amount)
	player:remove_effect(bonus_effect)
    if bonus_amount > 0 then
        player:add_effect(bonus_effect, 1, "num_bp", true, bonus_amount)
    end
end`

I looked up on github but nothing comes up for bonus\_effect. Can anyone tell me where it is defined ?

edit: Found it, it was in a json file of said mod. Silly me
