{
  "display": {
    "icon": {
      "item": "minecraft:book"
    },
    "title": "New in Town",
    "description": "Obtain a town charter by collecting raw materials.",
    "frame": "task",
	"background": "minecraft:textures/block/oak_planks.png",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "rewards": {
    "function": "nitk:getbook"
  },
  "criteria": {
    "get-log": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "tag": "minecraft:logs"
          }
        ]
      }
    }
  }
}