From 55504c155d9f0cc660d17c26edf4ae3b13255b80 Mon Sep 17 00:00:00 2001 From: Ninjdai1 Date: Wed, 18 Oct 2023 14:12:13 +0200 Subject: [PATCH] Moar doc --- src/inventory/inventory.py | 1 + src/inventory/item.py | 1 + src/inventory/itemtypes/consumable.py | 1 + src/inventory/itemtypes/equipment.py | 1 + src/inventory/itemtypes/stackable_item.py | 1 + src/inventory/itemtypes/weapon.py | 1 + 6 files changed, 6 insertions(+) diff --git a/src/inventory/inventory.py b/src/inventory/inventory.py index 37099c3..7f8ffaa 100644 --- a/src/inventory/inventory.py +++ b/src/inventory/inventory.py @@ -1,3 +1,4 @@ +"""Inventory class""" from .item import Item class Inventory: diff --git a/src/inventory/item.py b/src/inventory/item.py index 24aeefb..7882044 100644 --- a/src/inventory/item.py +++ b/src/inventory/item.py @@ -1,3 +1,4 @@ +"""Item class""" from ..signals import Signal class Item: diff --git a/src/inventory/itemtypes/consumable.py b/src/inventory/itemtypes/consumable.py index d71ace0..3b3186e 100644 --- a/src/inventory/itemtypes/consumable.py +++ b/src/inventory/itemtypes/consumable.py @@ -1,3 +1,4 @@ +"""Consumable class""" from .. import Item class Consumable(Item): diff --git a/src/inventory/itemtypes/equipment.py b/src/inventory/itemtypes/equipment.py index f618121..cfc97a0 100644 --- a/src/inventory/itemtypes/equipment.py +++ b/src/inventory/itemtypes/equipment.py @@ -1,3 +1,4 @@ +"""Equipment class""" from .. import Item class Equipment(Item): diff --git a/src/inventory/itemtypes/stackable_item.py b/src/inventory/itemtypes/stackable_item.py index 63d6148..1b8b800 100644 --- a/src/inventory/itemtypes/stackable_item.py +++ b/src/inventory/itemtypes/stackable_item.py @@ -1,3 +1,4 @@ +"""Stackable item class""" from .. import Item class StackableItem(Item): diff --git a/src/inventory/itemtypes/weapon.py b/src/inventory/itemtypes/weapon.py index c7830cf..724fe34 100644 --- a/src/inventory/itemtypes/weapon.py +++ b/src/inventory/itemtypes/weapon.py @@ -1,3 +1,4 @@ +"""Weapon class""" from . import Equipment class Weapon(Equipment):