[
  {
    "type": "ITEM",
    "category": "currency",
    "id": "denarius",
    "name": { "str": "denarius", "str_pl": "denarii" },
    "description": "Each of these mithril coins has a profile of Valzain, and strangely each of these coins is defaced in some way.",
    "price": "25 USD",
    "price_postapoc": "2 cent",
    "weight": "1 g",
    "volume": "1 ml",
    "to_hit": -3,
    "color": "light_gray",
    "symbol": "$",
    "flags": [ "COIN_SHAPED" ],
    "material": [ "mithril_metal" ],
    "use_action": {
      "type": "effect_on_conditions",
      "description": "Further deface the coin",
      "effect_on_conditions": [
        {
          "id": "EOC_REVEAL_ROUTE_TO_FORGE_OF_WONDERS",
          "//": "We must start our search from a road, otherwise the route reveal will fail. For whatever reason.",
          "condition": { "u_near_om_location": "road" },
          "effect": [
            {
              "u_location_variable": { "context_val": "forge_location" },
              "target_params": { "om_terrain": "forge_x2y2z1", "z": 0 }
            },
            { "reveal_map": { "context_val": "forge_location" }, "radius": 4 },
            {
              "u_location_variable": { "context_val": "current_location_nearest_road" },
              "target_params": { "om_terrain": "road", "search_range": 3, "random": true, "z": 0 }
            },
            {
              "u_message": "You scratch your nails against the coin like so many before you, and feel Valzain's tears.  He longingly cries for somewhere that is not here, and now you know where.",
              "type": "good"
            },
            {
              "reveal_route": { "context_val": "current_location_nearest_road" },
              "target_var": { "context_val": "forge_location" },
              "radius": 0,
              "road_only": false
            }
          ],
          "false_effect": [
            {
              "u_message": "You rub the scratches on the coin, but leave no mark.  Oh, would-be traveller, how can you wear upon his visage like the wagon wheels upon the roads?",
              "type": "mixed"
            }
          ]
        }
      ]
    }
  }
]
