Skip to content

H7RMGResourceCluster

Class in MMH7Game · MMH7Game.H7RMGResourceCluster · native

Object › H7RMGBuilding › H7RMGResourceCluster

Using it from Lua
h7.find_all("H7RMGResourceCluster")            -- live instances
h7.find_class("MMH7Game.H7RMGResourceCluster")   -- the class

Constants

NameValue
CLUSTER_SIZE3

Properties

NameTypeNotes
mClusterBuildingsarray<H7RMGBuilding>protectedwrite
mRoadCalculatedboolprotected
mTranslationsarray<IntPoint>protectedwrite

Default values

mBuildingType=ERMGBuildingType.ERBT_RESOURCE_CLUSTER
mMinDistanceToEqualType=4
mMinDistanceToDifferentType=4

Inherited

FromMembers
H7RMGBuildingProperties: mAtLeastOne, mBuildingArchetype, mBuildingType, mCanBePlacedInStartZone, mCell, mClusterRef, mCountByType, mDimension, mFaction, mGuardModifier, mHasRoadConnection, mIgnoredByClusters, mIsGuarded, mMaxDistanceToSiteLord, mMaxDistanceToZoneExit, mMinDistanceToBorder, mMinDistanceToDifferentType, mMinDistanceToEqualType, mMinDistanceToMapBorder, mMinDistanceToSiteLord, mModifiedByRichness, mNotMoreThanOne, mNotMoreThanOnePerZone, mOnePerCluster, mOnlyWithTearOfAsha, mPlacementModifier, mPlayerNum, mRoundingType, mShareWeight, mSpawnedSites, mTranslation, mUniformDistribution, mUseAsChance, mZoneLordRules
Functions: CanPlaceHere, GetBuildingArchetype
Object13 properties, 308 functions