Lines Matching +defs:p +defs:d +defs:jo

117 time_duration calc_skill_training_time( const npc &p, const skill_id &skill )  in calc_skill_training_time()
123 int calc_skill_training_cost( const npc &p, const skill_id &skill ) in calc_skill_training_cost()
138 int calc_proficiency_training_cost( const npc &p, const proficiency_id &proficiency ) in calc_proficiency_training_cost()
155 int calc_ma_style_training_cost( const npc &p, const matype_id & /* id */ ) in calc_ma_style_training_cost()
729 dialogue d; in talk_to() local
1124 static int parse_mod( const dialogue &d, const std::string &attribute, const int factor ) in parse_mod()
1352 talk_data talk_response::create_option_line( const dialogue &d, const input_event &hotkey ) in create_option_line()
1565 talk_trial::talk_trial( const JsonObject &jo ) in talk_trial()
1598 static talk_topic load_inline_topic( const JsonObject &jo ) in load_inline_topic()
1607 function = [ptr]( const dialogue & d ) { in talk_effect_fun_t()
1616 function = [ptr]( const dialogue & d ) { in talk_effect_fun_t()
1625 function = [fun]( const dialogue & d ) { in talk_effect_fun_t()
1632 function = [role_id]( const dialogue & d ) { in set_companion_mission()
1637 void talk_effect_fun_t::set_add_effect( const JsonObject &jo, const std::string &member, in set_add_effect()
1653 function = [is_npc, new_effect, duration, permanent]( const dialogue & d ) { in set_add_effect()
1658 void talk_effect_fun_t::set_remove_effect( const JsonObject &jo, const std::string &member, in set_remove_effect()
1662 function = [is_npc, old_effect]( const dialogue & d ) { in set_remove_effect()
1667 void talk_effect_fun_t::set_add_trait( const JsonObject &jo, const std::string &member, in set_add_trait()
1671 function = [is_npc, new_trait]( const dialogue & d ) { in set_add_trait()
1676 void talk_effect_fun_t::set_remove_trait( const JsonObject &jo, const std::string &member, in set_remove_trait()
1680 function = [is_npc, old_trait]( const dialogue & d ) { in set_remove_trait()
1685 void talk_effect_fun_t::set_add_var( const JsonObject &jo, const std::string &member, in set_add_var()
1691 function = [is_npc, var_name, value, time_check]( const dialogue & d ) { in set_add_var()
1701 void talk_effect_fun_t::set_remove_var( const JsonObject &jo, const std::string &member, in set_remove_var()
1705 function = [is_npc, var_name]( const dialogue & d ) { in set_remove_var()
1710 void talk_effect_fun_t::set_adjust_var( const JsonObject &jo, const std::string &member, in set_adjust_var()
1715 function = [is_npc, var_name, value]( const dialogue & d ) { in set_adjust_var()
1730 function = [item_name, cost, count, container_name]( const dialogue & d ) { in set_u_buy_item()
1774 function = [item_name, cost, count]( const dialogue & d ) { in set_u_sell_item()
1800 void talk_effect_fun_t::set_consume_item( const JsonObject &jo, const std::string &member, in set_consume_item()
1806 function = [is_npc, item_name, count]( const dialogue & d ) { in set_consume_item()
1808 const auto consume_item = [&]( talker & p, const itype_id & item_name, int count ) { in set_consume_item()
1827 void talk_effect_fun_t::set_remove_item_with( const JsonObject &jo, const std::string &member, in set_remove_item_with()
1831 function = [is_npc, item_name]( const dialogue & d ) { in set_remove_item_with()
1841 function = [amount]( const dialogue & d ) { in set_u_spend_cash()
1848 function = [faction_name]( const dialogue & d ) { in set_npc_change_faction()
1855 function = [class_name]( const dialogue & d ) { in set_npc_change_class()
1862 function = [rep_change]( const dialogue & d ) { in set_change_faction_rep()
1869 function = [debt_modifiers]( const dialogue & d ) { in set_add_debt()
1884 function = [rule]( const dialogue & d ) { in set_toggle_npc_rule()
1891 function = [rule]( const dialogue & d ) { in set_set_npc_rule()
1898 function = [rule]( const dialogue & d ) { in set_clear_npc_rule()
1905 function = [setting]( const dialogue & d ) { in set_npc_engagement_rule()
1912 function = [setting]( const dialogue & d ) { in set_npc_aim_rule()
1919 function = [setting]( const dialogue & d ) { in set_npc_cbm_reserve_rule()
1926 function = [setting]( const dialogue & d ) { in set_npc_cbm_recharge_rule()
1931 void talk_effect_fun_t::set_mapgen_update( const JsonObject &jo, const std::string &member ) in set_mapgen_update()
1944 function = [target_params, update_ids]( const dialogue & d ) { in set_mapgen_update()
1956 function = [is_trade, is_npc, quantity]( const dialogue & d ) { in set_bulk_trade_accept()
2020 function = [to_use]( const dialogue & d ) { in set_npc_gets_item()
2027 function = [mission_id]( const dialogue & d ) { in set_add_mission()
2041 function = [monster_type_id, cost, count, pacified, name]( const dialogue & d ) { in set_u_buy_monster()
2058 function = [chat_topic]( const dialogue & d ) { in set_npc_first_topic()
2136 talk_effect_t::talk_effect_t( const JsonObject &jo ) in talk_effect_t()
2146 void talk_effect_t::parse_sub_effect( const JsonObject &jo ) in parse_sub_effect()
2306 void talk_effect_t::parse_string_effect( const std::string &effect_id, const JsonObject &jo ) in parse_string_effect()
2416 void talk_effect_t::load_effect( const JsonObject &jo ) in load_effect()
2470 talk_response::talk_response( const JsonObject &jo ) in talk_response()
2510 json_talk_repeat_response::json_talk_repeat_response( const JsonObject &jo ) in json_talk_repeat_response()
2544 json_talk_response::json_talk_response( const JsonObject &jo ) in json_talk_response()
2550 void json_talk_response::load_condition( const JsonObject &jo ) in load_condition()
2571 bool json_talk_response::gen_responses( dialogue &d, bool switch_done ) const in gen_responses()
2583 bool json_talk_response::gen_repeat_response( dialogue &d, const itype_id &item_id, in gen_repeat_response()
2601 const dialogue &d in translate_gendered_line()
2617 dynamic_line_t dynamic_line_t::from_member( const JsonObject &jo, in from_member()
2640 dynamic_line_t::dynamic_line_t( const JsonObject &jo ) in dynamic_line_t()
2657 function = [lines]( const dialogue & d ) { in dynamic_line_t()
2669 function = [&]( const dialogue & d ) { in dynamic_line_t()
2702 function = [line, relevant_genders]( const dialogue & d ) { in dynamic_line_t()
2716 function = [dcondition, yes, no]( const dialogue & d ) { in dynamic_line_t()
2723 function = [dcondition, yes_member, no]( const dialogue & d ) { in dynamic_line_t()
2732 function = [dcondition, yes, no]( const dialogue & d ) { in dynamic_line_t()
2758 function = [lines]( const dialogue & d ) { in dynamic_line_t()
2764 json_dynamic_line_effect::json_dynamic_line_effect( const JsonObject &jo, in json_dynamic_line_effect()
2776 condition = [varname, tmp_condition]( const dialogue & d ) { in json_dynamic_line_effect()
2779 std::function<void( const dialogue &d )> function = [varname]( const dialogue & d ) { in json_dynamic_line_effect()
2799 void json_talk_topic::load( const JsonObject &jo ) in load()
2915 void load_talk_topic( const JsonObject &jo ) in load_talk_topic()