project-wormhole-esm 0.1.0

ESM file format parser for Project Wormhole
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::dev::*;

define_record2! {
    b"LVLN",
    LeveledNPC, [
        EditorId;
        ObjectBounds;
        ModelData;
        b"LVLO", LeveledObject, EmptyParser; // TODO: 12 bytes - 4 values (same as LVLI?)
        b"LVLD", ChanceNone, u8;
        b"LVLF", Flags, u8;
        b"LLCT", Count, u8;
        b"LVLG", UseGlobal, FormId;
        b"LLKC", KeywordChances, Vec<(FormId, u32)>; // TODO: verify
        b"LVLM", MaxCount, u8;
    ]
}