Function try_open_item_case

Source
pub fn try_open_item_case(
    character_state: &CharacterState,
    config: &GameConfig,
    seed: Option<u64>,
    behaviors: &BehaviorRegistry,
    pending_items: &[Item],
) -> Result<Item>
Expand description

pending_items are the items already rolled in the same batch open; they are not in character_state.inventory yet, but the empty-slot guarantee must treat their slots as filled.