Add documentation to bool field

This commit is contained in:
Imbris 2023-03-09 23:01:37 -05:00
parent 2eb7d366d9
commit fe38b9b92b

View File

@ -45,6 +45,7 @@ pub enum InventoryManip {
Pickup(Uid),
Collect {
sprite_pos: Vec3<i32>,
/// If second field is `true`, item will be consumed on collection.
required_item: Option<(InvSlotId, bool)>,
},
Use(Slot),