# Path: omnitool/database.py
# def get_custom_db(txt):
# def parse():


from omnitool.database import tiles
config = {
    "name": "Tombstone counter",  # plugin name
    "type": "receiver",  #plugin type
    "description": ["counts tombstones in a world"]  #description
}



class Receiver():  # required class to be called by plugin manager
    def __init__(self):  #do any initialization stuff

# Path: omnitool/database.py
# def get_custom_db(txt):
# def parse():


# Path: plugins/tombstone.py
from omnitool.database import tiles

config = {
    "name": "Tombstone counter",  # plugin name
    "type": "receiver",  #plugin type
    "description": ["counts tombstones in a world"]  #description
}



class Receiver():  # required class to be called by plugin manager
    def __init__(self):  #do any initialization stuff

        self.tile_id = tiles.index("Grave Marker")  #we grab the ID of tombstone from database