diff --git a/src/activity_handlers.cpp b/src/activity_handlers.cpp index 97298f707999..6895f7d01f00 100644 --- a/src/activity_handlers.cpp +++ b/src/activity_handlers.cpp @@ -4131,6 +4131,16 @@ void activity_handlers::pry_nails_finish( player_activity *act, player *p ) boards = 3; newter = t_fence_post; p->add_msg_if_player( _( "You pry out the fence post." ) ); + } else if( type == t_window_reinforced_noglass ) { + nails = 16; + boards = 8; + newter = t_window_boarded_noglass; + p->add_msg_if_player( _( "You pry the boards from the window." ) ); + } else if( type == t_window_reinforced ) { + nails = 16; + boards = 8; + newter = t_window_boarded; + p->add_msg_if_player( _( "You pry the boards from the window." ) ); } else if( type == t_window_boarded ) { nails = 8; boards = 4; diff --git a/src/iuse.cpp b/src/iuse.cpp index 14f781d0b56e..926669214865 100644 --- a/src/iuse.cpp +++ b/src/iuse.cpp @@ -2387,6 +2387,8 @@ int iuse::hammer( player *p, item *it, bool, const tripoint & ) } const std::set allowed_ter_id { t_fence, + t_window_reinforced, + t_window_reinforced_noglass, t_window_boarded, t_window_boarded_noglass, t_door_boarded, @@ -2425,6 +2427,7 @@ int iuse::hammer( player *p, item *it, bool, const tripoint & ) } if( type == t_fence || type == t_window_boarded || type == t_window_boarded_noglass || + type == t_window_reinforced || type == t_window_reinforced_noglass || type == t_door_boarded || type == t_door_boarded_damaged || type == t_rdoor_boarded || type == t_rdoor_boarded_damaged || type == t_door_boarded_peep || type == t_door_boarded_damaged_peep ) {