Skip to content

Commit a418b94

Browse files
committed
Make scope_t not const& + implement more execution callbacks
1 parent 407f8da commit a418b94

File tree

4 files changed

+372
-347
lines changed

4 files changed

+372
-347
lines changed

src/openvic-simulation/country/CountryInstance.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ CountryInstance::CountryInstance(
3939
colour { ERROR_COLOUR },
4040
capital { nullptr },
4141
country_flags {},
42+
ai { true },
4243
releasable_vassal { true },
4344
country_status { COUNTRY_STATUS_UNCIVILISED },
4445
lose_great_power_date {},

src/openvic-simulation/country/CountryInstance.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ namespace OpenVic {
7979
colour_t PROPERTY(colour); // Cached to avoid searching government overrides for every province
8080
ProvinceInstance const* PROPERTY(capital);
8181
string_set_t PROPERTY(country_flags);
82+
bool PROPERTY_CUSTOM_PREFIX(ai, is);
8283
bool PROPERTY_CUSTOM_PREFIX(releasable_vassal, is);
8384

8485
country_status_t PROPERTY(country_status);

0 commit comments

Comments
 (0)