<filename>item_choice_definition/weapon_choices_values/knive_choices.py
import tcod as libtcod
from components.equipment import EquipmentSlots
from components.equippable import Equippable
from entity import Entity


def get_knife_choices(item_choice,wp_en,x,y,disp_name):
    item = None
    if item_choice == 'Sickle'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=3)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Orcish Dagger'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Dagger'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Athame'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Kris Knife'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Grimtooth'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)

    return item

<filename>item_choice_definition/weapon_choices_values/knive_choices.py
import tcod as libtcod
from components.equipment import EquipmentSlots
from components.equippable import Equippable
from entity import Entity


def get_knife_choices(item_choice,wp_en,x,y,disp_name):
    item = None
    if item_choice == 'Sickle'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=3)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Orcish Dagger'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Dagger'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Athame'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Kris Knife'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)
    elif item_choice == 'Grimtooth'+wp_en:
        equippable_component = Equippable(EquipmentSlots.MAIN_HAND, power_bonus=1)
        item = Entity(x, y, ',', libtcod.black, disp_name, equippable=equippable_component)

    return item
