![gpt-engineer-app[bot]](/assets/img/avatar_default.png)
- Added "connectsTo" to JSON data for connections. - Updated region nodes to be rounded oblongs. - Updated the GalaxyMap and RegionMap to render connections.
25 lines
425 B
JSON
25 lines
425 B
JSON
|
|
[
|
|
{
|
|
"solarSystemName": "Kador Prime",
|
|
"x": "200",
|
|
"y": "180",
|
|
"security": 0.8,
|
|
"connectsTo": ["Zirsem", "Thebeka"]
|
|
},
|
|
{
|
|
"solarSystemName": "Zirsem",
|
|
"x": "350",
|
|
"y": "250",
|
|
"security": 0.2,
|
|
"connectsTo": ["Kador Prime", "Thebeka"]
|
|
},
|
|
{
|
|
"solarSystemName": "Thebeka",
|
|
"x": "150",
|
|
"y": "320",
|
|
"security": -0.2,
|
|
"connectsTo": ["Kador Prime", "Zirsem"]
|
|
}
|
|
]
|