Git Product home page Git Product logo

fred_metabolism_free's Introduction

Fred Metabolism

This is my edit of kamelzarandah edit of spaghetti_metabolismo made by Malik. In this edit you will be able to create consumables. Each one can affect player cores, increasing stamina or health and even overpowers (gold cores). You have some items created as an example. This script works with spaghetti_hud, i added it in case you don't have it i also renamed it to make some functions work properly. This is a script for RedM and VORP framework.

IMPORTANT: USE THE HUD I UPLOADED TO MAKE IT WORK CORRECTLY.

SUPER IMPORTANT: IF YOU HAVE ANY CONSUMABLE ALREADY REGISTERED YOU WILL HAVE TO DETELE IT SINCE THIS SCRIPT REGISTER THOSE AUTOMATICALLY, THAT MAY CAUSE ISSUES WITH THE SCRIPT.

I WILL NOT SUPPORT THIS SCRIPT ANYMORE, YOU CAN CHECK THE FULL VERSION ON THIS DISCORD! https://discord.gg/rdpZH9vcPX

Hope it helps!

Content

  • Easy way to configure your consumables.
  • Weather effect on metabolism depending if it is cold or hot.
  • Multiple core effects and Gold overpowers.
  • Example of consumables on the Config file.
  • Many configs to play with.

Event

Use

TriggerEvent("fred:consume", hunger, thirst, innercorestamina, innercorestaminagold, outercorestaminagold, innercorehealth, innercorehealthgold, outercorehealthgold)

This will work on any other resource, it is useful if you want to make a specific change on any value.

TODO:

  • Add animation for consuming.
  • Config.lua file for easy configuration.

CHANGELOG:

18/01/21 - Corrected some notification issues and name display not showing up correctly.
         - Removed Outer Core Health comments on config.lua
22/01/21 - Added event "fred:consume". You can use this in any other script to change the metabolism values. Read the section Event.

fred_metabolism_free's People

Contributors

sirfreddie avatar

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.