5 auto leader_per =
state.world.leader_get_personality(lid);
6 auto leader_bak =
state.world.leader_get_background(lid);
7 auto attack =
state.world.leader_trait_get_attack(leader_per) +
state.world.leader_trait_get_attack(leader_bak);
8 auto organisation =
state.world.leader_trait_get_organisation(leader_per) +
state.world.leader_trait_get_organisation(leader_bak);
9 auto morale =
state.world.leader_trait_get_morale(leader_per) +
state.world.leader_trait_get_morale(leader_bak);
10 auto defense =
state.world.leader_trait_get_defense(leader_per) +
state.world.leader_trait_get_defense(leader_bak);
11 auto reconnaissance =
state.world.leader_trait_get_reconnaissance(leader_per) +
state.world.leader_trait_get_reconnaissance(leader_bak);
12 auto speed =
state.world.leader_trait_get_speed(leader_per) +
state.world.leader_trait_get_speed(leader_bak);
13 auto experience =
state.world.leader_trait_get_experience(leader_per) +
state.world.leader_trait_get_experience(leader_bak);
14 auto reliability =
state.world.leader_trait_get_reliability(leader_per) +
state.world.leader_trait_get_reliability(leader_bak);
52 if(organisation != 0) {
56 if(organisation > 0) {
64 if(reconnaissance != 0) {
68 if(reconnaissance > 0) {
115 auto lname =
state.world.leader_get_name(lid);
116 auto resolved =
state.to_string_view(lname);
void add_to_layout_box(sys::state &state, layout_base &dest, layout_box &box, embedded_flag ico)
layout_box open_layout_box(layout_base &dest, int32_t indent)
void localised_format_box(sys::state &state, layout_base &dest, layout_box &box, std::string_view key, text::substitution_map const &sub)
void add_space_to_layout_box(sys::state &state, layout_base &dest, layout_box &box)
void close_layout_box(columnar_layout &dest, layout_box &box)
void display_leader_attributes(sys::state &state, dcon::leader_id lid, text::layout_base &contents, int32_t indent)
void display_leader_full(sys::state &state, dcon::leader_id lid, text::layout_base &contents, int32_t indent)