from django.urls import path

from .views import (
    character_create,
    character_detail,
    home,
    inventory_view,
    item_detail,
    quest_detail,
    quest_list,
    story_view,
)

urlpatterns = [
    path("", home, name="home"),
    path("character/create/", character_create, name="character_create"),
    path("character/<int:pk>/", character_detail, name="character_detail"),
    path("story/", story_view, name="story"),
    path("quests/", quest_list, name="quest_list"),
    path("quests/<int:pk>/", quest_detail, name="quest_detail"),
    path("inventory/", inventory_view, name="inventory"),
    path("inventory/item/<int:pk>/", item_detail, name="item_detail"),
]
