Skip to content

Commit 507d9de

Browse files
authored
Merge pull request #62 from thaddeus/btr-routes
Btr routes
2 parents 1cf6248 + 53a83ae commit 507d9de

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/unlock-on-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: unlock on merge
19-
uses: github/branch-deploy@v10
19+
uses: github/branch-deploy@v11
2020
id: unlock-on-merge
2121
with:
2222
unlock_on_merge_mode: "true" # <-- indicates that this is the "Unlock on Merge Mode" workflow

resolvers/mapResolver.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ export default {
114114
return context.data.worker.map.getLocale(data.name, context, info);
115115
},
116116
},
117+
MapPositionNamed: {
118+
name(data, args, context, info) {
119+
return context.data.worker.map.getLocale(data.name, context, info);
120+
},
121+
},
117122
MapSwitch: {
118123
/*door(data, args, context) {
119124

schema-static.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ type Map {
824824
lootLoose: [LootLoosePosition]
825825
stationaryWeapons: [StationaryWeaponPosition]
826826
artillery: MapArtillerySettings
827+
btrStops: [MapPositionNamed]
827828
#svg: MapSvg
828829
}
829830
@@ -879,6 +880,13 @@ type MapPosition {
879880
z: Float!
880881
}
881882
883+
type MapPositionNamed {
884+
name: String
885+
x: Float!
886+
y: Float!
887+
z: Float!
888+
}
889+
882890
type MapSpawn {
883891
zoneName: String
884892
position: MapPosition!

0 commit comments

Comments
 (0)