'Multiplier' for food loss

Discussion in 'Plugin Development' started by Samthelord1, Feb 1, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Samthelord1

    Hey, I've been thinking about a plugin for 1.7 which multiples your food level so that it doesn't drop down so low, I thought of how I could do this, and I thought that I could listen for food loss, cancel it and add 0.25 onto an integer which defaults at 0, then everytime the food level changes it adds another 25, until it reaches 50 and foodlevel is set to -1 1, -2 etc. Would this work or would it be too buggy?
     
  2. Offline

    TheDummy

    I could see this working. It shouldn't bug out if you do it correctly. Sorry for such a vague answer, but without hard code it's hard to say if something will be buggy.
     
  3. Offline

    Samthelord1

  4. Offline

    Samthelord1

Thread Status:
Not open for further replies.

Share This Page