mapcomplete/Customizations/Questions/bike/StationChain.ts
2020-07-16 15:29:50 +02:00

17 lines
579 B
TypeScript

import {TagRenderingOptions} from "../../TagRendering";
import {Tag} from "../../../Logic/TagsFilter";
export default class StationChain extends TagRenderingOptions {
constructor() {
super({
priority: 5,
question: "Does this bike station have a special tool to repair your bike chain?",
mappings: [
{k: new Tag("service:bicycle:chain_tool", "yes"), txt: "There is a chain tool."},
{k: new Tag("service:bicycle:chain_tool", "no"), txt: "There is no chain tool."},
]
});
}
}