Source code for nqp.world_elements.item
import dataclasses
from typing import Dict, List
import snecs
[docs]@dataclasses.dataclass
class ItemData:
"""
Schema for the YAML Item data files
"""
name: str
is_signature: bool
effects: List[Dict[str, str]]