From 156a2f6aa357b81ab1620125bad8d61b51f6ce65 Mon Sep 17 00:00:00 2001 From: snipercup <50166150+snipercup@users.noreply.github.com> Date: Tue, 8 Oct 2019 20:52:44 +0200 Subject: [PATCH 1/2] Moved bluebell flower to obsolete --- data/json/items/generic.json | 13 ------------- data/json/items/obsolete.json | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/data/json/items/generic.json b/data/json/items/generic.json index 43dc3954c74b0..438dd84937493 100644 --- a/data/json/items/generic.json +++ b/data/json/items/generic.json @@ -1874,19 +1874,6 @@ "volume": 0, "price": 200 }, - { - "type": "GENERIC", - "id": "bluebell_flower", - "name": "bluebell", - "description": "A bluebell stalk with some petals.", - "weight": "40 g", - "to_hit": -3, - "color": "blue", - "symbol": ",", - "material": [ "veggy" ], - "volume": "250 ml", - "price": 0 - }, { "type": "GENERIC", "id": "bluebell_bud", diff --git a/data/json/items/obsolete.json b/data/json/items/obsolete.json index c00d4be2ca425..eb0d0bc578c20 100644 --- a/data/json/items/obsolete.json +++ b/data/json/items/obsolete.json @@ -652,5 +652,18 @@ "explosion": { "power": 88, "shrapnel": { "casing_mass": 3, "fragment_mass": 0.12 } } }, "flags": [ "BOMB", "TRADER_AVOID" ] + }, + { + "type": "GENERIC", + "id": "bluebell_flower", + "name": "bluebell", + "description": "A bluebell stalk with some petals.", + "weight": "40 g", + "to_hit": -3, + "color": "blue", + "symbol": ",", + "material": [ "veggy" ], + "volume": "250 ml", + "price": 0 } ] From 43d5a1c5131bc2fb7d07c02d2ee4b36ecd455b65 Mon Sep 17 00:00:00 2001 From: ZhilkinSerg Date: Tue, 8 Oct 2019 23:37:15 +0300 Subject: [PATCH 2/2] Fix astyle regression (#34570) --- src/player_display.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/player_display.cpp b/src/player_display.cpp index b9ce3881bacc1..8e3a4f173c1f9 100644 --- a/src/player_display.cpp +++ b/src/player_display.cpp @@ -1151,15 +1151,18 @@ void player::disp_info() g->weather.weather != WEATHER_SUNNY ) ) { effect_name_and_text.push_back( { _( "In Sunlight" ), _( "The sunlight irritates you.\n" - "Strength - 1; Dexterity - 1; Intelligence - 1; Perception - 1" ) } ); + "Strength - 1; Dexterity - 1; Intelligence - 1; Perception - 1" ) + } ); } else if( has_trait( trait_id( "TROGLO2" ) ) && g->is_in_sunlight( pos() ) ) { effect_name_and_text.push_back( { _( "In Sunlight" ), _( "The sunlight irritates you badly.\n" - "Strength - 2; Dexterity - 2; Intelligence - 2; Perception - 2" ) } ); + "Strength - 2; Dexterity - 2; Intelligence - 2; Perception - 2" ) + } ); } else if( has_trait( trait_id( "TROGLO3" ) ) && g->is_in_sunlight( pos() ) ) { effect_name_and_text.push_back( { _( "In Sunlight" ), _( "The sunlight irritates you terribly.\n" - "Strength - 4; Dexterity - 4; Intelligence - 4; Perception - 4" ) } ); + "Strength - 4; Dexterity - 4; Intelligence - 4; Perception - 4" ) + } ); } for( auto &elem : addictions ) {