genesys 0.1.2

Component format & build code generation, no more repetitions!
Documentation
global_use {
    bevy::prelude::Entity,
    bevy::prelude::Vec3,
}

global_derive (Debug, Default)

MyComponent
MyNamedComponent1 name: str
MyNamedComponent name: str, weight: f32

Name String

%interaction {
    Interactive
    Hoverable
    Hovered
}

%object {
    Weight f32
    TradeGood
    Food
    Weapon
    Armor
}

%player {
    Player
}

%actions {
    ActionStarted
    ActionSuccess
    ActionFailure
    ActionRunning

    MoveTo Vec3
}

%human {
    %anatomi {
        Head
        LeftShoulder
        LeftArm
        LeftHand
        RightShoulder
        RightArm
        RightHand
        Torso
        LeftLeg
        LeftFoot
        RightLeg
        RightFoot
    }
}

%professions {}

%world {
    Hour u8
    Day u8
    Month u8
    Year u16
    WorldTime
}

%settlement {
    Population Vec<Entity>
    Produces Vec<Entity>
    Village
    Town
}