Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DefaultDatas.js #85

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading