====== Changelog ====== ===== API Changes ===== ==== Asset Classes ==== === Added === * ''[[:api:building_function_builder_workshop | BUILDING_FUNCTION_BUILDER_WORKSHOP]]'' * ''[[:api:building_game_condition_config | BUILDING_GAME_CONDITION_CONFIG]]'' === Other changes === * ''[[:api:building | BUILDING]]'' * Added properties * ''[[:api:BUILDING#isattachable | IsAttachable]]'' * ''[[:api:BUILDING#assetbuildingconditionconfiglist | AssetBuildingConditionConfigList]]'' * Removed properties * ''DataConstructionValidationConditionList'' * ''[[:api:building_function | BUILDING_FUNCTION]]'' * Added functions * ''[[:api:BUILDING_FUNCTION#oninit | onInit]]'' * ''[[:api:BUILDING_FUNCTION#onsetisactive | onSetIsActive]]'' * Deprecated functions * ''[[:api:BUILDING_FUNCTION#activatebuilding | activateBuilding]]'' * ''[[:api:building_function_house | BUILDING_FUNCTION_HOUSE]]'' * Added properties * ''[[:api:BUILDING_FUNCTION_HOUSE#showcapacity | ShowCapacity]]'' * ''[[:api:building_function_workplace | BUILDING_FUNCTION_WORKPLACE]]'' * Added properties * ''[[:api:BUILDING_FUNCTION_WORKPLACE#canassignworkerautomatically | CanAssignWorkerAutomatically]]'' * ''[[:api:change_privilege_mandate_type | CHANGE_PRIVILEGE_MANDATE_TYPE]]'' * Added properties * ''[[:api:CHANGE_PRIVILEGE_MANDATE_TYPE#relatedassetestate | RelatedAssetEstate]]'' * ''[[:api:game_rule_mandate | GAME_RULE_MANDATE]]'' * Added properties * ''[[:api:GAME_RULE_MANDATE#bailiffjobdisplayorderlist | BailiffJobDisplayOrderList]]'' * ''[[:api:influence_mandate_type | INFLUENCE_MANDATE_TYPE]]'' * Added properties * ''[[:api:INFLUENCE_MANDATE_TYPE#relatedassetestate | RelatedAssetEstate]]'' * ''[[:api:mandate_type | MANDATE_TYPE]]'' * Added properties * ''[[:api:MANDATE_TYPE#compatiblejoblist | CompatibleJobList]]'' * ''[[:api:MANDATE_TYPE#buttontooltipkey | ButtonTooltipKey]]'' * Changed functions * ''[[:api:MANDATE_TYPE#updatepossiblemandatelist | updatePossibleMandateList]]'' * ''[[:api:taxation_function | TAXATION_FUNCTION]]'' * Removed functions * ''collect'' * ''finalize'' * ''getMaximumAmountToCollect'' * ''getMinimalTimeBetweenVisits'' * ''getTaxedCount'' * ''init'' ---- ==== Data Classes ==== === Added === * ''[[:api:bailiff_instance | BAILIFF_INSTANCE]]'' * ''[[:api:bailiff_profile | BAILIFF_PROFILE]]'' * ''[[:api:game_condition_building | GAME_CONDITION_BUILDING]]'' === Other changes === * ''[[:api:building_information | BUILDING_INFORMATION]]'' * Added properties * ''[[:api:BUILDING_INFORMATION#overridendefaulttitlekey | OverridenDefaultTitleKey]]'' * ''[[:api:game_condition_building_function_assigned | GAME_CONDITION_BUILDING_FUNCTION_ASSIGNED]]'' * Added properties * ''[[:api:GAME_CONDITION_BUILDING_FUNCTION_ASSIGNED#functionmustbeactive | FunctionMustBeActive]]'' * ''[[:api:game_condition_building_reachable | GAME_CONDITION_BUILDING_REACHABLE]]'' * Added properties * ''[[:api:GAME_CONDITION_BUILDING_REACHABLE#requiresallzonetobenavigable | RequiresAllZoneToBeNavigable]]'' * Removed properties * ''BuiltPartsOnly'' * ''InvalidNavigableZoneMaterial'' * ''ValidNavigableZoneMaterial'' * ''[[:api:game_condition_trade_resource_quantity | GAME_CONDITION_TRADE_RESOURCE_QUANTITY]]'' * Added properties * ''[[:api:GAME_CONDITION_TRADE_RESOURCE_QUANTITY#tradetypefield | TradeTypeField]]'' * ''[[:api:mandate | MANDATE]]'' * Added functions * ''[[:api:MANDATE#getdurationinsec | getDurationInSec]]'' * ''[[:api:MANDATE#isactive | isActive]]'' * ''[[:api:MANDATE#getdelaybeforeenabledtimeratio | getDelayBeforeEnabledTimeRatio]]'' * ''[[:api:MANDATE#getdelaybeforeenabled | getDelayBeforeEnabled]]'' * ''[[:api:MANDATE#isvalid | isValid]]'' * Changed functions * ''[[:api:MANDATE#onstartclickcallback | onStartClickCallback]]'' ---- ==== Data Structures ==== === Other changes === * ''[[:api:color | color]]'' * Added functions * ''[[:api:color#setfromhsb | setFromHsb]]'' ---- ==== Behavior Tree Node Classes ==== === Added === * ''[[:api:setup_goto_workplace | SETUP_GOTO_WORKPLACE]]'' ---- ==== Engine Core ==== === Other changes === * ''[[:api:component_manager | COMPONENT_MANAGER]]'' * Added events * ''[[:api:COMPONENT_MANAGER#on_component_initialized | ON_COMPONENT_INITIALIZED]]'' * ''[[:api:COMPONENT_MANAGER#on_component_enabled | ON_COMPONENT_ENABLED]]'' * ''[[:api:COMPONENT_MANAGER#on_component_disabled | ON_COMPONENT_DISABLED]]'' * ''[[:api:COMPONENT_MANAGER#on_component_finalized | ON_COMPONENT_FINALIZED]]'' * ''[[:api:COMPONENT_MANAGER#on_component_destroyed | ON_COMPONENT_DESTROYED]]'' * ''[[:api:level | LEVEL]]'' * Removed functions * ''getMasterComponentManager'' ---- ==== Component Classes ==== === Added === * ''[[:api:comp_builder_workshop | COMP_BUILDER_WORKSHOP]]'' * ''[[:api:comp_mandate_manager | COMP_MANDATE_MANAGER]]'' === Deprecated === * ''[[:api:comp_mandate_office | COMP_MANDATE_OFFICE]]'' === Other changes === * ''[[:api:comp_agent | COMP_AGENT]]'' * Removed properties * ''BehaviorMessage'' * ''[[:api:comp_bailiff_office | COMP_BAILIFF_OFFICE]]'' * Added events * ''[[:api:COMP_BAILIFF_OFFICE#on_bailiff_removed | ON_BAILIFF_REMOVED]]'' * Removed events * ''ON_BAILIFF_NOMINATED'' * ''[[:api:comp_building | COMP_BUILDING]]'' * Removed properties * ''EditMode'' * Added functions * ''[[:api:COMP_BUILDING#geteditmode | getEditMode]]'' * Added events * ''[[:api:COMP_BUILDING#on_edit_mode_changed | ON_EDIT_MODE_CHANGED]]'' * ''[[:api:COMP_BUILDING#on_sub_building_added | ON_SUB_BUILDING_ADDED]]'' * ''[[:api:COMP_BUILDING#on_construction_condition_toggled | ON_CONSTRUCTION_CONDITION_TOGGLED]]'' * ''[[:api:comp_building_manager | COMP_BUILDING_MANAGER]]'' * Removed functions * ''unlockBuilding'' * ''[[:api:comp_mandate_office | COMP_MANDATE_OFFICE]]'' * Removed functions * ''completeMandate'' * ''getSelectedMandate'' * ''[[:api:comp_soldier | COMP_SOLDIER]]'' * Added functions * ''[[:api:COMP_SOLDIER#setassetweapon | setAssetWeapon]]'' * ''[[:api:COMP_SOLDIER#getassetweapon | getAssetWeapon]]'' * Removed functions * ''getWeapon'' * ''setWeapon'' * ''[[:api:comp_workplace_tax_office | COMP_WORKPLACE_TAX_OFFICE]]'' * Removed functions * ''depositTaxesCollected'' ---- ==== Enumerations ==== === Added === * ''[[:api:building_preview_type | BUILDING_PREVIEW_TYPE]]'' === Other changes === * ''[[:api:agent_issue | AGENT_ISSUE]]'' * Added values * ''WORKPLACE_IS_DISABLED'' * ''[[:api:building_status | BUILDING_STATUS]]'' * Added values * ''NONE'' * ''UNREACHABLE_PREVIEW'' * ''UNREACHABLE'' ---- ===== Assets Changes ===== ==== BLUEPRINT_MANDATE_TYPE ==== === Added === * ''[[:assets:blueprint_mandate_type | MANDATE_STUDY_BLUEPRINT]]'' ---- ==== BUILDING_FUNCTION_WORKPLACE ==== === Removed === * ''BUILDING_FUNCTION_BUILDER_WORKSHOP'' ---- ==== BUILDING_PART ==== === Added === * ''[[:assets:building_part | BUILDING_PART_MARKET_WHITE_TENT]]'' ---- ==== CHANGE_EDICT_MANDATE_TYPE ==== === Added === * ''[[:assets:change_edict_mandate_type | MANDATE_REVISE_EDICT]]'' ---- ==== CHANGE_PRIVILEGE_MANDATE_TYPE ==== === Added === * ''[[:assets:change_privilege_mandate_type | MANDATE_REVISE_PRIVILEGE_CLERGY]]'' * ''[[:assets:change_privilege_mandate_type | MANDATE_REVISE_PRIVILEGE_KINGDOM]]'' * ''[[:assets:change_privilege_mandate_type | MANDATE_REVISE_PRIVILEGE_LABOUR]]'' ---- ==== INFLUENCE_MANDATE_TYPE ==== === Added === * ''[[:assets:influence_mandate_type | MANDATE_INFLUENCE_CLERGY]]'' * ''[[:assets:influence_mandate_type | MANDATE_INFLUENCE_KINGDOM]]'' * ''[[:assets:influence_mandate_type | MANDATE_INFLUENCE_LABOUR]]'' ---- ==== PROMOTE_VILLAGER_MANDATE_TYPE ==== === Added === * ''[[:assets:promote_villager_mandate_type | MANDATE_PROMOTION]]'' ---- ==== PROSPECT_MANDATE_TYPE ==== === Added === * ''[[:assets:prospect_mandate_type | MANDATE_PROSPECTION]]'' ---- ==== SHOW_NARRATIVE_PANEL_MANDATE_TYPE ==== === Added === * ''[[:assets:show_narrative_panel_mandate_type | MANDATE_LEVY]]''