Skip to main content

is_armor_base_item

Function is_armor_base_item 

Source
pub const fn is_armor_base_item(base_item: i32) -> bool
Expand description

Returns true when base_item belongs to the canonical armor base-item set.

Derived from the base-item classification in baseitems.2da (KotOR I/II). PyKotor arrives at the same set independently, which is a useful check on the reading but not where these values come from.