project-wormhole-esm 0.1.0

ESM file format parser for Project Wormhole
Documentation
use crate::dev::*;

// Appears only once in Fallout4.esm, maybe not used in Fallout 4


define_record2! {
    b"TREE",
    Tree, [
        EditorId;
        VirtualMachineAdapter;
        FullName;
        ObjectBounds;
        ModelData;
        b"CNAM", Data, TreeData;
        b"PFPC", IngredientProductionFactor, [u8;4];
    ]
}


// size: 48
#[derive(Debug, NomLE)]
pub struct TreeData {
    pub values: [f32; 12]
}