Giter Club home page Giter Club logo

redm-metabolism's Introduction

RedM-Metabolism (v1.2.0)

 Adds a couple new status effects and gives your citizens reason to eat and drink

Requirements

Discord

If you need any information about my script,
if you found a bug, if you have an idea for the
next version, or if you simply need some help.
Feel free to join our Discord

Framework

Currently, this script only works with VORP.
In the near future this script will also be
compatible with RedEmRP.

Description

Every second your hunger and thirst will drop           
according to your moving status, and the settings       
set in the config. If you are running you use more     
water and food than when your idle, same thing for     
walking. Once your hunger or thirst gets lower then     
the set minimum threshold, you start to take damage   
to the healths inner core. Once the heaths inner core   
has been depleted, you start to take damage to your     
healths outer core. This is also the moment when you   
start to receive warnings about your vitals.            

Features

  • Easy to configure config.
  • Very Customizable
  • Lower food and/or thirst when running.
  • Lower food and/or thirst when walking.
  • Lower food and/or thirst when standing idle.
  • Set lower or higher value for hunger
  • Set lower or higher value for thirst
  • Set lower or higher value for Stamina
  • Boost Stamina outer core (Gold)
  • Boost Stamina inner core (Gold)

Events

TriggerEvent('DevDokus:Metabolism:C:Hunger', value)
TriggerEvent('DevDokus:Metabolism:C:Thirst', value)
TriggerEvent('DevDokus:Metabolism:C:Health', value)
TriggerEvent('DevDokus:Metabolism:C:Stamina', value)
TriggerEvent('DevDokus:Metabolism:C:StaminaInner', value)
TriggerEvent('DevDokus:Metabolism:C:StaminaOuter', value)

Disclaimer

Although the basics of this plugin are finished,
I am still working on expanding it in the coming
months. If you want to be able to upgrade to the
latest update, I would recommend leaving this   
script unchanged. If you make changes, you have 
to redo these changes if you update to the latest
version of this script!                         

Other than that you are free to use this script 
and make changes to it. Just make sure you put   
my name and GitHub link in your upload.         

Have fun everyone :)

Credits

SirFreddie For the hud we use.

My other RedM scripts

redm-metabolism's People

Contributors

devdokus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

redm-metabolism's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.