Module defs

Source

Variables§

Source§

const DEFS_CONTEXT_BINDINGS: {
    defineBuilding: (
        context: ContextWithoutFunctions,
        props: BuildingProps,
        components: Component[],
    ) => void;
    defineDamage: (
        context: ContextWithoutFunctions,
        props: DamageProps,
    ) => DamageArmorCategoryDefId;
    defineDamageArmorCategory: (
        context: ContextWithoutFunctions,
        props: DamageArmorCategoryProps,
    ) => DamageArmorCategoryDefId;
    defineResearchProject: (
        context: ContextWithoutFunctions,
        props: ResearchProjectProps,
    ) => ResearchProjectDefId;
    defineResearchTab: (
        context: ContextWithoutFunctions,
        props: ResearchTabProps,
    ) => ResearchTabDefId;
    defineStat: (
        context: ContextWithoutFunctions,
        props: StatProps,
    ) => StatDefId;
    defineTerrainAffordance: (
        context: ContextWithoutFunctions,
        props: TerrainAffordanceProps,
    ) => TerrainAffordanceDefId;
    defineThing: (
        context: ContextWithoutFunctions,
        nodes: XmlNode[],
        components: Component[],
    ) => ThingDefId;
    defineWeapon: (
        context: ContextWithoutFunctions,
        props: ThingProps,
        components: Component[],
    ) => ThingDefId;
    registerDef: <T extends string>(
        ctx: ContextWithoutFunctions,
        def: XmlNode,
    ) => DefId<T>;
} = ...

Functions§

Source§

createDefId<T extends string>(type: T, id: string): DefId<T>

Source§

includeBaseDef(options: BaseDefProps): XmlNode[]

Source§

registerDef<T extends string>(
    ctx: ContextWithoutFunctions,
    def: XmlNode,
): DefId<T>

References§

Source§

AbilityCategoryDefId

Source§

AbilityDefId

Source§

AbilityGroupDefId

Source§

ApparelLayerDefId

Source§

BabyPlayDefId

Source§

BackstoryDefId

Source§

BackStoryDefId

Source§

BeardDefId

Source§

BillRepeatModeDefId

Source§

BillStoreModeDefId

Source§

BiomeDefId

Source§

BodyDefId

Source§

BodyPartDefId

Source§

BodyPartGroupDefId

Source§

BodyPartTagDefId

Source§

BodyTypeDefId

Source§

BossDefId

Source§

BossgroupDefId

Source§

BuildingProps

Source§

ChemicalDefId

Source§

ClamorDefId

Source§

ColorDefId

Source§

ComplexLayoutDefId

Source§

ComplexThreatDefId

Source§

ConceptDefId

Source§

CultureDefId

Source§

DamageArmorCategoryDefId

Source§

DamageArmorCategoryProps

Source§

DamageDefId

Source§

DamageProps

Source§

DebugTabMenuDefId

Source§

defineBuilding

Source§

defineDamage

Source§

defineDamageArmorCategory

Source§

defineResearchProject

Source§

defineResearchTab

Source§

defineStat

Source§

defineTerrainAffordance

Source§

defineThing

Source§

defineThingCategory

Source§

defineWeapon

Source§

DefType

Source§

DesignationCategoryDefId

Source§

DesignationDefId

Source§

DesignatorDropdownGroupDefId

Source§

DifficultyDefId

Source§

DrawStyleCategoryDefId

Source§

DrawStyleDefId

Source§

DrugPolicyDefId

Source§

DutyDefId

Source§

EffecterDefId

Source§

ExpansionDefId

Source§

ExpectationDefId

Source§

FactionDefId

Source§

FeatureDefId

Source§

FleckDefId

Source§

FleshTypeDefId

Source§

FurDefId

Source§

GameConditionDefId

Source§

GameSetupStepDefId

Source§

GatheringDefId

Source§

GauranlenTreeModeDefId

Source§

GeneCategoryDefId

Source§

GeneDefId

Source§

GeneTemplateDefId

Source§

GenStepDefId

Source§

GlobalWorldDrawLayerDefId

Source§

GoodwillSituationDefId

Source§

GraphicStateDefId

Source§

HairDefId

Source§

HeadTypeDefId

Source§

HediffDefId

Source§

HediffGiverSetDefId

Source§

HibernatableStateDefId

Source§

HistoryAutoRecorderDefId

Source§

HistoryAutoRecorderGroupDefId

Source§

HistoryEventDefId

Source§

IdeoColorDefId

Source§

IdeoFoundationDefId

Source§

IdeoIconDefId

Source§

IdeoPresetCategoryDefId

Source§

IdeoPresetDefId

Source§

IdeoStoryPatternDefId

Source§

ImpactSoundTypeDefId

Source§

ImplementOwnerTypeDefId

Source§

IncidentCategoryDefId

Source§

IncidentDefId

Source§

IncidentTargetTagDefId

Source§

InfectionPathwayDefId

Source§

InspirationDefId

Source§

InstructionDefId

Source§

InteractionDefId

Source§

InventoryStockGroupDefId

Source§

IssueDefId

Source§

jobDefId

Source§

JobDefId

Source§

JoyGiverDefId

Source§

JoyKindDefId

Source§

KeyBindingCategoryDefId

Source§

KeyBindingDefId

Source§

LayoutRoomDefId

Source§

LearningDesireDefId

Source§

LetterDefId

Source§

LifeStageDefId

Source§

LogEntryDefId

Source§

MainButtonDefId

Source§

ManeuverDefId

Source§

MapGeneratorDefId

Source§

MapMeshFlagDefId

Source§

MechWeightClassDefId

Source§

MechWorkModeDefId

Source§

MeditationFocusDefId

Source§

MemeDefId

Source§

MemeGroupDefId

Source§

MentalBreakDefId

Source§

MentalFitDefId

Source§

MentalStateDefId

Source§

MessageTypeDefId

Source§

NeedDefId

Source§

OptionCategoryDefId

Source§

OrderedTakeGroupDefId

Source§

PathGridDefId

Source§

PawnCapacityDefId

Source§

PawnColumnDefId

Source§

PawnGroupKindDefId

Source§

PawnKindDefId

Source§

PawnRelationDefId

Source§

PawnRenderNodeTagDefId

Source§

PawnRenderTreeDefId

Source§

PawnsArrivalModeDefId

Source§

PawnTableDefId

Source§

PlaceDefId

Source§

PlanetLayerDefId

Source§

PlanetLayerSettingsDefId

Source§

PreceptDefId

Source§

PrefabDefId

Source§

PrisonerInteractionModeDefId

Source§

QuestScriptDefId

Source§

RaidAgeRestrictionDefId

Source§

RaidStrategyDefId

Source§

RecipeDefId

Source§

RecordDefId

Source§

RenderSkipFlagDefId

Source§

ResearchProjectDefId

Source§

ResearchProjectProps

Source§

ResearchProjectTagDefId

Source§

ResearchTabDefId

Source§

ResearchTabProps

Source§

ReservationLayerDefId

Source§

RitualAttachableOutcomeEffectDefId

Source§

RitualBehaviorDefId

Source§

RitualObligationTargetFilterDefId

Source§

RitualOutcomeEffectDefId

Source§

RitualPatternDefId

Source§

RitualTargetFilterDefId

Source§

RitualVisualEffectDefId

Source§

RiverDefId

Source§

RoadDefId

Source§

RoadPathingDefId

Source§

RoadWorldLayerDefId

Source§

RoofDefId

Source§

RoomRoleDefId

Source§

RoomStatDefId

Source§

RuleDefId

Source§

RulePackDefId

Source§

ScatterableDefId

Source§

ScenarioDefId

Source§

ScenPartDefId

Source§

ShaderTypeDefId

Source§

ShipJobDefId

Source§

SitePartDefId

Source§

SketchResolverDefId

Source§

SkillDefId

Source§

SlaveInteractionModeDefId

Source§

SongDefId

Source§

SoundDefId

Source§

SpecialThingFilterDefId

Source§

StatCategoryDefId

Source§

StatDefId

Source§

StatProps

Source§

StorytellerDefId

Source§

StuffAppearanceDefId

Source§

StuffCategoryDefId

Source§

StyleCategoryDefId

Source§

StyleItemCategoryDefId

Source§

SubcameraDefId

Source§

SurgeryOutcomeEffectDefId

Source§

TaleDefId

Source§

TattooDefId

Source§

TerrainAffordanceDefId

Source§

TerrainAffordanceProps

Source§

TerrainDefId

Source§

TerrainTemplateDefId

Source§

ThingCategoryDefId

Source§

ThingCategoryProps

Source§

ThingDefId

Source§

ThingProps

Source§

ThingSetMakerDefId

Source§

ThingStyleDefId

Source§

ThinkTreeDefId

Source§

ThoughtDefId

Source§

TileMutatorDefId

Source§

TimeAssignmentDefId

Source§

TipSetDefId

Source§

ToolCapacityDefId

Source§

ToStringStyle

Source§

TraderKindDefId

Source§

TrainabilityDefId

Source§

TrainableDefId

Source§

TraitDefId

Source§

TransferableSorterDefId

Source§

TransportShipDefId

Source§

VanillaAbilityCategoryDef

Source§

VanillaAbilityDef

Source§

VanillaAbilityGroupDef

Source§

VanillaApparelLayerDef

Source§

VanillaBabyPlayDef

Source§

VanillaBackstoryDef

Source§

VanillaBackStoryDef

Source§

VanillaBeardDef

Source§

VanillaBillRepeatModeDef

Source§

VanillaBillStoreModeDef

Source§

VanillaBiomeDef

Source§

VanillaBodyDef

Source§

VanillaBodyPartDef

Source§

VanillaBodyPartGroupDef

Source§

VanillaBodyPartTagDef

Source§

VanillaBodyTypeDef

Source§

VanillaBossDef

Source§

VanillaBossgroupDef

Source§

VanillaChemicalDef

Source§

VanillaClamorDef

Source§

VanillaColorDef

Source§

VanillaComplexLayoutDef

Source§

VanillaComplexThreatDef

Source§

VanillaConceptDef

Source§

VanillaCultureDef

Source§

VanillaDamageArmorCategoryDef

Source§

VanillaDamageDef

Source§

VanillaDebugTabMenuDef

Source§

VanillaDesignationCategoryDef

Source§

VanillaDesignationDef

Source§

VanillaDesignatorDropdownGroupDef

Source§

VanillaDifficultyDef

Source§

VanillaDrawStyleCategoryDef

Source§

VanillaDrawStyleDef

Source§

VanillaDrugPolicyDef

Source§

VanillaDutyDef

Source§

VanillaEffecterDef

Source§

VanillaExpansionDef

Source§

VanillaExpectationDef

Source§

VanillaFactionDef

Source§

VanillaFeatureDef

Source§

VanillaFleckDef

Source§

VanillaFleshTypeDef

Source§

VanillaFurDef

Source§

VanillaGameConditionDef

Source§

VanillaGameSetupStepDef

Source§

VanillaGatheringDef

Source§

VanillaGauranlenTreeModeDef

Source§

VanillaGeneCategoryDef

Source§

VanillaGeneDef

Source§

VanillaGeneTemplateDef

Source§

VanillaGenStepDef

Source§

VanillaGlobalWorldDrawLayerDef

Source§

VanillaGoodwillSituationDef

Source§

VanillaGraphicStateDef

Source§

VanillaHairDef

Source§

VanillaHeadTypeDef

Source§

VanillaHediffDef

Source§

VanillaHediffGiverSetDef

Source§

VanillaHibernatableStateDef

Source§

VanillaHistoryAutoRecorderDef

Source§

VanillaHistoryAutoRecorderGroupDef

Source§

VanillaHistoryEventDef

Source§

VanillaIdeoColorDef

Source§

VanillaIdeoFoundationDef

Source§

VanillaIdeoIconDef

Source§

VanillaIdeoPresetCategoryDef

Source§

VanillaIdeoPresetDef

Source§

VanillaIdeoStoryPatternDef

Source§

VanillaImpactSoundTypeDef

Source§

VanillaImplementOwnerTypeDef

Source§

VanillaIncidentCategoryDef

Source§

VanillaIncidentDef

Source§

VanillaIncidentTargetTagDef

Source§

VanillaInfectionPathwayDef

Source§

VanillaInspirationDef

Source§

VanillaInstructionDef

Source§

VanillaInteractionDef

Source§

VanillaInventoryStockGroupDef

Source§

VanillaIssueDef

Source§

VanillajobDef

Source§

VanillaJobDef

Source§

VanillaJoyGiverDef

Source§

VanillaJoyKindDef

Source§

VanillaKeyBindingCategoryDef

Source§

VanillaKeyBindingDef

Source§

VanillaLayoutRoomDef

Source§

VanillaLearningDesireDef

Source§

VanillaLetterDef

Source§

VanillaLifeStageDef

Source§

VanillaLogEntryDef

Source§

VanillaMainButtonDef

Source§

VanillaManeuverDef

Source§

VanillaMapGeneratorDef

Source§

VanillaMapMeshFlagDef

Source§

VanillaMechWeightClassDef

Source§

VanillaMechWorkModeDef

Source§

VanillaMeditationFocusDef

Source§

VanillaMemeDef

Source§

VanillaMemeGroupDef

Source§

VanillaMentalBreakDef

Source§

VanillaMentalFitDef

Source§

VanillaMentalStateDef

Source§

VanillaMessageTypeDef

Source§

VanillaNeedDef

Source§

VanillaOptionCategoryDef

Source§

VanillaOrderedTakeGroupDef

Source§

VanillaPathGridDef

Source§

VanillaPawnCapacityDef

Source§

VanillaPawnColumnDef

Source§

VanillaPawnGroupKindDef

Source§

VanillaPawnKindDef

Source§

VanillaPawnRelationDef

Source§

VanillaPawnRenderNodeTagDef

Source§

VanillaPawnRenderTreeDef

Source§

VanillaPawnsArrivalModeDef

Source§

VanillaPawnTableDef

Source§

VanillaPlaceDef

Source§

VanillaPlanetLayerDef

Source§

VanillaPlanetLayerSettingsDef

Source§

VanillaPreceptDef

Source§

VanillaPrefabDef

Source§

VanillaPrisonerInteractionModeDef

Source§

VanillaQuestScriptDef

Source§

VanillaRaidAgeRestrictionDef

Source§

VanillaRaidStrategyDef

Source§

VanillaRecipeDef

Source§

VanillaRecordDef

Source§

VanillaRenderSkipFlagDef

Source§

VanillaResearchProjectDef

Source§

VanillaResearchProjectTagDef

Source§

VanillaResearchTabDef

Source§

VanillaReservationLayerDef

Source§

VanillaRitualAttachableOutcomeEffectDef

Source§

VanillaRitualBehaviorDef

Source§

VanillaRitualObligationTargetFilterDef

Source§

VanillaRitualOutcomeEffectDef

Source§

VanillaRitualPatternDef

Source§

VanillaRitualTargetFilterDef

Source§

VanillaRitualVisualEffectDef

Source§

VanillaRiverDef

Source§

VanillaRoadDef

Source§

VanillaRoadPathingDef

Source§

VanillaRoadWorldLayerDef

Source§

VanillaRoofDef

Source§

VanillaRoomRoleDef

Source§

VanillaRoomStatDef

Source§

VanillaRuleDef

Source§

VanillaRulePackDef

Source§

VanillaScatterableDef

Source§

VanillaScenarioDef

Source§

VanillaScenPartDef

Source§

VanillaShaderTypeDef

Source§

VanillaShipJobDef

Source§

VanillaSitePartDef

Source§

VanillaSketchResolverDef

Source§

VanillaSkillDef

Source§

VanillaSlaveInteractionModeDef

Source§

VanillaSongDef

Source§

VanillaSoundDef

Source§

VanillaSpecialThingFilterDef

Source§

VanillaStatCategoryDef

Source§

VanillaStatDef

Source§

VanillaStorytellerDef

Source§

VanillaStuffAppearanceDef

Source§

VanillaStuffCategoryDef

Source§

VanillaStyleCategoryDef

Source§

VanillaStyleItemCategoryDef

Source§

VanillaSubcameraDef

Source§

VanillaSurgeryOutcomeEffectDef

Source§

VanillaTaleDef

Source§

VanillaTattooDef

Source§

VanillaTerrainAffordanceDef

Source§

VanillaTerrainDef

Source§

VanillaTerrainTemplateDef

Source§

VanillaThingCategoryDef

Source§

VanillaThingDef

Source§

VanillaThingSetMakerDef

Source§

VanillaThingStyleDef

Source§

VanillaThinkTreeDef

Source§

VanillaThoughtDef

Source§

VanillaTileMutatorDef

Source§

VanillaTimeAssignmentDef

Source§

VanillaTipSetDef

Source§

VanillaToolCapacityDef

Source§

VanillaTraderKindDef

Source§

VanillaTrainabilityDef

Source§

VanillaTrainableDef

Source§

VanillaTraitDef

Source§

VanillaTransferableSorterDef

Source§

VanillaTransportShipDef

Source§

VanillaWeaponClassDef

Source§

VanillaWeaponClassPairDef

Source§

VanillaWeatherDef

Source§

VanillaWorkGiverDef

Source§

VanillaWorkGiverEquivalenceGroupDef

Source§

VanillaWorkTypeDef

Source§

VanillaWorldGenStepDef

Source§

VanillaWorldObjectDef

Source§

VanillaXenotypeDef

Source§

VanillaXenotypeIconDef

Source§

WeaponClassDefId

Source§

WeaponClassPairDefId

Source§

WeatherDefId

Source§

WorkGiverDefId

Source§

WorkGiverEquivalenceGroupDefId

Source§

WorkTypeDefId

Source§

WorldGenStepDefId

Source§

WorldObjectDefId

Source§

XenotypeDefId

Source§

XenotypeIconDefId

Classes§

DefId

Interfaces§

BaseDefProps