From a58f6847e08ae01478e946a98869cbcf8de7de4a Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 27 Dec 2024 00:01:14 +0000 Subject: [PATCH] Added dogtag data to profiles --- .../assets/database/templates/profiles.json | 54 ++++++++++++------- project/src/controllers/ProfileController.ts | 1 + .../src/models/eft/common/tables/IBotBase.ts | 1 + .../eft/profile/IGetOtherProfileResponse.ts | 1 + 4 files changed, 39 insertions(+), 18 deletions(-) diff --git a/project/assets/database/templates/profiles.json b/project/assets/database/templates/profiles.json index c8be863d..d50284eb 100644 --- a/project/assets/database/templates/profiles.json +++ b/project/assets/database/templates/profiles.json @@ -16,7 +16,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731c8bafff850080488bb" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -2702,7 +2703,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731d1170146228c0d222a" }, "Encyclopedia": { "5447a9cd4bdc2dbd208b4567": false, @@ -5588,7 +5590,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731c8bafff850080488bb" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -8833,7 +8836,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731d1170146228c0d222a" }, "Encyclopedia": { "5447a9cd4bdc2dbd208b4567": false, @@ -12187,7 +12191,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731c8bafff850080488bb" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -15890,7 +15895,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731d1170146228c0d222a" }, "Encyclopedia": { "5447a9cd4bdc2dbd208b4567": false, @@ -19800,7 +19806,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "6746fd09bafff85008048838" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -23556,7 +23563,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "67471938bafff850080488b7" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -27458,7 +27466,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "67471928d17d6431550563b5" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -31953,7 +31962,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "6747193f170146228c0d2226" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -36654,7 +36664,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "67471928d17d6431550563b5" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -37633,7 +37644,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "6747193f170146228c0d2226" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -38613,7 +38625,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674dbf593bee1152d407f005" }, "Encyclopedia": { "5447ac644bdc2d6c208b4567": true, @@ -41753,7 +41766,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674dbf593bee1152d407f005" }, "Encyclopedia": { "5447ac644bdc2d6c208b4567": true, @@ -44880,7 +44894,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "67471928d17d6431550563b5" }, "Encyclopedia": { "5447ac644bdc2d6c208b4567": true, @@ -48287,7 +48302,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "6747193f170146228c0d2226" }, "Encyclopedia": { "5447ac644bdc2d6c208b4567": true, @@ -51686,7 +51702,8 @@ "Body": "5cc0858d14c02e000c6bea66", "Feet": "5cc085bb14c02e000e67a5c5", "Hands": "5cc0876314c02e000c6bea6b", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731c8bafff850080488bb" }, "Encyclopedia": { "5448bd6b4bdc2dfc2f8b4569": false, @@ -52653,7 +52670,8 @@ "Body": "5cde95d97d6c8b647a3769b0", "Feet": "5cde95ef7d6c8b04713c4f2d", "Hands": "5cde95fa7d6c8b04737c2d13", - "Head": "__REPLACEME__" + "Head": "__REPLACEME__", + "DogTag": "674731d1170146228c0d222a" }, "Encyclopedia": { "5447a9cd4bdc2dbd208b4567": false, diff --git a/project/src/controllers/ProfileController.ts b/project/src/controllers/ProfileController.ts index a5e74d2c..20b86606 100644 --- a/project/src/controllers/ProfileController.ts +++ b/project/src/controllers/ProfileController.ts @@ -432,6 +432,7 @@ export class ProfileController { body: playerPmc.Customization.Body, feet: playerPmc.Customization.Feet, hands: playerPmc.Customization.Hands, + dogtag: playerPmc.Customization.DogTag, }, skills: playerPmc.Skills, equipment: { diff --git a/project/src/models/eft/common/tables/IBotBase.ts b/project/src/models/eft/common/tables/IBotBase.ts index 3aa65f1c..880c1e95 100644 --- a/project/src/models/eft/common/tables/IBotBase.ts +++ b/project/src/models/eft/common/tables/IBotBase.ts @@ -126,6 +126,7 @@ export interface ICustomization { Body: string; Feet: string; Hands: string; + DogTag: string; } export interface IHealth { diff --git a/project/src/models/eft/profile/IGetOtherProfileResponse.ts b/project/src/models/eft/profile/IGetOtherProfileResponse.ts index 8a96c38e..9585a87c 100644 --- a/project/src/models/eft/profile/IGetOtherProfileResponse.ts +++ b/project/src/models/eft/profile/IGetOtherProfileResponse.ts @@ -29,6 +29,7 @@ export interface IOtherProfileCustomization { body: string; feet: string; hands: string; + dogtag: string; } export interface IOtherProfileEquipment {