1pub mod canonical;
15pub mod chrome;
16pub mod diagnostic;
17pub mod effects;
18pub mod envelope;
19pub mod ids;
20pub mod l10n;
21pub mod mclang;
22pub mod registry;
23pub mod schema;
24pub mod stages;
25pub mod validate;
26
27pub use canonical::to_canonical_string;
28pub use chrome::{Chrome, ChromeString, validate_chrome_namespace};
29pub use diagnostic::{Diagnostic, Severity, codes};
30pub use effects::{
31 EffectRootKind, EffectRootOwner, EffectRootSite, RootBinding, for_each_effect_root,
32 for_each_effect_root_mut,
33};
34pub use envelope::{
35 Campaign, Envelope, RawCampaign, SUPPORTED_DSL_VERSION, SUPPORTED_DSL_VERSIONS, Stage,
36 check_campaign, is_supported_version, is_v03, is_v04, is_v05, is_v06, is_v07, is_v08, is_v09,
37 parse_campaign,
38};
39pub use ids::{
40 ActorId, AmbushId, AnchorId, AreaId, BranchId, BranchPointId, CampaignId, ClassId, DialogueId,
41 EditBatchId, EndingId, FlagId, NpcId, ObjectiveId, PoolId, PrefabId, QuestId, RegionId,
42 ShortcutId, TimedGateId, TriggerId, WaveId,
43};
44pub use l10n::{
45 ArtNarrate, CANONICAL_LANG, L10nDoc, L10nKind, MARKER_SIGIL, OptionLabel, ScreenNarrate,
46 SoundRef, TR_SIGIL, art_narrates, bonfire_option_labels, declared_mc_codes,
47 dialogue_option_labels, each_string, has_tr_sigil, inventory as l10n_inventory, key_speaker,
48 local_id, localize, on_screen_narrates, plain as l10n_plain, play_sound_actor_refs, sound_refs,
49 tag_translatables, untag as l10n_untag, validate_l10n, validate_l10n_provenance,
50 validate_marker_channel, validate_tr_sigil,
51};
52pub use mclang::mc_lang_code;
53pub use registry::{
54 AnchorRegistry, BlockRegistry, EffectRegistry, EntityRegistry, ItemBackedBlockRegistry,
55 ItemRegistry, Lighting, LightingProfile, VendoredAnchorRegistry, VendoredEffectRegistry,
56 VendoredEntityRegistry, VendoredItemRegistry, is_potion_id, is_technical_block,
57};
58pub use schema::stage_schema;
59pub use stages::for_each_campaign_effect;
60pub use stages::{
61 Actor, Ambush, Area, AreaLighting, AreaMitigation, BONFIRE_PROMPT_EN, BONFIRE_REST_LABEL_EN,
62 BONFIRE_SAVE_LABEL_EN, BonfireLabels, Boundary, BranchDecl, BranchPoint, CameraShot,
63 CameraSubject, CameraTarget, CameraWaypoint, Carrier, CastAbsence, CastBarks, CastDialogue,
64 CastDialogueKeyword, CastEntry, CastPlace, CastPlacement, Class, ClassesContent, DamageKind,
65 DespawnStyle, DialogueContent, DialogueEffect, DialogueNode, DialogueOption, EffectSite,
66 EnchantedItem, EncounterTier, EnvTrigger, EquipItem, EquipSlot, Facing, Fixture, Happening,
67 HappeningVerb, Horizon, ItemDrop, KitItem, Lethality, Loot, LootItem, MAX_POTION_AMPLIFIER,
68 MAX_POTION_DURATION_TICKS, MobAttributes, MobDrop, MobEffect, MobEquipment, NarrateStyle, Npc,
69 NpcDialogue, NpcSkin, NpcsContent, Objective, Persona, Pieces, PlannedQuest, PotionContents,
70 PotionEffect, Prop, Quest, QuestEffect, QuestPlanContent, QuestsContent, Relationship, Role,
71 SequenceStep, Shortcut, ShotStyle, SkinModel, SlotDrop, SoundAt, StealthZone, TimedGate, Trap,
72 TrapDisarm, TrapEffect, TrapReset, TrapTrigger, Trigger, TriggerOn, Wave, WaveLane, WaveMob,
73 WaveSummon, WorldContent, WorldDifficulty, WorldTime, WorldWeather, is_potion_bearing_item,
74};
75pub use stages::{
76 EditBatch, EditFrame, FragmentRotation, MorphOp, PaletteBlock, PaletteRecipe, RegionShape,
77 SocketState, TreeKind, WorldEdit, WorldEditsContent,
78};
79pub use validate::{validate_campaign, validate_campaign_with};