Skip to content

Commit

Permalink
Add bear trap to monster inventory on its death
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-Pryanik committed Sep 19, 2024
1 parent eb5c0d9 commit 4a2ac38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3017,6 +3017,9 @@ void monster::die( Creature *nkiller )
add_item( item( "rope_6", calendar::turn_zero ) );
add_item( item( "snare_trigger", calendar::turn_zero ) );
}
if( has_effect( effect_beartrap ) ) {
add_item( item( "beartrap", calendar::turn_zero ) );
}
}

if( death_drops && !no_extra_death_drops ) {
Expand Down

0 comments on commit 4a2ac38

Please sign in to comment.