openstranded-common-units
Shared data types for the OpenStranded unit/AI system.
Part of the OpenStranded project. Published on crates.io.
Types
| Type | Purpose |
|---|---|
UnitDef |
Full definition of a unit/creature type |
AnimFrame |
Animation frame range (start, end, speed) |
UnitAnimations |
All animation slots for a unit |
LootEntry |
A loot drop entry (item_id + max count) |
VehicleParams |
Vehicle-specific physics parameters |
Dependencies
Only serde — this is a pure data crate with no engine dependencies.
License
GPL-3.0-or-later