(Underdepths) Prepare for final pass

This commit is contained in:
AlexKucera committed 2026-08-14 09:56:00 +02:00
1 parent 2eb2a44fa9
commit ef28a370fd
53 files changed
-5020

No files matched your search

-22
View File
@@ -1,22 +0,0 @@
"""Item entity: identity + effect/equipment payload.
Matches the tests/smoke.py contract: x, y, kind, name, category, stats(dict).
``blocks`` defaults False because items share the floor's entity list with
enemies, and the AI blocker check treats a missing ``blocks`` as True — an item
without this field would wrongly block movement.
"""
from __future__ import annotations
from dataclasses import dataclass, field
@dataclass(slots=True)
class Item:
x: int = 0
y: int = 0
kind: str = ""
name: str = ""
category: str = ""
stats: dict = field(default_factory=dict)
sprite_key: str = ""
blocks: bool = False