====== BUILDING_PART ====== **Category**: Asset Parent class: [[:api:asset|ASSET]]\\ //[[:annotations#cloneable|Cloneable]]// [[:assets:building_part| List of BUILDING_PART assets]] ===== Properties ===== ---- ==== Name ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== Description ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#string|string]]'' * **Expected**: ''string value'' ---- ==== Category ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:building_part_type|BUILDING_PART_TYPE]]'' * **Expected**: ''enum value'' * **Default value**: ''BUILDING_PART_TYPE.OTHER'' ---- ==== IsMonumentCore ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== IsMoveBuildingInsteadOfPart ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== IsDestructible ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== IsVisibleWhenBuilt ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== IsMovableWhenBuilt ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== IsShowInUi ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== IsOnlyAttached ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== IsRestrictedToBuilding ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== HasMaximumInstancePerBuilding ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== MaximumInstancePerBuilding ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''0'' ---- ==== ConstructorData ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:building_constructor|BUILDING_CONSTRUCTOR]]'' * **Expected**: ''BUILDING_CONSTRUCTOR value'' ---- ==== AssetBuildingFunction ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:building_function|BUILDING_FUNCTION]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== BuildingZone ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:building_zone|BUILDING_ZONE]]'' * **Expected**: ''BUILDING_ZONE value'' ---- ==== ConstructionVisual ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:prefab|PREFAB]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== ConstructionStepMode ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:construction_step_mode|CONSTRUCTION_STEP_MODE]]'' * **Expected**: ''enum value'' * **Default value**: ''CONSTRUCTION_STEP_MODE.ADDITIVE'' ---- ==== EstateSplendor ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:estate_quantity_pair|ESTATE_QUANTITY_PAIR]]>'' * **Expected**: ''list of ESTATE_QUANTITY_PAIR values'' ---- ==== Cost ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:building_part_cost|BUILDING_PART_COST]]'' * **Expected**: ''BUILDING_PART_COST value'' ---- ==== CraftedResourceNeeded ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:resource|RESOURCE]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== Capacity ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''0'' ---- ==== BeautificationValue ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''0'' ---- ==== BeautificationCategory ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:beautification_category|BEAUTIFICATION_CATEGORY]]'' * **Expected**: ''enum value'' * **Default value**: ''BEAUTIFICATION_CATEGORY.GENERAL'' ---- ==== UndesirabilityValue ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''0'' ---- ==== DesirabilityModifiers ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:desirability_modifier_item|DESIRABILITY_MODIFIER_ITEM]]>'' * **Expected**: ''list of DESIRABILITY_MODIFIER_ITEM values''