const print = console.log const data = require("../data.js") var w = 1275 var h = 2475 var m = "../map75.png" print(` `) for (let id in data.ROADS) { id = id | 0 let a = (id / 100) | 0 let b = id % 100 let x = (data.TOWNS[a].layout.x + data.TOWNS[b].layout.x) >> 1 let y = (data.TOWNS[a].layout.y + data.TOWNS[b].layout.y) >> 1 let label = data.TOWNS[a].name + " / " + data.TOWNS[b].name print(``) } print(``)