RPG Event Generator - v5.0.0
    Preparing search index...

    Module index

    Classes

    RPGEventGenerator
    ChainSystem
    ContextAnalyzer
    DescriptionFragmentLibrary
    DifficultyScaler
    GeneratorCore
    GrammarRulesEngine
    MarkovEngine
    SentenceBuilder
    EnvironmentalSystem
    LocalizationSystem
    RelationshipSystem
    RuleEngine
    TemplateSystem
    SeededRandom

    Interfaces

    ActiveChain
    ChainProgression
    Fragment
    FragmentLibrary
    ScaledChoice
    DifficultyAnalysis
    GrammarRule
    EventTypeGrammarConfig
    MarkovOptions
    MarkovResult
    SentenceComponent
    SentenceStructure
    ModifiedEvent
    TranslationOptions
    LocalizationStats
    RelationshipRule
    RelationshipNetwork
    RelationshipSummary
    RuleValidationResult
    TemplateGenerationContext
    TemplateMetadata
    TemplateLibrary
    TimeSystemState
    SeasonalData
    TimeEvent
    GeneratorOptions
    ExportData
    ImportResult
    DifficultyTier
    DifficultySettings
    ValidationResult
    EnvironmentalContext
    Modifier
    Effect
    Choice
    Event
    PlayerContext
    TimeInfo
    GameState
    TimeSystem
    AnalyzedContext
    LanguagePack
    NPC
    RelationshipEntry
    Relationship
    RuleCondition
    RuleEffects
    RuleDefinition
    Template
    TemplateCondition
    ConditionalChoice
    DynamicField
    TemplateComposition
    ChainDefinition
    ChainStage
    TimeBasedChain

    Type Aliases

    RandomSource

    Variables

    GENERATION_DEFAULTS
    TIME_CONSTANTS
    DIFFICULTY_SETTINGS
    DEFAULT_CONTEXT
    ENVIRONMENTAL_CONSTANTS
    CHAIN_CONSTANTS
    TEMPLATE_CONSTANTS
    RELATIONSHIP_CONSTANTS
    LOCALIZATION_CONSTANTS
    RULE_CONSTANTS
    PERFORMANCE_CONSTANTS
    FILE_CONSTANTS
    PROBABILITY_CONSTANTS
    VALIDATION_CONSTANTS
    LOG_CONSTANTS
    VERSION

    Functions

    generateRPGEvent
    unique
    uniqueBy
    groupBy
    sortBy
    partition
    findOrDefault
    sample
    chunk
    flatten
    flattenDeep
    slidingWindow
    intersection
    union
    difference
    move
    rotate
    isEmpty
    last
    first
    remove
    ensureDirectory
    readJsonFile
    writeJsonFile
    readTextFile
    writeTextFile
    listFiles
    fileExists
    getFileStats
    getFileSize
    isValidFileSize
    backupFile
    cleanOldBackups
    getRelativePath
    resolvePath
    joinPath
    getDirectoryName
    getFilename
    getFilenameWithoutExtension
    getFileExtension
    randomInt
    randomFloat
    randomChoice
    randomChoices
    randomBool
    clamp
    randomNormal
    shuffle
    weightedChoice
    randomString
    capitalize
    titleCase
    camelCase
    pascalCase
    kebabCase
    snakeCase
    truncate
    normalizeWhitespace
    wordCount
    extractSentences
    removePunctuation
    isAlphanumeric
    sanitizeFilename
    slugify
    pluralize
    ordinal
    interpolate
    levenshteinDistance
    validateTitle
    validateDescription
    validateChoices
    validatePlayerContext
    validateDifficulty
    validateTemplate
    validateGeneratorOptions
    validateFilePath
    validateId