@@ -7001,15 +7001,6 @@ talk_effect_fun_t::func f_add_faction_trust( const JsonObject &jo, std::string_v
7001
7001
};
7002
7002
}
7003
7003
7004
- talk_effect_fun_t ::func f_lose_faction_trust ( const JsonObject &jo,
7005
- std::string_view member, std::string_view )
7006
- {
7007
- dbl_or_var dov = get_dbl_or_var ( jo, member );
7008
- return [dov]( dialogue & d ) {
7009
- d.actor ( true )->get_faction ()->trusts_u -= dov.evaluate ( d );
7010
- };
7011
- }
7012
-
7013
7004
talk_effect_fun_t ::func f_custom_light_level ( const JsonObject &jo,
7014
7005
std::string_view member, std::string_view )
7015
7006
{
@@ -7888,7 +7879,6 @@ parsers = {
7888
7879
{ " location_variable_adjust" , jarg::member, &talk_effect_fun::f_location_variable_adjust },
7889
7880
{ " u_buy_monster" , jarg::member, &talk_effect_fun::f_u_buy_monster },
7890
7881
{ " u_add_faction_trust" , jarg::member | jarg::array, &talk_effect_fun::f_add_faction_trust },
7891
- { " u_lose_faction_trust" , jarg::member | jarg::array, &talk_effect_fun::f_lose_faction_trust },
7892
7882
{ " npc_first_topic" , jarg::member, &talk_effect_fun::f_npc_first_topic },
7893
7883
{ " sound_effect" , jarg::member, &talk_effect_fun::f_sound_effect },
7894
7884
{ " give_achievement" , jarg::member, &talk_effect_fun::f_give_achievment },
0 commit comments