diff --git a/data/json/flags.json b/data/json/flags.json index c8d081ef9b792..a110f4f20f7d4 100644 --- a/data/json/flags.json +++ b/data/json/flags.json @@ -1730,6 +1730,10 @@ "id": "TOUGH_FEET", "type": "json_flag" }, + { + "id": "PAIN_IMMUNE", + "type": "json_flag" + }, { "id": "TOURNIQUET", "type": "json_flag" diff --git a/src/character.cpp b/src/character.cpp index aeb1f2421bd4d..735a4d9826e2c 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -313,6 +313,7 @@ static const json_character_flag json_flag_NON_THRESH( "NON_THRESH" ); static const json_character_flag json_flag_NO_DISEASE( "NO_DISEASE" ); static const json_character_flag json_flag_NO_RADIATION( "NO_RADIATION" ); static const json_character_flag json_flag_NO_THIRST( "NO_THIRST" ); +static const json_character_flag json_flag_PAIN_IMMUNE( "PAIN_IMMUNE" ); static const json_character_flag json_flag_PRED2( "PRED2" ); static const json_character_flag json_flag_PRED3( "PRED3" ); static const json_character_flag json_flag_PRED4( "PRED4" ); diff --git a/src/flag.cpp b/src/flag.cpp index d54960af76116..412ee9de2a89a 100644 --- a/src/flag.cpp +++ b/src/flag.cpp @@ -228,6 +228,7 @@ const flag_id flag_ORGANIC( "ORGANIC" ); const flag_id flag_OUTER( "OUTER" ); const flag_id flag_OVERSIZE( "OVERSIZE" ); const flag_id flag_PADDED( "PADDED" ); +const flag_id flag_PAIN_IMMUNE( "PAIN_IMMUNE" ); const flag_id flag_PALS_LARGE( "PALS_LARGE" ); const flag_id flag_PALS_MEDIUM( "PALS_MEDIUM" ); const flag_id flag_PALS_SMALL( "PALS_SMALL" ); diff --git a/src/flag.h b/src/flag.h index a3f566f460acb..54b454ea4dde0 100644 --- a/src/flag.h +++ b/src/flag.h @@ -234,6 +234,7 @@ extern const flag_id flag_ORGANIC; extern const flag_id flag_OUTER; extern const flag_id flag_OVERSIZE; extern const flag_id flag_PADDED; +extern const flag_id flag_PAIN_IMMUNE; extern const flag_id flag_PALS_SMALL; extern const flag_id flag_PALS_MEDIUM; extern const flag_id flag_PALS_LARGE;