From f476ed3bc53aa0efc971ddec8a05ae715d3965ef Mon Sep 17 00:00:00 2001 From: Kue Kering <127606753+Rangerhitam12@users.noreply.github.com> Date: Sat, 8 Jun 2024 16:19:39 +0700 Subject: [PATCH] Update DefaultDatas.js --- web/DefaultDatas.js | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/web/DefaultDatas.js b/web/DefaultDatas.js index 47ecfec..5ccc361 100644 --- a/web/DefaultDatas.js +++ b/web/DefaultDatas.js @@ -1,4 +1,4 @@ -import { ArmorIcon, DrinkIcon, FoodIcon, HealthIcon, OxygenIcon, StaminaIcon } from "./src/assets/Icons"; +import { ArmorIcon, DrinkIcon, FoodIcon, HealthIcon, OxygenIcon, StaminaIcon, StressIcon, DrunkIcon } from "./src/assets/Icons"; let defaultConfig = { ServerLogo: "", @@ -29,6 +29,7 @@ const progressColors = { foodBar: "yellow", oxygenBar: "green", staminaBar: "purple", + stressBar: "orange" }; const vehDefaultData = { @@ -64,6 +65,7 @@ const progressLevels = { foodBar: 80, oxygenBar: 100, staminaBar: 100, + stressBar: 50, // Tambahkan nilai sesuai kebutuhan }; const defaultIndicators = { @@ -128,6 +130,18 @@ const progressDefaultCircles = [ color: "green", icon: StaminaIcon, }, + { + name: "stressBar", + progressLevel: 100, + color: "orange", + icon: StressIcon, // Pastikan Anda memiliki ikon untuk stress + }, + { + name: "drunkBar", + progressLevel: 100, + color: "purple", + icon: DrunkIcon, // Pastikan Anda memiliki ikon untuk drunk + }, ]; const speedoDefaultColors = [ @@ -256,6 +270,14 @@ const allColors = { name: "staminaBar", color: "purple", }, + { + name: "stressBar", + color: "orange", + }, + { + name: "drunkBar", + color: "pink", + }, ], Speedo: [ {