| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- export { createEngine } from "./engine.js";
- export type { Engine, EngineOptions, EngineContentSourceOptions, EngineBundleSourceOptions } from "./engine.js";
- export { seedRandom, randomSeed } from "./random.js";
- export type { RandomSource, RandomState } from "./random.js";
- export { ContentLoader, ContentRegistry, normalize, validate } from "./content/index.js";
- export type { LoadItemResult, LoadReport } from "./content/index.js";
- export { contentBundleSchema, assetEntrySchema, assetIndexEntrySchema, bundledModSchema, assetByteSize, assetFileExtension, BUNDLE_FORMAT, BUNDLE_VERSION } from "./content/index.js";
- export type { ContentBundle, AssetEntry, AssetIndexEntry, BundledMod } from "./content/index.js";
- export { World, WorldEventBus } from "./world/index.js";
- export type { Entity, EntityQuery, WorldEventHandler, WorldEventAnyHandler } from "./world/index.js";
- export { SystemsHost, TimeSystem, InventorySystem, PlantingSystem, plotIdFor, GrowthSystem, EconomySystem, STARTING_GOLD, SaveSystem, TriggerSystem, DialogueSystem, ACTIVE_DIALOGUE_ENTITY_ID, WeatherSystem, WEATHER_ENTITY_ID, PlacementSystem, MovementSystem, UNWALKABLE_TILES, IntentSystem, CraftingSystem } from "./systems/index.js";
- export type {
- System,
- SystemInitCtx,
- TimeState,
- InventoryEvent,
- PlotEntity,
- CropGrowEvent,
- TransactionEvent,
- BuyResult,
- SellResult,
- PriceResult,
- SaveMigration,
- TriggerEvalCtx,
- TriggerFireResult,
- TriggerMatchResult,
- DialogueState,
- DialogueStartCtx,
- DialogueEntity,
- DialogueStartEvent,
- DialogueEndEvent,
- DialogueChoiceOption,
- WeatherState,
- WeatherRng,
- WeatherChangeEvent,
- WeatherEntity,
- BuildingPlacement,
- PlacementChangeEvent,
- NpcEntity,
- NpcMoveEvent,
- IntentAction,
- IntentResult,
- IntentTile,
- PlayerIntentEvent,
- AnimalEntity,
- AnimalGrowEvent,
- AnimalProduceEvent,
- AnimalFedEvent,
- EvalContext,
- BehaviorRuntimeCtx,
- CraftSuccessEvent,
- CraftResult,
- } from "./systems/index.js";
- export { findPath, isWalkableTile, findMapEntity } from "./systems/index.js";
- export type { TilePoint, MapEntity, WalkableMap } from "./systems/index.js";
- export { HookRegistry, ModLoader, HOOK_NAMES, isHookName, entryFileOf, readModEntry, inspectModEntry } from "./mods/index.js";
- export type { HookContext, HookFn, HookName, ModManifest, ModSource, ModStatus } from "./mods/index.js";
- export {
- contentSchemas,
- contentDirNames,
- isContentKind,
- mapSchema,
- mapLayerSchema,
- timeSchema,
- timeSeasonSchema,
- itemSchema,
- itemKindSchema,
- cropSchema,
- cropStageSchema,
- cropDropSchema,
- shopSchema,
- shopBuyLineSchema,
- shopSellLineSchema,
- triggerSchema,
- conditionExprSchema,
- actionSchema,
- stateMachineSchema,
- scheduleEntrySchema,
- stateDefSchema,
- stateTransitionSchema,
- machineEntityId,
- dialogueSchema,
- dialogueNodeSchema,
- dialogueChoiceSchema,
- weatherSchema,
- weatherSeasonSchema,
- weatherEntrySchema,
- weatherDefaultSchema,
- buildingSchema,
- buildingFootprintSchema,
- buildingBuildableSchema,
- animalSchema,
- animalStageSchema,
- animalProduceSchema,
- spriteSchema,
- spriteFrameSchema,
- spriteLayerSchema,
- spriteRectLayerSchema,
- spriteCircleLayerSchema,
- spriteImageLayerSchema,
- soundSchema,
- soundSynthSchema,
- interactSchema,
- INTERACT_ACTIONS,
- DEFAULT_INTERACT_ORDER,
- particleSchema,
- particleRangeSchema,
- shaderSchema,
- animationSchema,
- animationStateSchema,
- animationTransitionSchema,
- sceneSchema,
- sceneEntitySchema,
- sceneBuildingEntitySchema,
- sceneNpcEntitySchema,
- sceneAnimalEntitySchema,
- recipeSchema,
- SAVE_FORMAT,
- CURRENT_SAVE_VERSION,
- worldSnapshotSchema,
- } from "./schema/index.js";
- export type {
- ContentKind,
- ContentDef,
- MapDef,
- MapLayer,
- TimeDef,
- TimeSeason,
- ItemDef,
- ItemKind,
- CropDef,
- CropStage,
- CropDrop,
- ShopDef,
- ShopBuyLine,
- ShopSellLine,
- TriggerDef,
- ConditionExpr,
- TriggerAction,
- StateMachineDef,
- StateDef,
- StateTransition,
- ScheduleEntry,
- ScheduleAt,
- MachineEntity,
- MachineStatus,
- MachineTransitionResult,
- StateChangeEvent,
- DialogueDef,
- DialogueNode,
- DialogueChoice,
- WeatherDef,
- WeatherSeason,
- WeatherEntry,
- WeatherDefault,
- BuildingDef,
- BuildingFootprint,
- BuildingBuildable,
- AnimalDef,
- AnimalStage,
- AnimalProduce,
- SpriteDef,
- SpriteFrame,
- SpriteLayer,
- SoundDef,
- SoundSynth,
- InteractDef,
- InteractAction,
- ParticleDef,
- ParticleRange,
- ShaderDef,
- ShaderFilterKind,
- AnimationDef,
- AnimationState,
- AnimationTransition,
- SceneDef,
- SceneEntity,
- SceneBuildingEntity,
- SceneNpcEntity,
- SceneAnimalEntity,
- RecipeDef,
- WorldSnapshot,
- } from "./schema/index.js";
- export { createMcpGatewayHandle } from "./mcp/gateway.js";
- export type { McpGatewayHandle, McpNamespace } from "./mcp/gateway.js";
|