[
  {
    "id": "test_base_shop_rates",
    "type": "shopkeeper_consumption_rates",
    "default_rate": 5,
    "junk_threshold": "10 cent",
    "rates": [
      { "item": "bow_saw", "rate": 2 },
      {
        "item": "bow_saw",
        "rate": 99,
        "condition": { "compare_string": [ "yes", { "npc_val": "bool_dinner_bow_saw_eater" } ] }
      },
      { "category": "currency", "rate": 10 },
      { "group": "test_event_item_spawn", "rate": 100 },
      { "group": "test_event_item_spawn", "category": "tools", "rate": 50 }
    ]
  },
  {
    "id": "test_shop_rates",
    "copy-from": "test_base_shop_rates",
    "type": "shopkeeper_consumption_rates",
    "extend": { "rates": [ { "item": "FMCNote", "rate": 25 } ] }
  },
  {
    "id": "test_blacklist",
    "type": "shopkeeper_blacklist",
    "entries": [ { "item": "bow_saw", "condition": { "compare_string": [ "yes", { "npc_val": "bool_bigotry_hates_bow_saws" } ] } } ]
  },
  {
    "type": "npc_class",
    "id": "test_npc_trader_class",
    "name": "test_npc_trader",
    "job_description": "I am testing bugs",
    "sells_belongings": false,
    "shopkeeper_consumption_rates": "test_shop_rates",
    "shopkeeper_item_group": [
      { "group": "test_event_item_spawn" },
      {
        "group": "test_tools_group",
        "condition": { "compare_string": [ "yes", { "u_val": "bool_test_tools_access" } ] }
      },
      {
        "group": "test_multitool_group",
        "strict": true,
        "condition": { "compare_string": [ "yes", { "u_val": "bool_test_multitool_access" } ] }
      }
    ],
    "shopkeeper_blacklist": "test_blacklist",
    "shopkeeper_price_rules": [
      {
        "item": "test_pants_fur",
        "markup": -100,
        "condition": { "compare_string": [ "yes", { "npc_val": "bool_preference_vegan" } ] }
      },
      { "item": "battery", "price": 100 }
    ],
    "restock_interval": "99 days"
  },
  {
    "type": "npc",
    "id": "test_npc_trader",
    "class": "test_npc_trader_class",
    "faction": "debuggers",
    "attitude": 1,
    "mission": 3,
    "chat": "TALK_TEST_START"
  }
]
