@molroo-ai/sdk
    Preparing search index...

    Interface WorldDefinitionInput

    World definition input for creating or updating a world.

    Describes the world's identity, rules, culture, spatial topology, knowledge system, and progression phases.

    interface WorldDefinitionInput {
        culture?: {
            coreValues?: string[];
            normMap?: Record<string, number>;
            socialProtocol?: {
                addressSystem?: string;
                greetingStyle?: string;
                tabooTopics?: string[];
            };
        };
        identity?: {
            era?: string;
            genre?: string;
            lore?: string;
            name: string;
            tone?: string;
        };
        knowledge?: { defaultVisibility?: string; facts?: Fact[] };
        progression?: {
            initialPhase?: string;
            phases?: Record<
                string,
                { description?: string; normMapOverride?: Record<string, number> },
            >;
            triggers?: ProgressionTrigger[];
        };
        rules?: {
            narrative?: {
                consequenceSpeed?: string;
                romanceLevel?: string;
                tone?: string;
                violenceLevel?: string;
            };
            physics?: {
                canFly?: boolean;
                canTeleport?: boolean;
                deathIsPermanent?: boolean;
                magicExists?: boolean;
            };
            social?: { hierarchies?: string[]; norms?: string[]; taboos?: string[] };
        };
        time?: Record<string, unknown>;
        topology?: { connections?: SpaceConnection[] };
    }
    Index

    Properties

    culture?: {
        coreValues?: string[];
        normMap?: Record<string, number>;
        socialProtocol?: {
            addressSystem?: string;
            greetingStyle?: string;
            tabooTopics?: string[];
        };
    }
    identity?: {
        era?: string;
        genre?: string;
        lore?: string;
        name: string;
        tone?: string;
    }
    knowledge?: { defaultVisibility?: string; facts?: Fact[] }
    progression?: {
        initialPhase?: string;
        phases?: Record<
            string,
            { description?: string; normMapOverride?: Record<string, number> },
        >;
        triggers?: ProgressionTrigger[];
    }
    rules?: {
        narrative?: {
            consequenceSpeed?: string;
            romanceLevel?: string;
            tone?: string;
            violenceLevel?: string;
        };
        physics?: {
            canFly?: boolean;
            canTeleport?: boolean;
            deathIsPermanent?: boolean;
            magicExists?: boolean;
        };
        social?: { hierarchies?: string[]; norms?: string[]; taboos?: string[] };
    }
    time?: Record<string, unknown>
    topology?: { connections?: SpaceConnection[] }