Skip to content

Commit

Permalink
Update DefaultDatas.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangerhitam12 authored Jun 8, 2024
1 parent bd38251 commit f476ed3
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion web/DefaultDatas.js
Original file line number Diff line number Diff line change
@@ -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: "",
Expand Down Expand Up @@ -29,6 +29,7 @@ const progressColors = {
foodBar: "yellow",
oxygenBar: "green",
staminaBar: "purple",
stressBar: "orange"
};

const vehDefaultData = {
Expand Down Expand Up @@ -64,6 +65,7 @@ const progressLevels = {
foodBar: 80,
oxygenBar: 100,
staminaBar: 100,
stressBar: 50, // Tambahkan nilai sesuai kebutuhan
};

const defaultIndicators = {
Expand Down Expand Up @@ -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 = [
Expand Down Expand Up @@ -256,6 +270,14 @@ const allColors = {
name: "staminaBar",
color: "purple",
},
{
name: "stressBar",
color: "orange",
},
{
name: "drunkBar",
color: "pink",
},
],
Speedo: [
{
Expand Down

0 comments on commit f476ed3

Please sign in to comment.