Inventory module¶
This module handles Inventory actions
-
class
InventorySections¶ This class used to describe which category of the inventory
-
Equipment¶ int
First section, player’s equipment
-
Items¶ int
Second section, player’s items
-
-
exit_inventory()¶ Exists inventory - Inventory should be open before the operation
-
go_to_inventory(section)¶ Enters inventory which the given section
Parameters: section (InventorySections) – section to enter
-
go_to_section(section)¶ Go to specific section of the inventory - Inventory should be open
Parameters: section (InventorySections) – section to enter Raises: NotImplementedError– If inventory section isn’t part of InventorySections class
-
organize_inventory()¶ Organized the inventory, using the in-game button - Inventory should be open before the operation