Skip to content

Commit

Permalink
Allow insect regeneration (#45241)
Browse files Browse the repository at this point in the history
  • Loading branch information
Venera3 authored Nov 5, 2020
1 parent b46f066 commit 20d1078
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,8 @@ void monster::on_load()
if( regen <= 0 ) {
if( has_flag( MF_REVIVES ) ) {
regen = 1.0f / to_turns<int>( 1_hours );
} else if( made_of( material_id( "flesh" ) ) || made_of( material_id( "veggy" ) ) ) {
} else if( made_of( material_id( "flesh" ) ) || made_of( material_id( "iflesh" ) ) ||
made_of( material_id( "veggy" ) ) ) {
// Most living stuff here
regen = 0.25f / to_turns<int>( 1_hours );
}
Expand Down

0 comments on commit 20d1078

Please sign in to comment.