XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

chore(webui): slightly optimise cache & bandwidth usage (#4049)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4049 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

3ef2d957
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

5 个文件 +375 -368
Modified src/routes/webui.ts +5 -2
@@ -3,7 +3,7 @@ import path from "path";
3 3 import fs from "fs/promises";
4 4 import { repoDir, rootDir } from "../helpers/pathHelper.ts";
5 5 import { args } from "../helpers/commandLineArguments.ts";
6 import { config } from "../services/configService.ts";
6 import { config, type IWebuiConfig } from "../services/configService.ts";
7 7
8 8 const baseDir = args.dev ? repoDir : rootDir;
9 9
@@ -59,8 +59,11 @@ webuiRouter.get("/favicon.ico", async (_req, res) => {
59 59
60 60 // Serve config
61 61 webuiRouter.get("/webui/config.js", (_req, res) => {
62 const client_config: Pick<IWebuiConfig, "defaultLanguage"> = {
63 defaultLanguage: config.webui?.defaultLanguage
64 };
62 65 res.set("Content-Type", "text/javascript;charset=utf8");
63 res.send("webui_conf=" + JSON.stringify(config.webui ?? {}));
66 res.send("webui_conf=" + JSON.stringify(client_config));
64 67 });
65 68
66 69 // Serve warframe-riven-info
Modified src/services/configService.ts +8 -5
@@ -12,6 +12,13 @@ export interface IHubServer {
12 12 dtlsUnsupported?: boolean;
13 13 }
14 14
15 export interface IWebuiConfig {
16 enabled?: boolean;
17 adminOnly?: boolean;
18 defaultLanguage?: string;
19 nonAdminPermissions?: Record<string, boolean | Record<string, boolean>>;
20 }
21
15 22 export interface IConfig {
16 23 mongodbUrl: string;
17 24 logger: {
@@ -40,11 +47,7 @@ export interface IConfig {
40 47 skipTutorial?: boolean;
41 48 fullyStockedVendors?: boolean;
42 49 skipClanKeyCrafting?: boolean;
43 webui?: {
44 enabled?: boolean;
45 adminOnly?: boolean;
46 defaultLanguage?: string;
47 };
50 webui?: IWebuiConfig;
48 51 unfaithfulBugFixes?: {
49 52 ignore1999LastRegionPlayed?: boolean;
50 53 fixXtraCheeseTimer?: boolean;
Modified static/webui/index.html +1 -0
@@ -1843,6 +1843,7 @@
1843 1843 <script src="/webui/riven-tool/RivenParser.js"></script>
1844 1844 <script src="/webui/config.js"></script>
1845 1845 <script src="/webui/script.js"></script>
1846 <script src="/webui/script.importSamples.js" async defer></script>
1846 1847 <script src="/webui/libs/bootstrap.bundle.min.js"></script>
1847 1848 <script>
1848 1849 setTimeout(function() {
Added static/webui/script.importSamples.js +361 -0
@@ -0,0 +1,361 @@
1 window.importSamples = {
2 maxFocus: {
3 FocusUpgrades: [
4 {
5 ItemType: "/Lotus/Upgrades/Focus/Attack/AttackFocusAbility"
6 },
7 {
8 ItemType: "/Lotus/Upgrades/Focus/Attack/Stats/MoreAmmoFocusUpgrade",
9 Level: 3,
10 IsUniversal: true
11 },
12 {
13 ItemType: "/Lotus/Upgrades/Focus/Attack/Residual/PowerSnapFocusUpgrade",
14 Level: 3
15 },
16 {
17 ItemType: "/Lotus/Upgrades/Focus/Attack/Residual/PhysicalDamageFocusUpgrade",
18 Level: 3
19 },
20 {
21 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/CloakAttackChargeFocusUpgrade",
22 Level: 3
23 },
24 {
25 ItemType: "/Lotus/Upgrades/Focus/Attack/Stats/RegenAmmoFocusUpgrade",
26 Level: 3,
27 IsUniversal: true
28 },
29 {
30 ItemType: "/Lotus/Upgrades/Focus/Tactic/TacticFocusAbility"
31 },
32 {
33 ItemType: "/Lotus/Upgrades/Focus/Ward/WardFocusAbility"
34 },
35 {
36 ItemType: "/Lotus/Upgrades/Focus/Defense/DefenseFocusAbility"
37 },
38 {
39 ItemType: "/Lotus/Upgrades/Focus/Power/PowerFocusAbility"
40 },
41 {
42 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/KnockdownImmunityFocusUpgrade",
43 Level: 3
44 },
45 {
46 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/UnairuWispFocusUpgrade",
47 Level: 3
48 },
49 {
50 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/SunderingDissipationUpgrade",
51 Level: 3
52 },
53 {
54 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/MagneticExtensionUpgrade",
55 Level: 3
56 },
57 {
58 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/MagneticFieldFocusUpgrade",
59 Level: 3
60 },
61 {
62 ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/ArmourBuffFocusUpgrade",
63 Level: 3
64 },
65 {
66 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/ClearStaticOnKillFocusUpgrade",
67 Level: 3
68 },
69 {
70 ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/SecondChanceDamageBuffFocusUpgrade",
71 Level: 3,
72 IsUniversal: true
73 },
74 {
75 ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/SecondChanceFocusUpgrade",
76 Level: 3,
77 IsUniversal: true
78 },
79 {
80 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/InvulnerableReturnFocusUpgrade",
81 Level: 3
82 },
83 {
84 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/ConsecutivePowerUpgrade",
85 Level: 3
86 },
87 {
88 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/AttackEfficiencyFocusUpgrade",
89 Level: 3
90 },
91 {
92 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/GhostlyTouchUpgrade",
93 Level: 3
94 },
95 {
96 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/GhostWaveUpgrade",
97 Level: 3
98 },
99 {
100 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/ConsecutiveEfficienyUpgrade",
101 Level: 3
102 },
103 {
104 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ProjectionStretchUpgrade",
105 Level: 3,
106 IsUniversal: true
107 },
108 {
109 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ProjectionExecutionUpgrade",
110 Level: 3
111 },
112 {
113 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/FinisherTransferenceUpgrade",
114 Level: 3
115 },
116 {
117 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ComboAmpDamageFocusUpgrade",
118 Level: 3
119 },
120 {
121 ItemType: "/Lotus/Upgrades/Focus/Tactic/Residual/MeleeComboFocusUpgrade",
122 Level: 3
123 },
124 {
125 ItemType: "/Lotus/Upgrades/Focus/Tactic/Residual/MeleeXpFocusUpgrade",
126 Level: 3
127 },
128 {
129 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/LiftHitWaveUpgrade",
130 Level: 3
131 },
132 {
133 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/LiftHitDamageUpgrade",
134 Level: 3
135 },
136 {
137 ItemType: "/Lotus/Upgrades/Focus/Tactic/Stats/MoveSpeedFocusUpgrade",
138 Level: 3,
139 IsUniversal: true
140 },
141 {
142 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/SlamComboFocusUpgrade",
143 Level: 3
144 },
145 {
146 ItemType: "/Lotus/Upgrades/Focus/Power/Active/PowerFieldFocusUpgrade",
147 Level: 3
148 },
149 {
150 ItemType: "/Lotus/Upgrades/Focus/Power/Active/DisarmedEnergyUpgrade",
151 Level: 3
152 },
153 {
154 ItemType: "/Lotus/Upgrades/Focus/Power/Stats/EnergyPoolFocusUpgrade",
155 Level: 3,
156 IsUniversal: true
157 },
158 {
159 ItemType: "/Lotus/Upgrades/Focus/Power/Residual/EnergyOverTimeFocusUpgrade",
160 Level: 3
161 },
162 {
163 ItemType: "/Lotus/Upgrades/Focus/Power/Active/BlastSlowFocusUpgrade",
164 Level: 3
165 },
166 {
167 ItemType: "/Lotus/Upgrades/Focus/Power/Stats/EnergyRestoreFocusUpgrade",
168 Level: 3,
169 IsUniversal: true
170 },
171 {
172 ItemType: "/Lotus/Upgrades/Focus/Power/Residual/FreeAbilityCastsFocusUpgrade",
173 Level: 3
174 },
175 {
176 ItemType: "/Lotus/Upgrades/Focus/Power/Active/DisarmingProjectionUpgrade",
177 Level: 3
178 },
179 {
180 ItemType: "/Lotus/Upgrades/Focus/Power/Residual/SlowHeadshotDamageFocusUpgrade",
181 Level: 3
182 },
183 {
184 ItemType: "/Lotus/Upgrades/Focus/Power/Active/DashBubbleFocusUpgrade",
185 Level: 3
186 },
187 {
188 ItemType: "/Lotus/Upgrades/Focus/Defense/Stats/HealthRegenFocusUpgrade",
189 Level: 3,
190 IsUniversal: true
191 },
192 {
193 ItemType: "/Lotus/Upgrades/Focus/Defense/Residual/RadialXpFocusUpgrade",
194 Level: 3
195 },
196 {
197 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DefenseShieldFocusUpgrade",
198 Level: 3
199 },
200 {
201 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/CloakHealFocusUpgrade",
202 Level: 3
203 },
204 {
205 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DefenseShieldBreakFocusUpgrade",
206 Level: 3
207 },
208 {
209 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DashImmunityFocusUpgrade",
210 Level: 3
211 },
212 {
213 ItemType: "/Lotus/Upgrades/Focus/Defense/Residual/InstantReviveFocusUpgrade",
214 Level: 3
215 },
216 {
217 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/SonicDissipationUpgrade",
218 Level: 3
219 },
220 {
221 ItemType: "/Lotus/Upgrades/Focus/Defense/Stats/HealthMaxFocusUpgrade",
222 Level: 3,
223 IsUniversal: true
224 },
225 {
226 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/CloakHealOthersFocusUpgrade",
227 Level: 3
228 }
229 ]
230 },
231 accolades: {
232 Staff: false,
233 Founder: 4,
234 Guide: 2,
235 Moderator: true,
236 Partner: true,
237 Created: {
238 $date: {
239 $numberLong: "1356998400000"
240 }
241 },
242 Accolades: {
243 Heirloom: true
244 },
245 Counselor: true
246 },
247 maxStratos: {
248 BountyScore: 39
249 },
250 clearWishlist: {
251 Wishlist: []
252 },
253 clearLocPins: {
254 CustomMarkers: []
255 },
256 eidolonLocPins: {
257 CustomMarkers: [
258 {
259 tag: "EidolonPlains",
260 markerInfos: [
261 {
262 icon: "/Lotus/Interface/Icons/Markers/MiniMapEidolonFishmonger.png",
263 markers: [
264 {
265 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
266 color: 16711890,
267 label: "East QC",
268 x: 70.513519,
269 y: -247.81601,
270 z: -18.476288,
271 showInHud: true
272 },
273 {
274 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs56",
275 color: 16711890,
276 label: "Log Blink",
277 x: -50.438316,
278 y: -275.70209,
279 z: -88.562752,
280 showInHud: true
281 },
282 {
283 icon: "/Lotus/Interface/Icons/Markers/MiniMapEidolonFishmonger.png",
284 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
285 color: 16711680,
286 label: "Long Air",
287 x: 13.079987,
288 y: -311.91776,
289 z: -107.16344,
290 showInHud: true
291 },
292 {
293 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
294 color: 6874122,
295 label: "Mid Air",
296 x: -104.24564,
297 y: -310.20673,
298 z: 6.829391,
299 showInHud: true
300 },
301 {
302 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
303 color: 6874122,
304 label: "CL Air",
305 x: -75.868011,
306 y: -312.39841,
307 z: 63.519012,
308 showInHud: true
309 },
310 {
311 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs56",
312 color: 6874122,
313 label: "CR Air",
314 x: 94.204071,
315 y: -313.16812,
316 z: 55.651489,
317 showInHud: true
318 },
319 {
320 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
321 color: 16711890,
322 label: "Long Water Limb",
323 x: 12.869019,
324 y: -326.29846,
325 z: -87.977646,
326 showInHud: true
327 },
328 {
329 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
330 color: 16711890,
331 label: "Mid Water Limb",
332 x: -92.617157,
333 y: -330.29135,
334 z: 27.153122,
335 showInHud: true
336 },
337 {
338 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
339 color: 16711890,
340 label: "CL Water Limb",
341 x: -104.2038,
342 y: -331.92703,
343 z: 62.632507,
344 showInHud: true
345 },
346 {
347 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs56",
348 color: 16711890,
349 label: "CR Water Limb",
350 x: 105.64627,
351 y: -336.7074,
352 z: 85.621521,
353 showInHud: true
354 }
355 ]
356 }
357 ]
358 }
359 ]
360 }
361 };
Modified static/webui/script.js +0 -361
@@ -4828,367 +4828,6 @@ async function unlockAllSimarisResearchEntries() {
4828 4828 toast(loc(window.have_game_ws ? "code_succAdded" : "cheats_unlockSuccInventory"));
4829 4829 }
4830 4830
4831 const importSamples = {
4832 maxFocus: {
4833 FocusUpgrades: [
4834 {
4835 ItemType: "/Lotus/Upgrades/Focus/Attack/AttackFocusAbility"
4836 },
4837 {
4838 ItemType: "/Lotus/Upgrades/Focus/Attack/Stats/MoreAmmoFocusUpgrade",
4839 Level: 3,
4840 IsUniversal: true
4841 },
4842 {
4843 ItemType: "/Lotus/Upgrades/Focus/Attack/Residual/PowerSnapFocusUpgrade",
4844 Level: 3
4845 },
4846 {
4847 ItemType: "/Lotus/Upgrades/Focus/Attack/Residual/PhysicalDamageFocusUpgrade",
4848 Level: 3
4849 },
4850 {
4851 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/CloakAttackChargeFocusUpgrade",
4852 Level: 3
4853 },
4854 {
4855 ItemType: "/Lotus/Upgrades/Focus/Attack/Stats/RegenAmmoFocusUpgrade",
4856 Level: 3,
4857 IsUniversal: true
4858 },
4859 {
4860 ItemType: "/Lotus/Upgrades/Focus/Tactic/TacticFocusAbility"
4861 },
4862 {
4863 ItemType: "/Lotus/Upgrades/Focus/Ward/WardFocusAbility"
4864 },
4865 {
4866 ItemType: "/Lotus/Upgrades/Focus/Defense/DefenseFocusAbility"
4867 },
4868 {
4869 ItemType: "/Lotus/Upgrades/Focus/Power/PowerFocusAbility"
4870 },
4871 {
4872 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/KnockdownImmunityFocusUpgrade",
4873 Level: 3
4874 },
4875 {
4876 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/UnairuWispFocusUpgrade",
4877 Level: 3
4878 },
4879 {
4880 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/SunderingDissipationUpgrade",
4881 Level: 3
4882 },
4883 {
4884 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/MagneticExtensionUpgrade",
4885 Level: 3
4886 },
4887 {
4888 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/MagneticFieldFocusUpgrade",
4889 Level: 3
4890 },
4891 {
4892 ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/ArmourBuffFocusUpgrade",
4893 Level: 3
4894 },
4895 {
4896 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/ClearStaticOnKillFocusUpgrade",
4897 Level: 3
4898 },
4899 {
4900 ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/SecondChanceDamageBuffFocusUpgrade",
4901 Level: 3,
4902 IsUniversal: true
4903 },
4904 {
4905 ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/SecondChanceFocusUpgrade",
4906 Level: 3,
4907 IsUniversal: true
4908 },
4909 {
4910 ItemType: "/Lotus/Upgrades/Focus/Ward/Active/InvulnerableReturnFocusUpgrade",
4911 Level: 3
4912 },
4913 {
4914 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/ConsecutivePowerUpgrade",
4915 Level: 3
4916 },
4917 {
4918 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/AttackEfficiencyFocusUpgrade",
4919 Level: 3
4920 },
4921 {
4922 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/GhostlyTouchUpgrade",
4923 Level: 3
4924 },
4925 {
4926 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/GhostWaveUpgrade",
4927 Level: 3
4928 },
4929 {
4930 ItemType: "/Lotus/Upgrades/Focus/Attack/Active/ConsecutiveEfficienyUpgrade",
4931 Level: 3
4932 },
4933 {
4934 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ProjectionStretchUpgrade",
4935 Level: 3,
4936 IsUniversal: true
4937 },
4938 {
4939 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ProjectionExecutionUpgrade",
4940 Level: 3
4941 },
4942 {
4943 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/FinisherTransferenceUpgrade",
4944 Level: 3
4945 },
4946 {
4947 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ComboAmpDamageFocusUpgrade",
4948 Level: 3
4949 },
4950 {
4951 ItemType: "/Lotus/Upgrades/Focus/Tactic/Residual/MeleeComboFocusUpgrade",
4952 Level: 3
4953 },
4954 {
4955 ItemType: "/Lotus/Upgrades/Focus/Tactic/Residual/MeleeXpFocusUpgrade",
4956 Level: 3
4957 },
4958 {
4959 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/LiftHitWaveUpgrade",
4960 Level: 3
4961 },
4962 {
4963 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/LiftHitDamageUpgrade",
4964 Level: 3
4965 },
4966 {
4967 ItemType: "/Lotus/Upgrades/Focus/Tactic/Stats/MoveSpeedFocusUpgrade",
4968 Level: 3,
4969 IsUniversal: true
4970 },
4971 {
4972 ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/SlamComboFocusUpgrade",
4973 Level: 3
4974 },
4975 {
4976 ItemType: "/Lotus/Upgrades/Focus/Power/Active/PowerFieldFocusUpgrade",
4977 Level: 3
4978 },
4979 {
4980 ItemType: "/Lotus/Upgrades/Focus/Power/Active/DisarmedEnergyUpgrade",
4981 Level: 3
4982 },
4983 {
4984 ItemType: "/Lotus/Upgrades/Focus/Power/Stats/EnergyPoolFocusUpgrade",
4985 Level: 3,
4986 IsUniversal: true
4987 },
4988 {
4989 ItemType: "/Lotus/Upgrades/Focus/Power/Residual/EnergyOverTimeFocusUpgrade",
4990 Level: 3
4991 },
4992 {
4993 ItemType: "/Lotus/Upgrades/Focus/Power/Active/BlastSlowFocusUpgrade",
4994 Level: 3
4995 },
4996 {
4997 ItemType: "/Lotus/Upgrades/Focus/Power/Stats/EnergyRestoreFocusUpgrade",
4998 Level: 3,
4999 IsUniversal: true
5000 },
5001 {
5002 ItemType: "/Lotus/Upgrades/Focus/Power/Residual/FreeAbilityCastsFocusUpgrade",
5003 Level: 3
5004 },
5005 {
5006 ItemType: "/Lotus/Upgrades/Focus/Power/Active/DisarmingProjectionUpgrade",
5007 Level: 3
5008 },
5009 {
5010 ItemType: "/Lotus/Upgrades/Focus/Power/Residual/SlowHeadshotDamageFocusUpgrade",
5011 Level: 3
5012 },
5013 {
5014 ItemType: "/Lotus/Upgrades/Focus/Power/Active/DashBubbleFocusUpgrade",
5015 Level: 3
5016 },
5017 {
5018 ItemType: "/Lotus/Upgrades/Focus/Defense/Stats/HealthRegenFocusUpgrade",
5019 Level: 3,
5020 IsUniversal: true
5021 },
5022 {
5023 ItemType: "/Lotus/Upgrades/Focus/Defense/Residual/RadialXpFocusUpgrade",
5024 Level: 3
5025 },
5026 {
5027 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DefenseShieldFocusUpgrade",
5028 Level: 3
5029 },
5030 {
5031 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/CloakHealFocusUpgrade",
5032 Level: 3
5033 },
5034 {
5035 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DefenseShieldBreakFocusUpgrade",
5036 Level: 3
5037 },
5038 {
5039 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DashImmunityFocusUpgrade",
5040 Level: 3
5041 },
5042 {
5043 ItemType: "/Lotus/Upgrades/Focus/Defense/Residual/InstantReviveFocusUpgrade",
5044 Level: 3
5045 },
5046 {
5047 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/SonicDissipationUpgrade",
5048 Level: 3
5049 },
5050 {
5051 ItemType: "/Lotus/Upgrades/Focus/Defense/Stats/HealthMaxFocusUpgrade",
5052 Level: 3,
5053 IsUniversal: true
5054 },
5055 {
5056 ItemType: "/Lotus/Upgrades/Focus/Defense/Active/CloakHealOthersFocusUpgrade",
5057 Level: 3
5058 }
5059 ]
5060 },
5061 accolades: {
5062 Staff: false,
5063 Founder: 4,
5064 Guide: 2,
5065 Moderator: true,
5066 Partner: true,
5067 Created: {
5068 $date: {
5069 $numberLong: "1356998400000"
5070 }
5071 },
5072 Accolades: {
5073 Heirloom: true
5074 },
5075 Counselor: true
5076 },
5077 maxStratos: {
5078 BountyScore: 39
5079 },
5080 clearWishlist: {
5081 Wishlist: []
5082 },
5083 clearLocPins: {
5084 CustomMarkers: []
5085 },
5086 eidolonLocPins: {
5087 CustomMarkers: [
5088 {
5089 tag: "EidolonPlains",
5090 markerInfos: [
5091 {
5092 icon: "/Lotus/Interface/Icons/Markers/MiniMapEidolonFishmonger.png",
5093 markers: [
5094 {
5095 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
5096 color: 16711890,
5097 label: "East QC",
5098 x: 70.513519,
5099 y: -247.81601,
5100 z: -18.476288,
5101 showInHud: true
5102 },
5103 {
5104 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs56",
5105 color: 16711890,
5106 label: "Log Blink",
5107 x: -50.438316,
5108 y: -275.70209,
5109 z: -88.562752,
5110 showInHud: true
5111 },
5112 {
5113 icon: "/Lotus/Interface/Icons/Markers/MiniMapEidolonFishmonger.png",
5114 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
5115 color: 16711680,
5116 label: "Long Air",
5117 x: 13.079987,
5118 y: -311.91776,
5119 z: -107.16344,
5120 showInHud: true
5121 },
5122 {
5123 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
5124 color: 6874122,
5125 label: "Mid Air",
5126 x: -104.24564,
5127 y: -310.20673,
5128 z: 6.829391,
5129 showInHud: true
5130 },
5131 {
5132 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
5133 color: 6874122,
5134 label: "CL Air",
5135 x: -75.868011,
5136 y: -312.39841,
5137 z: 63.519012,
5138 showInHud: true
5139 },
5140 {
5141 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs56",
5142 color: 6874122,
5143 label: "CR Air",
5144 x: 94.204071,
5145 y: -313.16812,
5146 z: 55.651489,
5147 showInHud: true
5148 },
5149 {
5150 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
5151 color: 16711890,
5152 label: "Long Water Limb",
5153 x: 12.869019,
5154 y: -326.29846,
5155 z: -87.977646,
5156 showInHud: true
5157 },
5158 {
5159 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
5160 color: 16711890,
5161 label: "Mid Water Limb",
5162 x: -92.617157,
5163 y: -330.29135,
5164 z: 27.153122,
5165 showInHud: true
5166 },
5167 {
5168 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs66",
5169 color: 16711890,
5170 label: "CL Water Limb",
5171 x: -104.2038,
5172 y: -331.92703,
5173 z: 62.632507,
5174 showInHud: true
5175 },
5176 {
5177 anchorName: "/Layer255/Layer1/EPOutdoorZoneAttribs56",
5178 color: 16711890,
5179 label: "CR Water Limb",
5180 x: 105.64627,
5181 y: -336.7074,
5182 z: 85.621521,
5183 showInHud: true
5184 }
5185 ]
5186 }
5187 ]
5188 }
5189 ]
5190 }
5191 };
5192 4831 function setImportSample(key) {
5193 4832 $("#import-inventory").val(JSON.stringify(importSamples[key], null, 2));
5194 4833 }