Additional Metabolism

The Additional Metabolism plugin will add 3 new parameters to the player, which will diversify the game on your server.

Mentality:

increase after taking damage

recovery during sleep or taking pills

event when the limit is reached. The appearance of 3 immortal boars around the player that are visible only to him.

Sleep:

magnification occurs every second

recovery during sleep

event when the limit is reached. The player falls asleep for a while without being able to wake up on his own

Relieve yourself:

increase after eating

recovery after the player poops

event when the limit is reached. The player squats down and poops until he empties his stomach

API:

ChangeStamina(string userID, int value, string param);
(kidns of param: psyche/sleep/poop);

Additional Metabolism Config:

{
    "Offset from below": 0,
    "Offset to the right": 0,
    "Sleep chat command(The “sleep” button in UI is also clickable and sends the player to sleep)": "sleep",
    "Poop chat command(The “Poop” button in UI is also clickable)": "poop",
    "List of parameters (the bypass permission is needed to ignore the plugin [useful for admins])": {
        "additionalmetabolism.player": {
            "PSYCHE": {
                "Background color of psyche bar": "0.45 0.55 0.91 1.00",
                "Psyche per unit of take damage": 0.8,
                "Psyche bar limit": 100,
                "Psyche recovery during sleep": 0.15,
                "Comfort for psyche recovery (0-1)": 0.4,
                "Psyche recovery for custom item": 15.0,
                "Psyche recovery item shortname": "antiradpills",
                "Psyche recovery item skinid (0 = any)": 0,
                "Psyche value for disable event (less than limit)": 90.0,
                "Boar damage (Default 20)": 20.0,
                "Icon for the psyho bar": "https://i.imgur.com/ucB5j76.png",
                "The value after which the player's damage scale": 60.0,
                "Scale damage": 0.6
            },
            "SLEEP": {
                "Background color of sleep bar": "0.65 0.29 0.40 1.00",
                "Sleep bar limit": 350,
                "Go to sleep upon reaching the limit in seconds": 30,
                "Sleep per unit of time": 0.095,
                "Sleep recovery by N units per second": 0.5,
                "Icon for the sleeping bar": "https://i.imgur.com/vz0dts6.png",
                "Values after which the player will not be able to run": 250
            },
            "POOP": {
                "Background color of poop bar": "0.49 0.39 0.42 1.00",
                "Poop bar limit": 250,
                "Poop recovery per unit of poop": 20.0,
                "Food digestion time in seconds": 360,
                "Poop minimum value for start sleep": 40.0,
                "Poop delete time in seconds": 15,
                "Icon for the poop bar": "https://i.imgur.com/c9qDgq1.png",
                "List of items that are broken after the player gets diarrhea (shortname)": [
                    "pants",
                    "pants.shorts",
                    "wood.armor.pants",
                    "heavy.plate.pants",
                    "burlap.trousers",
                    "attire.hide.pants"
                ]
            }
        },
        "additionalmetabolism.vip": {
            "PSYCHE": {
                "Background color of psyche bar": "0.45 0.55 0.91 1.00",
                "Psyche per unit of take damage": 0.4,
                "Psyche bar limit": 100,
                "Psyche recovery during sleep": 0.25,
                "Comfort for psyche recovery (0-1)": 0.4,
                "Psyche recovery for custom item": 25.0,
                "Psyche recovery item shortname": "antiradpills",
                "Psyche recovery item skinid (0 = any)": 0,
                "Psyche value for disable event (less than limit)": 95.0,
                "Boar damage (Default 20)": 10.0,
                "Icon for the psyho bar": "https://i.imgur.com/ucB5j76.png",
                "The value after which the player's damage scale": 80.0,
                "Scale damage": 0.8
            },
            "SLEEP": {
                "Background color of sleep bar": "0.65 0.29 0.40 1.00",
                "Sleep bar limit": 350,
                "Go to sleep upon reaching the limit in seconds": 10,
                "Sleep per unit of time": 0.055,
                "Sleep recovery by N units per second": 1.5,
                "Icon for the sleeping bar": "https://i.imgur.com/vz0dts6.png",
                "Values after which the player will not be able to run": 300
            },
            "POOP": {
                "Background color of poop bar": "0.49 0.39 0.42 1.00",
                "Poop bar limit": 250,
                "Poop recovery per unit of poop": 40.0,
                "Food digestion time in seconds": 360,
                "Poop minimum value for start sleep": 40.0,
                "Poop delete time in seconds": 15,
                "Icon for the poop bar": "https://i.imgur.com/c9qDgq1.png",
                "List of items that are broken after the player gets diarrhea (shortname)": [
                    "pants",
                    "pants.shorts",
                    "wood.armor.pants",
                    "heavy.plate.pants",
                    "burlap.trousers",
                    "attire.hide.pants"
                ]
            }
        },
        "additionalmetabolism.bypass": {
            "PSYCHE": {
                "Background color of psyche bar": null,
                "Psyche per unit of take damage": 0.0,
                "Psyche bar limit": 0,
                "Psyche recovery during sleep": 0.0,
                "Comfort for psyche recovery (0-1)": 0.0,
                "Psyche recovery for custom item": 0.0,
                "Psyche recovery item shortname": "antiradpills",
                "Psyche recovery item skinid (0 = any)": 0,
                "Psyche value for disable event (less than limit)": 0.0,
                "Boar damage (Default 20)": 0.0,
                "Icon for the psyho bar": null,
                "The value after which the player's damage scale": 0.0,
                "Scale damage": 0.0
            },
            "SLEEP": {
                "Background color of sleep bar": null,
                "Sleep bar limit": 0,
                "Go to sleep upon reaching the limit in seconds": 0,
                "Sleep per unit of time": 0.0,
                "Sleep recovery by N units per second": 0.0,
                "Icon for the sleeping bar": null,
                "Values after which the player will not be able to run": 0
            },
            "POOP": {
                "Background color of poop bar": null,
                "Poop bar limit": 0,
                "Poop recovery per unit of poop": 0.0,
                "Food digestion time in seconds": 0,
                "Poop minimum value for start sleep": 0.0,
                "Poop delete time in seconds": 0,
                "Icon for the poop bar": null,
                "List of items that are broken after the player gets diarrhea (shortname)": null
            }
        }
    }
}

Lang:

{
    "CM_UI_STATE": "You are tired",
    "CM_UI_SLEEP": "SLEEP",
    "CM_UI_POOP": "POOP",
    "CM_UI_INFO": "INFO",
    "CM_UI_ADDITIONALMETA": "ADDITIONAL METABOLISM",
    "CM_UI_CHANGES": "CHANGES:",
    "CM_UI_DESCRIPTION": "This modification adds 3 additional metabolism stats for you, which will complicate your survival process in this wonderful game!",
    "CM_UI_CHANGE_LIST": "• Mind - status that reflects your mental state. Increases when you take damage. When you reach the maximum value, you begin to hallucinate, from which you can die. Can be reduced if you go to bed or use pillsn• Sleep - status indicating your desire to sleep. If the maximum reaches you, you will immediately fall to the ground and fall asleep, and you will not be able to wake up until you get enough sleep. You can reduce it with sleep (it decreases gradually). Click on the Sleep button to go to bedn• Digestion - status displaying the fullness of your intestines. At the maximum setting, you will immediately start defecating, which takes some time. You can empty your bowels in advance by pressing the POOP button."
}

Leave a Comment