47 lines
967 B
JSON

[
{
"name": "room-amenities",
"patterns": [
{
"pattern": "^(.*) \\[([^]]+)\\]$",
"type": "regex"
}
],
"script": "lotj.mapper.checkAmenityLine(matches[2], matches[3])"
},
{
"name": "invalid-dir",
"patterns": [
{
"pattern": "^Alas, you cannot go that way.$",
"type": "regex"
},
{
"pattern": "^The .* is closed.$",
"type": "regex"
},
{
"pattern": "^You can't go that way,",
"type": "regex"
},
{
"pattern": "^You can't do that sitting down.$",
"type": "regex"
},
{
"pattern": "^Nah... You feel too relaxed...$",
"type": "regex"
},
{
"pattern": "^In your dreams, or what\\?$",
"type": "regex"
},
{
"pattern": "^That room is private right now.$",
"type": "regex"
}
],
"script": "lotj.mapper.popMoveDir()"
}
]