pub struct Uti {Show 27 fields
pub template_resref: ResRef,
pub base_item: i32,
pub name: GffLocalizedString,
pub description_unidentified: GffLocalizedString,
pub description_identified: GffLocalizedString,
pub tag: String,
pub charges: u8,
pub max_charges: u8,
pub cost: u32,
pub stack_size: u16,
pub plot: bool,
pub add_cost: u32,
pub palette_id: u8,
pub comment: String,
pub model_variation: u8,
pub body_variation: u8,
pub texture_variation: u8,
pub upgrade_level: u8,
pub stolen: bool,
pub identified: bool,
pub droppable: bool,
pub pickpocketable: bool,
pub non_equippable: bool,
pub new_item: bool,
pub deleting: bool,
pub upgrades: u32,
pub properties: Vec<UtiProperty>,
}Expand description
Typed UTI model built from/to Gff data.
Fields§
§template_resref: ResRefItem template resref (TemplateResRef).
base_item: i32Base item identifier (BaseItem).
name: GffLocalizedStringLocalized item name (LocalizedName).
description_unidentified: GffLocalizedStringLocalized description shown before identification (Description).
description_identified: GffLocalizedStringLocalized description shown when identified (DescIdentified).
tag: StringItem tag (Tag).
charges: u8Charges (Charges).
max_charges: u8Maximum charges (MaxCharges).
cost: u32Item cost (Cost).
stack_size: u16Maximum stack size (StackSize).
plot: boolPlot item flag (Plot).
add_cost: u32Additional cost modifier (AddCost).
palette_id: u8Palette identifier (PaletteID).
comment: StringToolset comment (Comment).
model_variation: u8Model variation (ModelVariation).
body_variation: u8Body variation (BodyVariation).
texture_variation: u8Texture variation (TextureVar).
upgrade_level: u8Upgrade level (UpgradeLevel).
stolen: boolStolen flag (Stolen).
identified: boolIdentified flag (Identified).
droppable: boolDroppable flag (Dropable).
pickpocketable: boolPickpocketable flag (Pickpocketable).
non_equippable: boolNon-equippable flag (NonEquippable).
new_item: boolNew-item flag (NewItem).
deleting: boolDeleting flag (DELETING).
upgrades: u32Upgrade bitfield (Upgrades).
properties: Vec<UtiProperty>Item property entries (PropertiesList).