From 90f82d0e0370069acffd9ae3d2315024998d9e91 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 2 Jan 2024 19:12:11 +0000 Subject: [PATCH] Update map linkages --- project/assets/database/locations/base.json | 75 ++++++++------------- project/src/models/spt/server/ILocations.ts | 1 + 2 files changed, 30 insertions(+), 46 deletions(-) diff --git a/project/assets/database/locations/base.json b/project/assets/database/locations/base.json index cc24b0c8..61834556 100644 --- a/project/assets/database/locations/base.json +++ b/project/assets/database/locations/base.json @@ -1,49 +1,32 @@ { "locations": {}, - "paths": [ - { - "Source": "5704e64ad2720bb55b8b456e", - "Destination": "5714dc692459777137212e12" - }, - { - "Source": "5714dc692459777137212e12", - "Destination": "5714dc342459777137212e0b" - }, - { - "Source": "5714dc342459777137212e0b", - "Destination": "5714dbc024597771384a510d" - }, - { - "Source": "5714dbc024597771384a510d", - "Destination": "56f40101d2720b2a4d8b45d6" - }, - { - "Source": "56f40101d2720b2a4d8b45d6", - "Destination": "55f2d3fd4bdc2d5f408b4567" - }, - { - "Source": "55f2d3fd4bdc2d5f408b4567", - "Destination": "5704e5fad2720bc05b8b4567" - }, - { - "Source": "55f2d3fd4bdc2d5f408b4567", - "Destination": "5704e3c2d2720bac5b8b4567" - }, - { - "Source": "5704e3c2d2720bac5b8b4567", - "Destination": "5704e47ed2720bb35b8b4568" - }, - { - "Source": "5704e47ed2720bb35b8b4568", - "Destination": "5704e4dad2720bb55b8b4567" - }, - { - "Source": "5704e4dad2720bb55b8b4567", - "Destination": "5704e554d2720bac5b8b456e" - }, - { - "Source": "5704e554d2720bac5b8b456e", - "Destination": "5704e5a4d2720bb45b8b4567" - } - ] + "paths": [{ + "Source": "653e6760052c01c1c805532f", + "Destination": "5714dc692459777137212e12" + }, { + "Source": "5714dc692459777137212e12", + "Destination": "5714dbc024597771384a510d" + }, { + "Source": "5714dbc024597771384a510d", + "Destination": "56f40101d2720b2a4d8b45d6" + }, { + "Source": "56f40101d2720b2a4d8b45d6", + "Destination": "55f2d3fd4bdc2d5f408b4567" + }, { + "Source": "55f2d3fd4bdc2d5f408b4567", + "Destination": "5704e3c2d2720bac5b8b4567" + }, { + "Source": "5704e3c2d2720bac5b8b4567", + "Destination": "5704e5fad2720bc05b8b4567" + }, { + "Source": "5704e5fad2720bc05b8b4567", + "Destination": "5704e4dad2720bb55b8b4567" + }, { + "Source": "5704e4dad2720bb55b8b4567", + "Destination": "5704e554d2720bac5b8b456e" + }, { + "Source": "5704e554d2720bac5b8b456e", + "Destination": "5704e5a4d2720bb45b8b4567" + } + ] } \ No newline at end of file diff --git a/project/src/models/spt/server/ILocations.ts b/project/src/models/spt/server/ILocations.ts index 2606ea34..194c6170 100644 --- a/project/src/models/spt/server/ILocations.ts +++ b/project/src/models/spt/server/ILocations.ts @@ -20,6 +20,7 @@ export interface ILocations terminal?: ILocationData; town?: ILocationData; woods?: ILocationData; + /** Holds a mapping of the linkages between locations on the UI */ base?: ILocationsBase; }